This commit is contained in:
Aaron William Po
2023-10-27 21:24:52 -04:00
parent 49fef56576
commit 375be5ed69
3 changed files with 42 additions and 13 deletions

View File

@@ -1,2 +1,6 @@
User-agent: * User-agent: *
Disallow: / Disallow: /api/
Disallow: /login/
Disallow: /register/
Disallow: /users/
Disallow: /account/

View File

@@ -22,12 +22,12 @@ const CommentContentBody: FC<CommentContentBodyProps> = ({ comment, setInEditMod
<div className="card-body animate-in fade-in-10"> <div className="card-body animate-in fade-in-10">
<div className="flex flex-row justify-between"> <div className="flex flex-row justify-between">
<div> <div>
<h3 className="font-semibold sm:text-2xl"> <p className="font-semibold sm:text-2xl">
<Link href={`/users/${comment.postedBy.id}`} className="link-hover link"> <Link href={`/users/${comment.postedBy.id}`} className="link-hover link">
{comment.postedBy.username} {comment.postedBy.username}
</Link> </Link>
</h3> </p>
<h4 className="italic"> <span className="italic">
posted{' '} posted{' '}
<time <time
className="tooltip tooltip-bottom" className="tooltip tooltip-bottom"
@@ -36,7 +36,7 @@ const CommentContentBody: FC<CommentContentBodyProps> = ({ comment, setInEditMod
{timeDistance} {timeDistance}
</time>{' '} </time>{' '}
ago ago
</h4> </span>
</div> </div>
{user && <CommentCardDropdown comment={comment} setInEditMode={setInEditMode} />} {user && <CommentCardDropdown comment={comment} setInEditMode={setInEditMode} />}

View File

@@ -1,15 +1,43 @@
import { NextPage } from 'next'; import { NextPage } from 'next';
import Head from 'next/head'; import Head from 'next/head';
const keywords = [
'beer',
'bier',
'biergarten',
'brewery',
'brew',
'drink',
'alcohol',
'brews',
'breweries',
'craft beer',
'beer enthusiast',
'beer tasting',
'beer culture',
'beer connoisseur',
'beer reviews',
'beer community',
'beer events',
'brewpubs',
'beer aficionado',
'beer types',
'beer selection',
'beer recommendations',
'beer ratings',
'beer pairing',
'beer recipes',
];
const description = `The Biergarten App is an app for beer lovers to share their favourite brews and breweries with like-minded people online.`;
const Home: NextPage = () => { const Home: NextPage = () => {
return ( return (
<> <>
<Head> <Head>
<title>The Biergarten App</title> <title>The Biergarten App</title>
<meta <meta name="description" content={description} />
name="description" <meta name="keywords" content={keywords.join(', ')} />
content="The Biergarten App is an app for beer lovers to share their favourite brews and breweries with like-minded people online."
/>
</Head> </Head>
<div className="flex h-full w-full items-center justify-center bg-primary"> <div className="flex h-full w-full items-center justify-center bg-primary">
@@ -17,10 +45,7 @@ const Home: NextPage = () => {
<h1 className="text-3xl font-bold md:text-4xl lg:text-5xl xl:text-8xl"> <h1 className="text-3xl font-bold md:text-4xl lg:text-5xl xl:text-8xl">
The Biergarten App The Biergarten App
</h1> </h1>
<p className="mt-4 text-lg lg:text-2xl"> <p className="mt-4 text-lg lg:text-2xl">{description}</p>
An app for beer lovers to share their favourite brews and breweries with
like-minded people online.
</p>
</div> </div>
</div> </div>
</> </>