-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from assistants-hub/84_SEO_Optimizations
#84 SEO Optimizations and GA4 integration
- Loading branch information
Showing
5 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,54 @@ | ||
import { Flowbite, ThemeModeScript } from 'flowbite-react'; | ||
import type { Metadata } from 'next'; | ||
import { Inter } from 'next/font/google'; | ||
import './globals.css'; | ||
import { flowbiteTheme } from './theme'; | ||
import { Analytics } from '@vercel/analytics/react'; | ||
import { UserProvider } from '@auth0/nextjs-auth0/client'; | ||
import { GoogleAnalytics } from '@next/third-parties/google' | ||
|
||
const inter = Inter({ subsets: ['latin'] }); | ||
|
||
export const metadata: Metadata = { | ||
title: 'Assistants Hub', | ||
description: 'Administration Portal for Deploying Assistants', | ||
}; | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: { | ||
children: React.ReactNode; | ||
}) { | ||
return ( | ||
<html lang='en'> | ||
<head> | ||
<title>Assistants Hub</title> | ||
<ThemeModeScript /> | ||
</head> | ||
<body | ||
className={inter.className} | ||
suppressHydrationWarning={process.env.NODE_ENV === 'development'} | ||
> | ||
<Flowbite theme={{ theme: flowbiteTheme }}> | ||
<UserProvider> | ||
{children} | ||
</UserProvider> | ||
<Analytics /> | ||
</Flowbite> | ||
</body> | ||
<head> | ||
<title>Assistants Hub</title> | ||
<meta name="title" content="Assistants Hub | Build, Integrate, and Deploy Personalized AI Assistants" /> | ||
<meta name="description" | ||
content="Assistants Hub allows businesses and individuals to create, integrate, and deploy personalized AI assistants in minutes. Join us in building a robust ecosystem for AI collaboration." /> | ||
<meta name="keywords" | ||
content="AI assistants, personalized assistants, AI integration, AI deployment, business automation, AI collaboration, Assistants Hub" /> | ||
<meta name="robots" content="index, follow" /> | ||
<meta name="author" content="Assistants Hub" /> | ||
<meta property="og:title" content="Assistants Hub | Build, Integrate, and Deploy Personalized AI Assistants" /> | ||
<meta property="og:description" | ||
content="Assistants Hub enables businesses and individuals to create, integrate, and deploy personalized AI assistants quickly and efficiently. Discover how our platform fosters AI collaboration for achieving goals." /> | ||
<meta property="og:url" content="https://assistantshub.ai" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:image" content="https://assistantshub.ai/og-image.png" /> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:title" content="Assistants Hub | Build, Integrate, and Deploy Personalized AI Assistants" /> | ||
<meta name="twitter:description" | ||
content="Assistants Hub helps businesses and individuals create, integrate, and deploy personalized AI assistants. Explore our platform for building a collaborative AI ecosystem." /> | ||
<meta name="twitter:image" content="https://assistantshub.ai/twitter-image.png" /> | ||
<ThemeModeScript /> | ||
</head> | ||
<body | ||
className={inter.className} | ||
suppressHydrationWarning={process.env.NODE_ENV === 'development'} | ||
> | ||
<Flowbite theme={{ theme: flowbiteTheme }}> | ||
<UserProvider> | ||
{children} | ||
</UserProvider> | ||
<Analytics /> | ||
<GoogleAnalytics gaId={process.env.GOOGLE_ANALYTICS_ID ? process.env.GOOGLE_ANALYTICS_ID : ''} /> | ||
</Flowbite> | ||
</body> | ||
</html> | ||
); | ||
} |