Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added_Navbar_Logo_Signout #23

Merged
merged 5 commits into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions client/src/Components/Footer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import React from "react";
//footer component
import { Card } from "react-bootstrap";

const Footer = () => {
return <div>Footer</div>;
return (
<footer
className="bg-danger py-3 border border-dark fixed-bottom "
style={{ color: "red" }}
>
<Card.Img variant="top" src="holder.js/200px160" />
</footer>
);
};

export default Footer;
24 changes: 21 additions & 3 deletions client/src/Components/Header.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
import React from "react";
import logo from "../assets/cyf_brand.png";
import { Navbar, Button, Col } from "react-bootstrap";
//header component
const Header = () => {
return (
<div>
<button>click me</button>Header
</div>
<>
<Navbar bg="light" expand="md" className="px-4">
<Col xs={5} md={3} lg={3} xl={3} xxl={2}>
<img src={logo} alt="logo" style={{ width: "100%" }} />
</Col>
<Col>
<h3 className="text-center font-weight-bold text-danger">TOOT</h3>
</Col>
<Col lg={1} xl={1} className="ms-auto">
<Button variant="danger" style={{ width: "100px" }}>
Sign Out
</Button>
</Col>
</Navbar>
<div
className="bg-danger py-3"
style={{ textAlign: "center", color: "white" }}
></div>
</>
);
};

Expand Down
Binary file added client/src/assets/cyf_brand.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.