1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-12-17 20:34:19 +00:00
steffoweb/pages/_app.tsx
2023-05-28 04:37:00 +02:00

29 lines
875 B
TypeScript

import {default as Link} from "next/link"
import {default as Image} from "next/future/image"
import React from 'react'
import "./_app.css"
import {default as imgSRound} from "../public/s-round.png"
import type {AppProps} from "next/app"
import { config } from '@fortawesome/fontawesome-svg-core'
config.autoAddCss = false
const App = ({Component, pageProps}: AppProps) => {
return <>
<h1>
<Image alt={""} src={imgSRound} style={{height: "48px", width: "48px", display: "inline-block", verticalAlign: "text-bottom"}}/> Steffo
</h1>
<main>
<Component {...pageProps}/>
</main>
<footer>
© {new Date().getFullYear()} Stefano Pigozzi | <Link href={"https://github.com/Steffo99/steffoweb"}>Source code</Link>
</footer>
</>
}
// noinspection JSUnusedGlobalSymbols
export default App;