diff --git a/components/Calendar.tsx b/components/Calendar.tsx index 37f401a..522ac93 100644 --- a/components/Calendar.tsx +++ b/components/Calendar.tsx @@ -47,8 +47,8 @@ const CalendarComponent = () => { return (
- Händelsekalendern -
+ Händelsekalendern +
setClass(date)} minDetail="month" @@ -93,7 +93,7 @@ const CalendarEventsList = ({ return (

{x.title}

diff --git a/components/Subtitle.tsx b/components/Subtitle.tsx index 2a68f50..9d1db30 100644 --- a/components/Subtitle.tsx +++ b/components/Subtitle.tsx @@ -1,9 +1,14 @@ import React from 'react' -const Subtitle = ({ children }: React.PropsWithChildren) => ( +const Subtitle = ({ + children, + underline = true, +}: React.PropsWithChildren<{ underline?: boolean }>) => ( <> -

{children}

-
{' '} +

{children}

+ {underline && ( +
+ )} ) diff --git a/components/posts/Post.tsx b/components/posts/Post.tsx index 5aadd08..ff80b8a 100644 --- a/components/posts/Post.tsx +++ b/components/posts/Post.tsx @@ -6,7 +6,7 @@ import { getDateLong } from '@utils/helpers' const Post = ({ post }: { post: PostType }) => { return (

{post.title}

diff --git a/components/posts/index.tsx b/components/posts/index.tsx index ce95c95..01e6f62 100644 --- a/components/posts/index.tsx +++ b/components/posts/index.tsx @@ -13,7 +13,7 @@ const Posts = ({ posts }: { posts: PostType[] }) => { ))} Mera nyheter diff --git a/pages/index.tsx b/pages/index.tsx index b59d73a..d952db0 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -45,7 +45,7 @@ const Home: NextPage = ({ @@ -69,7 +69,7 @@ const Home: NextPage = ({ />
*/} - + diff --git a/styles/globals.css b/styles/globals.css index 9a411f8..f06d92d 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -17,7 +17,7 @@ @layer base { html, body { - background-color: var(--lightGray); + background-color: white; height: 100vh; display: flex; flex-direction: column;