Skip to content

Commit

Permalink
fix head
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermlui committed Aug 16, 2024
1 parent 9172f51 commit 33eaa27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# make your own .env.local file with any secret keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_dG91Z2gtY293LTk3LmNsZXJrLmFjY291bnRzLmRldiQ
CLERK_SECRET_KEY=sk_test_27SbUYcwOThxkfIbyHehdNGnBe7QxGDwd0EJYStQjz
16 changes: 7 additions & 9 deletions app/page.js
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
import Image from "next/image";
import getStripe from "@/utils/get_stripe"
import getStripe from "@/utils/get_stripe";
import { SignedIn, SignedOut, UserButton } from "@clerk/nextjs";

import {Toolbar, Typography, Container, AppBar, Button } from "@mui/material";
import { Toolbar, Typography, Container, AppBar, Button } from "@mui/material";
import Head from "next/head"; // Correct import for Head

export default function Home() {
return (
<Container maxWidth="lg">
<Head>
<Title>
AI Flashcard
</Title>
<meta name="description" content="Create personalised flashcards from your textbooks"/>
<title>AI Flashcard</title> {/* Correct usage of title */}
<meta name="description" content="Create personalized flashcards from your textbooks" />
</Head>

<AppBar position = "static">
<AppBar position="static">
<Toolbar>
<Typography variant="h6">AI Flashcards</Typography>
<SignedOut>
<Button>Login</Button>
<Button>Sign Up</Button>
</SignedOut>
<SignedIn>
<UserButton/>
<UserButton />
</SignedIn>
</Toolbar>
</AppBar>
Expand Down

0 comments on commit 33eaa27

Please sign in to comment.