Changed text sizes and removed unused imports
This commit is contained in:
parent
57d610779b
commit
180ea021cb
2 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,7 @@ import React from 'react'
|
|||
import Card from '../../components/Card'
|
||||
import Head from 'next/head'
|
||||
import { useSession } from 'next-auth/client'
|
||||
import { Text } from "@chakra-ui/react"
|
||||
|
||||
function Index() {
|
||||
|
||||
|
@ -18,7 +19,7 @@ function Index() {
|
|||
<title>Cath Control Panel</title>
|
||||
</Head>
|
||||
<div>
|
||||
<h1>Control Panel</h1>
|
||||
<Text fontSize='4xl'>Control Panel</Text>
|
||||
<Card title='Commands' desc='Control your commands and their settings.' link='/controlpanel/commands'/>
|
||||
<Card title='Commands' desc='Control your commands and their settings.' link='/controlpanel/commands'/>
|
||||
<Card title='Commands' desc='Control your commands and their settings.' link='/controlpanel/commands'/>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { Typography } from '@material-ui/core'
|
||||
import CardContainer from '../components/CardContainer'
|
||||
import Card from '../components/Card'
|
||||
import { useSession } from 'next-auth/client'
|
||||
import { Text } from "@chakra-ui/react"
|
||||
|
||||
export default function Home() {
|
||||
|
||||
|
@ -15,7 +14,7 @@ export default function Home() {
|
|||
</>
|
||||
}
|
||||
{session && <>
|
||||
<h1>Welcome {session.user.name}!</h1>
|
||||
<Text fontSize='4xl'>Welcome {session.user.name}!</Text>
|
||||
<div className='grid'>
|
||||
<Card title='commands' desc='lorem ipsum dolor sit amet' link='/controlpanel/commands'/>
|
||||
<Card title='commands' desc='lorem ipsum dolor sit amet' link='/controlpanel/commands'/>
|
||||
|
|
Loading…
Reference in a new issue