diff --git a/components/Card.js b/components/Card.js
new file mode 100644
index 0000000..3ea7713
--- /dev/null
+++ b/components/Card.js
@@ -0,0 +1,38 @@
+import { makeStyles } from '@material-ui/core'
+import React from 'react'
+import Link from 'next/link'
+
+const useStyles = makeStyles({
+ homeCard: {
+ width: '350px',
+ height: '150px',
+ background: '#1f1b24',
+ margin: '10px',
+ padding: '20px',
+ borderRadius: '15px',
+
+ '&:hover': {
+ background: '#2c2633',
+ }
+ },
+ title: {
+ marginTop: '3px',
+ },
+ desc: {}
+})
+
+function HomeCard({title, desc, link=''}) {
+
+ const classes = useStyles()
+
+ return (
+
+
+
+ )
+}
+
+export default HomeCard
diff --git a/pages/controlpanel/index.js b/pages/controlpanel/index.js
index 757a20b..9367471 100644
--- a/pages/controlpanel/index.js
+++ b/pages/controlpanel/index.js
@@ -1,5 +1,5 @@
import React from 'react'
-import CardContainer from '../../components/CardContainer'
+import Card from '../../components/Card'
import Head from 'next/head'
import { useSession } from 'next-auth/client'
@@ -19,7 +19,9 @@ function Index() {
Control Panel
- Commands
+
+
+
>
}
diff --git a/pages/index.js b/pages/index.js
index 69afce1..e861d0c 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,5 +1,6 @@
import { Typography } from '@material-ui/core'
import CardContainer from '../components/CardContainer'
+import Card from '../components/Card'
import { useSession } from 'next-auth/client'
export default function Home() {
@@ -16,11 +17,12 @@ export default function Home() {
{session && <>
Welcome {session.user.name}!
- Command controls
- Command controls
- Command controls
- Command controls
- Command controls
+
+
+
+
+
+
>
}
diff --git a/styles/HomeCard.module.css b/styles/HomeCard.module.css
new file mode 100644
index 0000000..907ede2
--- /dev/null
+++ b/styles/HomeCard.module.css
@@ -0,0 +1,10 @@
+.home-card {
+ width: 300px;
+ height: 150px;
+ background: #1f1b24;
+ border: 1px solid blue;
+}
+
+.title {}
+
+.desc {}
\ No newline at end of file
diff --git a/styles/globals.css b/styles/globals.css
index 75426f0..47e9259 100644
--- a/styles/globals.css
+++ b/styles/globals.css
@@ -1,3 +1,5 @@
+@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@600&family=Poppins:wght@500&display=swap');
+
* {
color: #fff;
}
@@ -6,7 +8,7 @@ html,
body {
padding: 0;
margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
+ font-family: 'Epilogue',-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
background: #121212;
}
@@ -38,7 +40,8 @@ a {
}
.grid {
+ margin-top: 50px;
display: grid;
- grid-template-columns: repeat(auto-fill, 300px);
+ grid-template-columns: repeat(auto-fill, 350px);
grid-gap: 10px;
}
\ No newline at end of file