Skip to content

Commit

Permalink
Added Footer Component
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxwell Omdal committed Nov 16, 2023
1 parent a6b81db commit a3a03ea
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

.App-header {
background-color: #282c34;
color: white;
min-height: 20vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}

.App-link {
Expand Down
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import DOMPurify from "dompurify";
import './App.css';
import Footer from './Footer';

function App() {

Expand Down Expand Up @@ -35,6 +36,7 @@ function App() {
<h2>Location</h2>
<p>We are in the process of securing a space for our community. The space will be in San Francisco</p>
</div>
<Footer />
</div>
);
}
Expand Down
10 changes: 10 additions & 0 deletions src/Footer.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.footer {
width: 100%;
margin: 0px;
padding: 15px;
background-color: #282c34;
color: white;
p {
margin: 0px;
}
}
37 changes: 37 additions & 0 deletions src/Footer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// Footer.js
import './Footer.css';
import React from 'react';

const copyright="©2023 Sequoia Fabrica. All rights reserved."

const Footer = () => {
const getContactItem = () => {

}

const getLocationItem = () => {

}

const getDonationItem = () => {

}

const footerItems = []
return (
<footer className='footer'>
<ul>
{footerItems.map((item, index) => (
<li key={index}>{item}</li>
))}
</ul>
<div>
<p>{copyright}</p>
</div>
</footer>
);
};



export default Footer;

0 comments on commit a3a03ea

Please sign in to comment.