-
-
- What are you looking for?
-
-
-
-
-
- {!showSearchResults ? (
-
- ) : (
-
- {searchResults.map((result) => {
- return ;
- })}
-
- )}
+
+
+
+
+
+ {!showSearchResults ? (
+
+ ) : (
+
+ {searchResults.map((result) => {
+ return ;
+ })}
+
+ )}
+
-
+
);
};
diff --git a/src/pages/breweries/[id].tsx b/src/pages/breweries/[id].tsx
index 7565523..61ade9e 100644
--- a/src/pages/breweries/[id].tsx
+++ b/src/pages/breweries/[id].tsx
@@ -1,5 +1,3 @@
-import Layout from '@/components/ui/Layout';
-
import getBreweryPostById from '@/services/BreweryPost/getBreweryPostById';
import BreweryPostQueryResult from '@/services/BreweryPost/types/BreweryPostQueryResult';
import { GetServerSideProps, NextPage } from 'next';
@@ -11,9 +9,9 @@ interface BreweryPageProps {
const BreweryByIdPage: NextPage
= ({ breweryPost }) => {
return (
-
+ <>
{breweryPost.name}
-
+ >
);
};
diff --git a/src/pages/breweries/index.tsx b/src/pages/breweries/index.tsx
index f7217f9..90258ce 100644
--- a/src/pages/breweries/index.tsx
+++ b/src/pages/breweries/index.tsx
@@ -3,7 +3,7 @@ import { GetServerSideProps, NextPage } from 'next';
import Link from 'next/link';
import getAllBreweryPosts from '@/services/BreweryPost/getAllBreweryPosts';
import BreweryPostQueryResult from '@/services/BreweryPost/types/BreweryPostQueryResult';
-import Layout from '@/components/ui/Layout';
+
import { FC } from 'react';
import Image from 'next/image';
import { z } from 'zod';
@@ -41,7 +41,7 @@ const BreweryCard: FC<{ brewery: z.infer }> = ({
const BreweryPage: NextPage = ({ breweryPosts }) => {
return (
-
+ <>
@@ -56,7 +56,7 @@ const BreweryPage: NextPage = ({ breweryPosts }) => {
-
+ >
);
};
diff --git a/src/pages/index.tsx b/src/pages/index.tsx
index afc8db9..1fcca27 100644
--- a/src/pages/index.tsx
+++ b/src/pages/index.tsx
@@ -1,4 +1,3 @@
-import Layout from '@/components/ui/Layout';
import { NextPage } from 'next';
import Head from 'next/head';
@@ -12,19 +11,18 @@ const Home: NextPage = () => {
content="The Biergarten App is an app for beer lovers to share their favourite brews and breweries with like-minded people online."
/>
-
-
-
-
- The Biergarten App
-
-
- An app for beer lovers to share their favourite brews and breweries with
- like-minded people online.
-
-
+
+
+
+
+ The Biergarten App
+
+
+ An app for beer lovers to share their favourite brews and breweries with
+ like-minded people online.
+
-
+
>
);
};
diff --git a/src/pages/login/index.tsx b/src/pages/login/index.tsx
index ffbbb7b..b7d75bf 100644
--- a/src/pages/login/index.tsx
+++ b/src/pages/login/index.tsx
@@ -1,5 +1,5 @@
import { NextPage } from 'next';
-import Layout from '@/components/ui/Layout';
+
import LoginForm from '@/components/Login/LoginForm';
import Image from 'next/image';
@@ -12,7 +12,7 @@ import useRedirectWhenLoggedIn from '@/hooks/useRedirectIfLoggedIn';
const LoginPage: NextPage = () => {
useRedirectWhenLoggedIn();
return (
-
+ <>
Login
@@ -49,7 +49,7 @@ const LoginPage: NextPage = () => {