diff --git a/components/styles/content.tsx b/components/styles/content.tsx index ef3281b..31c35d8 100644 --- a/components/styles/content.tsx +++ b/components/styles/content.tsx @@ -49,11 +49,11 @@ const CardStyle = css` height: 240px; `; -const CardLink = styled(Link)` +export const CardLink = styled(Link)` ${CardStyle} `; -const CardStyleWrap = styled.div` +export const CardStyleWrap = styled.div` ${CardStyle} `; diff --git a/pages/index.tsx b/pages/index.tsx index 0071a3a..6ca59a4 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,6 +1,6 @@ import Head from 'next/head' import Link from 'next/link'; -import { PageTitle, PageDescription, PageContentBox, PageCard } from '../components/styles/content'; +import { PageTitle, PageDescription, PageContentBox, PageCard, CardLink } from '../components/styles/content'; export default function Home() { return ( @@ -18,26 +18,26 @@ export default function Home() { Feel free to look around - - + +

About →

Useless Info, don't bother

- -
+
+ - - + +

Games →

List of all available Servers

- -
+
+ - - + +

Services →

List of available Services

- -
+
+
)