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

created footer #67

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion src/views/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function Home({ data, setListPath, setAllLists }) {
};

return (
<div className="flex flex-col h-[80vh] my-8 p-8 bg-white rounded-3xl shadow-xl overflow-hidden mx-auto">
<div className="flex flex-col h-[70vh] my-8 p-8 bg-white rounded-3xl shadow-xl overflow-hidden mx-auto">
<ul className="font-archivo flex-grow overflow-y-auto space-y-4">
{data &&
data.map((list) => {
Expand Down
47 changes: 46 additions & 1 deletion src/views/Layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
padding-block: 0;
padding-block-end: 6.26rem;
width: min(72ch, 100%);
flex-grow: 1;
}

.Nav {
Expand All @@ -44,7 +45,6 @@
padding-bottom: max(env(safe-area-inset-bottom), 1rem);
padding-top: 1rem;
place-content: center;
/* position: fixed; */
width: 100%;
}

Expand Down Expand Up @@ -73,3 +73,48 @@
text-decoration-thickness: 0.22em;
text-underline-offset: 0.1em;
}

.footer {
background-color: #333;
color: #e8c900;
padding: 1.5rem 0;
text-align: center;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.footer p {
font-size: 1.5rem;
margin: 0;
font-weight: normal;
}

.footer ul {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 1.5rem;
padding: 0;
list-style-type: none;
}

.footer a {
color: #e8c900;
text-decoration: none;
}

.footer a:hover {
text-decoration: underline;
}

.footer p {
margin-top: 1rem;
}

.footer ul li a {
font-size: 1.5rem;
font-weight: bold;
}
74 changes: 74 additions & 0 deletions src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,80 @@ export function Layout() {
<main className="Layout-main">
<Outlet />
</main>

<footer className="footer">
<div className="container">
<p className="text-lg font-bold">Developed by:</p>
<ul>
<li>
<a
href="https://www.linkedin.com/in/allison-randel/"
target="_blank"
rel="noopener noreferrer"
>
Allison Randel
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/binmaemma/"
target="_blank"
rel="noopener noreferrer"
>
Emma Ma
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/sarah-mko/"
target="_blank"
rel="noopener noreferrer"
>
Sarah Mekonnen
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/codemarcos/"
target="_blank"
rel="noopener noreferrer"
>
Marcos Perez
</a>
</li>
</ul>
<p>Special thanks to our mentors:</p>
<ul>
<li>
<a
href="https://www.linkedin.com/in/devin-jaggernauth/"
target="_blank"
rel="noopener noreferrer"
>
Devin Jaggernauth
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/mindyzwan/"
target="_blank"
rel="noopener noreferrer"
>
Mindy Zwanziger
</a>
</li>
<li>
<a
href="https://www.linkedin.com/in/nathanejbrown/"
target="_blank"
rel="noopener noreferrer"
>
Nathan Brown
</a>
</li>
</ul>
</div>
</footer>
</div>
</>
);
Expand Down
Loading