mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Meta tags
This commit is contained in:
+10
-2
@@ -4,21 +4,29 @@ import { Inter, JetBrains_Mono } from 'next/font/google';
|
||||
import { extendTheme } from '@mui/joy';
|
||||
|
||||
|
||||
// Theme & Fonts
|
||||
// Identity, Branding & Meta
|
||||
|
||||
export const Brand = {
|
||||
// Name: 'big-AGI',
|
||||
// Slug: 'big-agi',
|
||||
// UpperName: 'BIG-AGI',
|
||||
Title: {
|
||||
Common: 'big-AGI',
|
||||
},
|
||||
Meta: {
|
||||
Description: 'big-AGI is a free, open-source project to build a general artificial intelligence (AGI) that can solve any problem.',
|
||||
Keywords: 'artificial general intelligence, agi, openai, gpt-4, ai personas, code execution, pdf import, voice i/o, ai chat, artificial intelligence',
|
||||
ThemeColor: '#434356',
|
||||
},
|
||||
URIs: {
|
||||
// Slug: 'big-agi',
|
||||
// Deployment: 'https://big-agi.com',
|
||||
OpenRepo: 'https://github.com/enricoros/big-agi',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
// Theme & Fonts
|
||||
|
||||
// For next April Fools' week
|
||||
// export const foolsMode = new Date().getMonth() === 3 && new Date().getDate() <= 7;
|
||||
|
||||
|
||||
+7
-1
@@ -5,7 +5,7 @@ import createEmotionServer from '@emotion/server/create-instance';
|
||||
import { getInitColorSchemeScript } from '@mui/joy/styles';
|
||||
|
||||
import { MyAppProps } from './_app';
|
||||
import { bodyFontClassName, createEmotionCache } from '@/lib/theme';
|
||||
import { bodyFontClassName, Brand, createEmotionCache } from '@/lib/theme';
|
||||
|
||||
|
||||
interface MyDocumentProps extends DocumentProps {
|
||||
@@ -16,6 +16,12 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) {
|
||||
return (
|
||||
<Html lang='en' className={bodyFontClassName}>
|
||||
<Head>
|
||||
{/* Meta (missing Title, set by the App or Page) */}
|
||||
<meta name='description' content={Brand.Meta.Description} />
|
||||
<meta name='keywords' content={Brand.Meta.Keywords} />
|
||||
<meta name='theme-color' content={Brand.Meta.ThemeColor} />
|
||||
|
||||
{/* Favicons & PWA */}
|
||||
<link rel='shortcut icon' href='/favicon.ico' />
|
||||
<link rel='icon' type='image/png' sizes='32x32' href='/icons/favicon-32x32.png' />
|
||||
<link rel='icon' type='image/png' sizes='16x16' href='/icons/favicon-16x16.png' />
|
||||
|
||||
Reference in New Issue
Block a user