Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #42 from CBID2/adding-a-footer
Browse files Browse the repository at this point in the history
feat: creating a footer
  • Loading branch information
YuriDevAT authored Oct 25, 2023
2 parents 2ac9a5e + 5c82834 commit 9eaa45a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
18 changes: 18 additions & 0 deletions pages/components/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from "react";
import Image from "next/image";
import logo from "../../stories/assets/logo.png";

const Footer = () => {
return (
<footer
style={{
width: "100%",
}}
>
<Image src={logo} alt="" width={100} height="auto" />
<p>AccessibilityMentor 2023. All rights reserved.</p>
</footer>
);
};

export default Footer;
2 changes: 2 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Head from "next/head";
import Content from "../components/content";
import Header from "./components/Header";
import Hero from "../components/hero/Hero";
import Footer from "./components/Footer";

export default function Home() {
return (
Expand All @@ -16,6 +17,7 @@ export default function Home() {
<Content />
<Hero />
</main>
<Footer />
</div>
);
}
Binary file added stories/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9eaa45a

Please sign in to comment.