diff --git a/components/data/socials.ts b/components/data/socials.ts index 1ce4fc7..bf503ee 100644 --- a/components/data/socials.ts +++ b/components/data/socials.ts @@ -3,7 +3,6 @@ import { FaDiscord, FaEnvelope, FaGithub, FaInstagram, FaSteam } from 'react-ico type Socials = { id: number, - name: string ref: string icon: IconType, copyValue?: boolean, @@ -12,32 +11,27 @@ type Socials = { export const socials: Array = [ { id: 1, - name: 'Github', ref: 'https://github.com/skidoodle', icon: FaGithub, }, { id: 2, - name: 'Steam', ref: 'https://steamcommunity.com/id/_albert', icon: FaSteam, }, { id: 3, - name: 'Email', ref: 'contact@albert.lol', icon: FaEnvelope, copyValue: true, }, { id: 4, - name: 'Instagram', ref: 'https://www.instagram.com/albertadam_/', icon: FaInstagram, }, { id: 5, - name: 'Discord', ref: 'albert#8838', icon: FaDiscord, copyValue: true, diff --git a/pages/_app.tsx b/pages/_app.tsx index 3292ae2..d807a67 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,9 +1,15 @@ import 'styles/globals.scss' +import Head from 'next/head' import { AppProps } from 'next/app' export default function({ Component, pageProps }: AppProps) { return ( - + <> + + albert + + + ) } \ No newline at end of file diff --git a/pages/_document.tsx b/pages/_document.tsx index 1f435a8..77abb2c 100644 --- a/pages/_document.tsx +++ b/pages/_document.tsx @@ -6,7 +6,6 @@ class AppDocument extends Document { - albert diff --git a/pages/index.tsx b/pages/index.tsx index 9fdab8e..5fab647 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -16,7 +16,6 @@ const fetcher = (url: RequestInfo) => fetch(url).then(r => r.json()) export default function() { const { data: spotify } = useSWR('/api/spotify', fetcher, { refreshInterval: 1000 }) if(!spotify) return - return (
@@ -50,7 +49,13 @@ export default function() {
{ socials.map(social => ( - { React.createElement(social.icon) } + + { React.createElement(social.icon) } + ))}