Skip to content

Commit

Permalink
Some Meta Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed Jun 27, 2023
1 parent e092790 commit 70f7c2e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
5 changes: 2 additions & 3 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 */}
Expand All @@ -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} />
Expand All @@ -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} />
Expand Down
21 changes: 9 additions & 12 deletions src/common/brand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: 'big-AGI is a free, open-source project to build a general artificial intelligence (AGI) that can solve real problems and make life easier, interesting, and fun!',
SiteName: 'big-AGI | Harnessing AI for You', // The Power of AI in Your Hands
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',
},
};

1 comment on commit 70f7c2e

@vercel
Copy link

@vercel vercel bot commented on 70f7c2e Jun 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

big-agi – ./

big-agi-git-main-enricoros.vercel.app
big-agi-enricoros.vercel.app
get.big-agi.com

Please sign in to comment.