Skip to content

Commit

Permalink
Replace favicon (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
sivayogasubramanian authored Oct 26, 2022
2 parents 8caa35d + 258d064 commit bef6b58
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 4 deletions.
9 changes: 5 additions & 4 deletions frontend/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@ import { Head, Html, Main, NextScript } from 'next/document';
export default function Document() {
const PUBLIC_URL = process.env.NEXT_PUBLIC_BASE_CLIENT_URL;

const websiteDescription =
'Giving Coupons aims to increase the fundraising ROI on charitable donations and raise awareness about charities that the donor wishes to support by giving out donation coupons. Recipients of the coupon get to decide which charity receives the money specified and can choose to top it up with their own money. The end goal of Giving Coupons is to encourage more Singaporeans to donate.';

return (
<Html lang="en">
<Head>
<link rel="icon" href={`${PUBLIC_URL}/favicon.ico`} />
<meta name="theme-color" content="#000000" />
<meta property="description" content={`${websiteDescription}`} />
<meta property="og:title" content="Giving Coupons" />
<meta property="og:type" content="website" />
<meta property="og:url" content={PUBLIC_URL} />
<meta property="og:image" content={`${PUBLIC_URL}/og-giving-coupons.png`} />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta
property="og:description"
content="Giving Coupons aims to increase the fundraising ROI on charitable donations and raise awareness about charities that the donor wishes to support by giving out donation coupons. Recipients of the coupon get to decide which charity receives the money specified, and can choose to top it up with their own money. The end goal of Giving Coupons is to encourage more Singaporeans to donate."
/>
<meta property="og:description" content={`${websiteDescription}`} />
<meta property="og:site_name" content="Giving Coupons" />
<meta name="twitter:card" content="summary_large_image" />
</Head>
Expand Down
Binary file added frontend/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions frontend/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Giving Coupons",
"short_name": "Giving Coupons",
"icons": [
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone",
"scope": "/",
"start_url": "/"
}

0 comments on commit bef6b58

Please sign in to comment.