diff --git a/docs/app/_components/SiteFooter.tsx b/docs/app/_components/SiteFooter.tsx new file mode 100644 index 0000000000..2f71c95523 --- /dev/null +++ b/docs/app/_components/SiteFooter.tsx @@ -0,0 +1,11 @@ +import { siteConfig } from '@/lib/config'; +import { Logo } from './Logo'; + +export const SiteFooter = () => ( + +); diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx index 779ef3f53e..29ce999a4b 100644 --- a/docs/app/layout.tsx +++ b/docs/app/layout.tsx @@ -10,6 +10,7 @@ import { fontSans } from '@/theme/fonts'; import { Analytics } from './_components/Analytics'; import { Navigation } from './_components/Navigation'; import { SiteHeader } from './_components/SiteHeader'; +import { SiteFooter } from './_components/SiteFooter'; // Metadata // --------------- @@ -45,8 +46,8 @@ const Layout = ({ children }: { children: React.ReactNode }) => {
-
{children}
-
Marigold Footer
+
{children}
+
diff --git a/docs/lib/config.ts b/docs/lib/config.ts index ea0a13782d..accf2fe93e 100644 --- a/docs/lib/config.ts +++ b/docs/lib/config.ts @@ -1,4 +1,5 @@ export const siteConfig = { + version: process.env.version, navigation: [ { name: 'Introduction', diff --git a/docs/next.config.js b/docs/next.config.js index 603a12beda..593f1fccd5 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -1,4 +1,5 @@ const { withContentlayer } = require('next-contentlayer'); +const pkg = require('./package.json'); /** @type {import('next').NextConfig} */ const nextConfig = { @@ -16,6 +17,9 @@ const nextConfig = { '@marigold/system', '@marigold/theme-preset', ], + env: { + version: pkg.version, + }, async redirects() { return [ {