generated from the-collab-lab/smart-shopping-list
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from the-collab-lab/sd-dt-landingpage
Issue #14.5: Implement LandingPage Component & Enhance Navigation UI
- Loading branch information
Showing
9 changed files
with
316 additions
and
139 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
.landing-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 80vh; | ||
padding: 40px; | ||
margin: 0; | ||
overflow: auto; | ||
box-sizing: border-box; | ||
background-color: #f4f6f8f1; | ||
text-align: center; | ||
font-family: 'Arial', sans-serif; | ||
} | ||
|
||
.logo { | ||
width: 650px; | ||
height: auto; | ||
max-width: 100%; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.main-heading { | ||
font-size: 2.5rem; | ||
line-height: 1.4; | ||
color: #333; | ||
max-width: 800px; | ||
margin-bottom: 15px; | ||
padding: 0 10px; | ||
font-weight: 400; | ||
} | ||
|
||
.collab-lab-link { | ||
color: #007bff; | ||
text-decoration: none; | ||
} | ||
|
||
.collab-lab-link:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.subheading { | ||
font-size: 1.8 rem; | ||
color: #555; | ||
margin-bottom: 20px; | ||
padding: 0 10px; | ||
} | ||
|
||
.sign-in-button { | ||
margin-top: 20px; | ||
} | ||
|
||
.Nav { | ||
width: 100%; | ||
position: fixed; | ||
bottom: 0; | ||
z-index: 1000; | ||
display: flex; | ||
justify-content: center; | ||
padding: 10 15px; | ||
background-color: #fff; | ||
clear: both; | ||
} | ||
|
||
.Nav-link { | ||
margin: 10px 0; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.main-heading { | ||
font-size: 1.8rem; | ||
} | ||
|
||
.subheading { | ||
font-size: 1.5rem; | ||
} | ||
} | ||
|
||
@media (max-width: 480px) { | ||
.main-heading { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.subheading { | ||
font-size: 1.2rem; | ||
} | ||
|
||
.logo { | ||
width: 100%; | ||
max-width: 200px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import './LandingPage.css'; | ||
|
||
export function LandingPage() { | ||
return ( | ||
<div className="landing-container"> | ||
<img | ||
src={`${import.meta.env.BASE_URL}logo.png`} | ||
alt="Logo" | ||
className="logo" | ||
/> | ||
<h1 className="main-heading"> | ||
<strong>CollabShop</strong> is more than just a grocery app—it's a | ||
tool that embodies the spirit of teamwork and collaboration. Created by | ||
early-career developers from{' '} | ||
<a | ||
href="https://the-collab-lab.codes/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="collab-lab-link" | ||
> | ||
<strong>The Collab Lab</strong> | ||
</a> | ||
, it allows you to effortlessly share and work together on lists, | ||
bringing people closer, even when planning something as simple as a | ||
grocery run. | ||
</h1> | ||
<p className="subheading"> | ||
Ready to start your journey? Click the sign-in button below to begin | ||
planning your grocery runs with CollabShop today. | ||
</p> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
export * from './ManageList'; | ||
export * from './Home'; | ||
export * from './Layout'; | ||
export * from './LandingPage'; | ||
export * from './List'; | ||
export * from './Disclosure'; // export src/view/disclosure | ||
export * from './Disclosure'; |