2022-10-16 23:58:17 +00:00
|
|
|
import {default as Link} from "next/link"
|
|
|
|
import {default as Image} from "next/future/image"
|
2022-02-19 02:29:14 +00:00
|
|
|
import React from 'react'
|
2022-10-16 02:33:33 +00:00
|
|
|
|
2022-02-19 02:29:14 +00:00
|
|
|
import "./_app.css"
|
|
|
|
|
2022-10-16 23:58:17 +00:00
|
|
|
import {default as imgSRound} from "../public/s-round.png"
|
|
|
|
|
2022-10-16 02:33:33 +00:00
|
|
|
import type {AppProps} from "next/app"
|
2022-02-19 02:29:14 +00:00
|
|
|
|
2023-01-16 16:33:50 +00:00
|
|
|
import { config } from '@fortawesome/fontawesome-svg-core'
|
|
|
|
config.autoAddCss = false
|
2022-02-19 02:29:14 +00:00
|
|
|
|
2022-10-16 02:33:33 +00:00
|
|
|
const App = ({Component, pageProps}: AppProps) => {
|
|
|
|
return <>
|
|
|
|
<h1>
|
2022-10-16 23:58:17 +00:00
|
|
|
<Image alt={""} src={imgSRound} style={{height: "48px", width: "48px", display: "inline-block", verticalAlign: "text-bottom"}}/> Steffo's website
|
2022-10-16 02:33:33 +00:00
|
|
|
</h1>
|
2023-05-27 15:34:04 +00:00
|
|
|
<main>
|
2023-02-17 04:58:48 +00:00
|
|
|
<Component {...pageProps}/>
|
2023-05-27 15:34:04 +00:00
|
|
|
</main>
|
2022-10-16 02:33:33 +00:00
|
|
|
<footer>
|
|
|
|
© {new Date().getFullYear()} Stefano Pigozzi | <Link href={"https://github.com/Steffo99/steffoweb-2021"}>Source code</Link>
|
|
|
|
</footer>
|
|
|
|
</>
|
2022-02-19 02:29:14 +00:00
|
|
|
}
|
|
|
|
|
2022-10-16 02:33:33 +00:00
|
|
|
// noinspection JSUnusedGlobalSymbols
|
2022-02-19 02:29:14 +00:00
|
|
|
export default App;
|