1
Fork 0
mirror of https://github.com/Steffo99/steffoweb.git synced 2024-11-25 01:24:29 +00:00
steffoweb/pages/_app.tsx

30 lines
875 B
TypeScript
Raw Normal View History

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>
2023-05-28 02:37:00 +00:00
<Image alt={""} src={imgSRound} style={{height: "48px", width: "48px", display: "inline-block", verticalAlign: "text-bottom"}}/> Steffo
2022-10-16 02:33:33 +00:00
</h1>
<main>
2023-02-17 04:58:48 +00:00
<Component {...pageProps}/>
</main>
2022-10-16 02:33:33 +00:00
<footer>
2023-05-27 16:12:16 +00:00
© {new Date().getFullYear()} Stefano Pigozzi | <Link href={"https://github.com/Steffo99/steffoweb"}>Source code</Link>
2022-10-16 02:33:33 +00:00
</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;