Skip to content

Commit

Permalink
Merge pull request #424 from omnifed/423-docs-next-og-img-401
Browse files Browse the repository at this point in the history
chore: up next & metadata info
  • Loading branch information
caseybaggz committed Aug 29, 2024
2 parents 946349f + 4f8b7eb commit 9c8833d
Show file tree
Hide file tree
Showing 4 changed files with 145 additions and 116 deletions.
4 changes: 2 additions & 2 deletions docs/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { css, cx } from '@cerberus/styled-system/css'
import { Nav } from './components/Nav'

import './globals.css'
import { description, openGraph } from './shared-metadata'
import { base, openGraph } from './shared-metadata'

const poppins = Poppins({
display: 'swap',
Expand All @@ -17,7 +17,7 @@ const poppins = Poppins({

export const metadata: Metadata = {
title: 'Cerberus Design System',
description,
...base,
openGraph,
}

Expand Down
7 changes: 6 additions & 1 deletion docs/app/shared-metadata.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
export const description =
const description =
'Guarding the brand integrity of the Digital University realm by creating a flexible and extensible design system.'

export const base = {
metadataBase: new URL('https://cerberus.digitalu.design/'),
description,
}

export const openGraph = {
title: 'Cerberus Design System',
description:
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@cerberus-design/icons": "workspace:*",
"@cerberus-design/react": "workspace:*",
"@cerberus-design/styled-system": "workspace:*",
"next": "14.2.3",
"next": "14.2.7",
"react": "^18",
"react-dom": "^18",
"remove": "^0.1.5"
Expand Down
Loading

0 comments on commit 9c8833d

Please sign in to comment.