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 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
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: bg-neutral;
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;
} */
75 changes: 75 additions & 0 deletions src/views/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,81 @@ export function Layout() {
<main className="Layout-main">
<Outlet />
</main>

<footer className="footer bg-neutral text-center flex items-center justify-center py-10">
<div className="text-center">
<p className="text-xl font-extrabold text-[#e8c900]">
<span>Developed by: </span>
<a
href="https://www.linkedin.com/in/binmaemma/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
Emma Ma
</a>
,
<a
href="https://www.linkedin.com/in/sarah-mko/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
{' '}
Sarah Mekonnen
</a>
,
<a
href="https://www.linkedin.com/in/codemarcos/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
{' '}
Marcos Perez
</a>
,
<a
href="https://www.linkedin.com/in/allison-randel/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
{' '}
Allison Randel{' '}
</a>
<span className="ml-8">Special thanks to our mentors: </span>
<a
href="https://www.linkedin.com/in/nathanejbrown/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
Nathan Brown
</a>
,
<a
href="https://www.linkedin.com/in/devin-jaggernauth/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
{' '}
Devin Jaggernauth
</a>
,
<a
href="https://www.linkedin.com/in/mindyzwan/"
target="_blank"
rel="noopener noreferrer"
className="text-[#e8c900] no-underline hover:underline"
>
{' '}
Mindy Zwanziger
</a>
</p>
</div>
</footer>
</div>
</>
);
Expand Down
Loading