diff --git a/public/robots.txt b/public/robots.txt index 77470cb..e80fa28 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,2 +1,6 @@ User-agent: * -Disallow: / \ No newline at end of file +Disallow: /api/ +Disallow: /login/ +Disallow: /register/ +Disallow: /users/ +Disallow: /account/ diff --git a/src/components/BeerBreweryComments/CommentContentBody.tsx b/src/components/BeerBreweryComments/CommentContentBody.tsx index 8665e0f..0864c39 100644 --- a/src/components/BeerBreweryComments/CommentContentBody.tsx +++ b/src/components/BeerBreweryComments/CommentContentBody.tsx @@ -22,12 +22,12 @@ const CommentContentBody: FC = ({ comment, setInEditMod
-

+

{comment.postedBy.username} -

-

+

+ posted{' '} {' '} ago -

+
{user && } diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 1fcca27..b9e9602 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -1,15 +1,43 @@ import { NextPage } from 'next'; 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 = () => { return ( <> The Biergarten App - + +
@@ -17,10 +45,7 @@ const Home: NextPage = () => {

The Biergarten App

-

- An app for beer lovers to share their favourite brews and breweries with - like-minded people online. -

+

{description}