mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Some Meta Improvements
This commit is contained in:
+2
-3
@@ -20,7 +20,6 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) {
|
||||
<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 */}
|
||||
@@ -33,7 +32,7 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) {
|
||||
<meta name='apple-mobile-web-app-status-bar-style' content='black' />
|
||||
|
||||
{/* Opengraph */}
|
||||
<meta property='og:title' content={Brand.Meta.Title} />
|
||||
<meta property='og:title' content={Brand.Title.Common} />
|
||||
<meta property='og:description' content={Brand.Meta.Description} />
|
||||
{Brand.URIs.CardImage && <meta property='og:image' content={Brand.URIs.CardImage} />}
|
||||
<meta property='og:url' content={Brand.URIs.Home} />
|
||||
@@ -43,7 +42,7 @@ export default function MyDocument({ emotionStyleTags }: MyDocumentProps) {
|
||||
{/* Twitter */}
|
||||
<meta property='twitter:card' content='summary_large_image' />
|
||||
<meta property='twitter:url' content={Brand.URIs.Home} />
|
||||
<meta property='twitter:title' content={Brand.Meta.Title} />
|
||||
<meta property='twitter:title' content={Brand.Title.Common} />
|
||||
<meta property='twitter:description' content={Brand.Meta.Description} />
|
||||
{Brand.URIs.CardImage && <meta property='twitter:image' content={Brand.URIs.CardImage} />}
|
||||
<meta name='twitter:site' content={Brand.Meta.TwitterSite} />
|
||||
|
||||
+9
-12
@@ -2,29 +2,26 @@
|
||||
* Application Identity (Brand)
|
||||
*
|
||||
* Also note that the 'Brand' is used in the following places:
|
||||
* - README.md all over
|
||||
* - package.json app-slug and version
|
||||
* - public/manifest.json name, short_name, description, theme_color, background_color
|
||||
* - README.md all over
|
||||
* - package.json app-slug and version
|
||||
* - [public/manifest.json] name, short_name, description, theme_color, background_color
|
||||
*/
|
||||
export const Brand = {
|
||||
// Name: 'big-AGI',
|
||||
// UpperName: 'BIG-AGI',
|
||||
Title: {
|
||||
Common: (process.env.NODE_ENV === 'development' ? '[DEV] ' : '') + 'big-AGI',
|
||||
},
|
||||
Meta: {
|
||||
SiteName: 'big-AGI',
|
||||
Title: 'big-AGI: Personal AGI App',
|
||||
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',
|
||||
Description: 'Leading open-source AI web interface to help you learn, think, and do. AI personas, superior privacy, advanced features, and fun UX.',
|
||||
SiteName: 'big-AGI | Harnessing AI for You',
|
||||
ThemeColor: '#434356',
|
||||
TwitterSite: '@bigagienergy',
|
||||
TwitterSite: '@enricoros',
|
||||
},
|
||||
URIs: {
|
||||
// Slug: 'big-agi',
|
||||
Home: 'https://www.big-agi.com',
|
||||
Home: 'https://big-agi.com',
|
||||
// App: 'https://get.big-agi.com',
|
||||
CardImage: 'https://big-agi.com/icons/card-dark-1200.png',
|
||||
OpenRepo: 'https://github.com/enricoros/big-agi',
|
||||
SupportInvite: 'https://discord.gg/MkH4qj2Jp9',
|
||||
// Twitter: 'https://www.twitter.com/enricoros',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user