mirror of
https://github.com/Steffo99/steffoweb.git
synced 2024-11-24 17:14:30 +00:00
29 lines
875 B
TypeScript
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;
|