Created _document.tsx, fixed footer profile pic

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
Guusvanmeerveld 4 years ago
parent 24a131a951
commit 7c77007c6d

@ -5,7 +5,7 @@ const Footer = () => {
return ( return (
<footer className="footer"> <footer className="footer">
<div className="container"> <div className="container">
<img src="/profile.png" width="100%" height="100%" alt="" className="profile" /> <img src="/img/profile.png" width="100%" height="100%" alt="" className="profile" />
<div className="branding"> <div className="branding">
Guus van Meerveld <br /> Guus van Meerveld <br />
&#169; {year} &#169; {year}

@ -0,0 +1,20 @@
import Document, { Html, Head, Main, NextScript } from "next/document";
export default class AppDocument extends Document {
static async getInitialProps(ctx) {
const initialProps = await Document.getInitialProps(ctx);
return { ...initialProps };
}
render() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}
Loading…
Cancel
Save