generated from the-collab-lab/smart-shopping-list
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Header Design & Carousel Base + About page (#64)
* moving navbar to header and getting background color * working on the unauth header * getting the hamburger to show on the small screen and the links to be correct color * spacing the navigation links on expanded view * fixing the hamburger being bumped down when trying mobile * getting the brand name to be at the top like design * getting the hamburger and title on same page when on iphone SE * making sure the navbar toggler icon can be seen * making sure nav bar close on mobile clicks * Bb/about page carousel design (#66) * adding the borders and positioning the text areas on the page * figuring out some spacing on thank you & creators with theme-colors set * getting the lin icons to space evenly and the same on all of them * fixing the margins of the page for the whole about page * getting the base of the carousel with image working * card title on carousel card * when merged the about page into header branch all the buttons broke were just beige not sure why but fixed * changing color of svg icons * the creators and thank you boxes are equal size now * fixed media queries for mobile size to make sure button looked okay * switch button color and bg for clearer on small screens and more consistency * moving sign out button outside of menu hamburger * fixing a change to the layout width didn't see got changed * added about to navbar and removed button like the design * fix button size
- Loading branch information
Showing
25 changed files
with
421 additions
and
252 deletions.
There are no files selected for viewing
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
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
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
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,35 +1,56 @@ | ||
.Nav { | ||
background-color: var(--color-bg); | ||
border-top: 1px solid var(--color-border); | ||
bottom: 0; | ||
display: flex; | ||
flex-direction: row; | ||
padding-bottom: max(env(safe-area-inset-bottom), 1rem); | ||
padding-top: 1rem; | ||
place-content: center; | ||
position: fixed; | ||
width: 100%; | ||
|
||
&__container { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: space-evenly; | ||
width: min(72ch, 100%); | ||
@import "../styles/variables.scss"; | ||
|
||
.navbar { | ||
.navbar-brand { | ||
font-size: 3.5rem !important; | ||
|
||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); | ||
|
||
@media (max-width: 430px) { | ||
font-size: 3rem !important; | ||
} | ||
@media (max-width: 375px) { | ||
font-size: 2.5rem !important; | ||
} | ||
} | ||
|
||
&__link { | ||
--color-text: var(--color-accent); | ||
color: var(--color-text); | ||
font-size: 1.4em; | ||
flex: 0 1 auto; | ||
.nav-link { | ||
color: $primary-beige; | ||
font-size: 1.5rem; | ||
line-height: 1; | ||
padding: 0.8rem; | ||
text-align: center; | ||
text-underline-offset: 0.1em; | ||
|
||
&.active { | ||
text-decoration-thickness: 0.22em; | ||
text-underline-offset: 0.1em; | ||
text-decoration: underline; | ||
color: $primary-beige !important; | ||
text-underline-offset: 0.3em; | ||
} | ||
|
||
&:hover { | ||
color: $secondary-blue; | ||
} | ||
} | ||
|
||
.navbar .navbar-toggler { | ||
background-color: $primary-beige; | ||
} | ||
} | ||
|
||
.navbar button { | ||
background-color: $primary-beige; | ||
color: $secondary-blue; | ||
font-weight: bold; | ||
border: none; | ||
|
||
@media (hover: hover) { | ||
background-color: $secondary-blue; | ||
color: $primary-beige; | ||
} | ||
|
||
@media (min-width: 431px) { | ||
font-size: 1.5rem; | ||
text-align: center; | ||
border: none; | ||
padding: 0.5rem; | ||
width: 11rem; | ||
} | ||
} |
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
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
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,30 @@ | ||
// Declare modules for image types | ||
declare module "*.png" { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module "*.jpg" { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module "*.jpeg" { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module "*.gif" { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module "*.svg" { | ||
const value: string; | ||
export default value; | ||
} | ||
|
||
declare module "*.webp" { | ||
const value: string; | ||
export default value; | ||
} |
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
Oops, something went wrong.