Skip to content

Commit

Permalink
🔧 Add metadata and viewport tags
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Apr 25, 2024
1 parent 07666f1 commit 1b520cd
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
Binary file removed src/app/favicon.ico
Binary file not shown.
24 changes: 23 additions & 1 deletion src/app/foundation/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Layout } from '@/app/holdings/components/Layout'
import { type Metadata } from 'next'
import type { Metadata, Viewport } from 'next'

export const viewport: Viewport = {
themeColor: '#0ca5e9',
}

export const metadata: Metadata = {
title: {
Expand All @@ -8,6 +12,24 @@ export const metadata: Metadata = {
},
description:
'At Chowdhary.org, we are a nonprofit harnessing the power of technology to open doors to a better future.',
icons: [
{ rel: 'apple-touch-icon', sizes: '180x180', url: '/apple-touch-icon.png' },
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
url: '/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
url: '/favicon-16x16.png',
},
{ rel: 'manifest', url: '/site.webmanifest' },
{ rel: 'mask-icon', color: '#15b8a6', url: '/safari-pinned-tab.svg' },
],
other: { 'msapplication-TileColor': '#15b8a6' },
}

export default function MainLayout({
Expand Down
24 changes: 23 additions & 1 deletion src/app/holdings/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import { Layout } from '@/app/holdings/components/Layout'
import { type Metadata } from 'next'
import type { Metadata, Viewport } from 'next'

export const viewport: Viewport = {
themeColor: '#0ca5e9',
}

export const metadata: Metadata = {
title: {
Expand All @@ -8,6 +12,24 @@ export const metadata: Metadata = {
},
description:
'At Chowdhary.co, we make early-stage investments to accelerate technological progress and drive social impact.',
icons: [
{ rel: 'apple-touch-icon', sizes: '180x180', url: '/apple-touch-icon.png' },
{
rel: 'icon',
type: 'image/png',
sizes: '32x32',
url: '/favicon-32x32.png',
},
{
rel: 'icon',
type: 'image/png',
sizes: '16x16',
url: '/favicon-16x16.png',
},
{ rel: 'manifest', url: '/site.webmanifest' },
{ rel: 'mask-icon', color: '#0ca5e9', url: '/safari-pinned-tab.svg' },
],
other: { 'msapplication-TileColor': '#0ca5e9' },
}

export default function MainLayout({
Expand Down

0 comments on commit 1b520cd

Please sign in to comment.