Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impr(masterbots.ai): terms route + metadata impr #158

Merged
merged 1 commit into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions apps/masterbots.ai/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import '@/app/globals.css'
import { Header } from '@/components/header'
import { Providers } from '@/components/providers'
import { cn } from '@/lib/utils'
import { Metadata } from 'next'

export default function RootLayout({ children }: RootLayoutProps) {
return (
Expand Down Expand Up @@ -37,16 +38,44 @@ export default function RootLayout({ children }: RootLayoutProps) {
)
}

export const metadata = {
export const metadata: Metadata = {
metadataBase: new URL(`https://${process.env.VERCEL_URL}`),
title: {
default: 'Masterbots',
template: `%s - Masterbots`
},
description: 'Specialized AI chatbots',
description: 'Elevating AI Beyond ChatGPT: Specialized Chatbots, Social Sharing and User-Friendly Innovation',
openGraph: {
type: 'website',
locale: 'en_US',
url: 'https://masterbots.ai',
siteName: 'Masterbots',
images: [
{
url: 'https://masterbots.ai/images/masterbots.png',
width: 1232,
height: 928,
alt: 'Masterbots'
}
]
},
twitter: {
title: 'Masterbots',
description: 'Elevating AI Beyond ChatGPT: Specialized Chatbots, Social Sharing and User-Friendly Innovation',
site: '@masterbotsai',
card: 'summary_large_image',
images: [
{
url: 'https://masterbots.ai/images/masterbots.png',
width: 1232,
height: 928,
alt: 'Masterbots'
}
]
},
icons: {
icon: '/favicon.ico',
shortcut: '/favicon-16x16.png',
shortcut: '/favicon-300x300.png',
apple: '/apple-touch-icon.png'
}
}
Expand Down
2 changes: 1 addition & 1 deletion apps/masterbots.ai/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ export { auth as middleware } from './auth'

export const config = {
matcher: [
'/((?!api|browse|b|u|terms-n-policies|images|_next/static|_next/image|favicon.ico).*)'
'/((?!api|browse|b|u|terms|images|_next/static|_next/image|favicon.ico).*)'
]
}
Binary file modified apps/masterbots.ai/public/apple-touch-icon.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 removed apps/masterbots.ai/public/favicon-16x16.png
Binary file not shown.
Binary file added apps/masterbots.ai/public/favicon-300x300.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 modified apps/masterbots.ai/public/favicon.ico
Binary file not shown.
Binary file added apps/masterbots.ai/public/images/masterbots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.