Skip to content

Commit

Permalink
Merge pull request #85 from assistants-hub/84_SEO_Optimizations
Browse files Browse the repository at this point in the history
#84 SEO Optimizations and GA4 integration
  • Loading branch information
santthosh authored Jun 8, 2024
2 parents 2801ccc + 58a280e commit fa79ffe
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 21 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@aws-sdk/s3-request-presigner": "^3.574.0",
"@aws-sdk/signature-v4-crt": "^3.569.0",
"@google/generative-ai": "^0.8.0",
"@next/third-parties": "^14.2.3",
"@prisma/client": "5.8.1",
"@thumbmarkjs/thumbmarkjs": "^0.14.4",
"@types/react-image-crop": "^8.1.6",
Expand All @@ -34,6 +35,7 @@
"busboy": "^1.6.0",
"flowbite": "^2.2.1",
"flowbite-react": "^0.7.2",
"google": "link:@next/third-parties/google",
"groq-sdk": "^0.3.3",
"highlight.js": "^11.9.0",
"marked-react": "^2.0.0",
Expand Down
21 changes: 21 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added public/og-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/twitter-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 35 additions & 21 deletions src/app/layout.tsx
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>
);
}

0 comments on commit fa79ffe

Please sign in to comment.