mirror of
https://github.com/dsoaress/link-free.git
synced 2026-11-25 04:18:36 +00:00
fix: some details
This commit is contained in:
22 files changed
+330
-118
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import Head from 'next/head'
|
||||
|
||||
import { useData } from '../../hooks/useData'
|
||||
import { theme } from '../../styles/stitches.config'
|
||||
import { Avatar } from '../Avatar'
|
||||
@@ -12,11 +14,17 @@ export const Home = () => {
|
||||
return (
|
||||
<Wrapper
|
||||
css={{
|
||||
background: theme.colors[colors.background as keyof typeof theme.colors],
|
||||
color: theme.colors[colors.texts as keyof typeof theme.colors],
|
||||
fontFamily: theme.fonts[font as keyof typeof theme.fonts]
|
||||
color: theme.colors[colors.texts],
|
||||
fontFamily: theme.fonts[font]
|
||||
}}
|
||||
>
|
||||
<Head>
|
||||
<style
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `body { background: ${theme.colors[colors.background]} }`
|
||||
}}
|
||||
/>
|
||||
</Head>
|
||||
<Content>
|
||||
<Avatar />
|
||||
<Name>{name}</Name>
|
||||
|
||||
Reference in new issue
Block a user