Skip to content

Commit

Permalink
Merge pull request #23 from AnoshMalik/feature/Suggestion-Page
Browse files Browse the repository at this point in the history
Added_Navbar_Logo_Signout
  • Loading branch information
Roman-Hal authored Apr 26, 2023
2 parents 3e36272 + ed95ac3 commit 58b3501
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 5 deletions.
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.

0 comments on commit 58b3501

Please sign in to comment.