Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Tweak title

Tomas Valentaed79ec8403e9
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 851902799..fb4ca7c26 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -12,6 +12,7 @@ import { Database } from 'db/supabase'
import { clientCreds } from 'db/credentials'
import { useRouter } from 'next/router'
import Layout from 'components/Layout'
+import Head from 'next/head'
// Initialize PostHog
if (typeof window !== 'undefined' && process.env.NEXT_PUBLIC_POSTHOG_KEY) {
@@ -34,6 +35,11 @@ function App({ Component, pageProps }: AppProps<{ initialSession?: Session, proj
const [supabaseClient] = useState(() => createBrowserSupabaseClient<Database>(clientCreds))
const router = useRouter()
+ const meta = {
+ title: 'Dashboard | e2b',
+ description: 'e2b Dashboard',
+ }
+
useEffect(function trackPageViews() {
// Track page views
const handleRouteChange = () => posthog?.capture('$pageview')
@@ -52,6 +58,53 @@ function App({ Component, pageProps }: AppProps<{ initialSession?: Session, proj
supabaseClient={supabaseClient}
initialSession={pageProps.initialSession}
>
+ <Head>
+ <title>{meta.title}</title>
+ <meta
+ content="follow, index"
+ name="robots"
+ />
+ <link
+ href="/favicon.ico"
+ rel="shortcut icon"
+ />
+ <meta
+ content={meta.description}
+ name="description"
+ />
+ <meta
+ content="website"
+ property="og:type"
+ />
+ <meta
+ content={meta.title}
+ property="og:site_name"
+ />
+ <meta
+ content={meta.description}
+ property="og:description"
+ />
+ <meta
+ content={meta.title}
+ property="og:title"
+ />
+ <meta
+ content="summary_large_image"
+ name="twitter:card"
+ />
+ <meta
+ content="@devbookhq"
+ name="twitter:site"
+ />
+ <meta
+ content={meta.title}
+ name="twitter:title"
+ />
+ <meta
+ content={meta.description}
+ name="twitter:description"
+ />
+ </Head>
<Layout>
<Component {...pageProps} />
</Layout>
diff --git a/pages/sign.tsx b/pages/sign.tsx
index 9a010e836..1b756e762 100644
--- a/pages/sign.tsx
+++ b/pages/sign.tsx
@@ -42,7 +42,10 @@ function SignIn() {
}
return (
- <div className="flex min-h-full flex-1 flex-col justify-center px-6 py-12 lg:px-8">
+ <div className="flex min-h-full flex-1 flex-col justify-center px-6 py-12 lg:px-8 space-y-8">
+ <h1 className="text-center text-4xl font-bold leading-9 tracking-tight text-white">
+ e2b
+ </h1>
<div className="sm:mx-auto sm:w-full sm:max-w-sm space-y-4 items-center justify-center">
<h2 className="text-center text-2xl font-bold leading-9 tracking-tight text-white">
Sign in to your account