-
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.
🎨 restructures header, navigation, hero image
- Loading branch information
Showing
18 changed files
with
98 additions
and
154 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import NavigationScrollLogo from "./NavigationScrollLogo" | ||
import PageLink from "./PageLink" | ||
import ScrollLink from "./ScrollLink" | ||
import { Navbar } from "flowbite-react" | ||
|
||
const NavigationBarScroll = () => { | ||
return ( | ||
<Navbar fluid> | ||
<NavigationScrollLogo /> | ||
<div> | ||
<Navbar.Toggle /> | ||
</div> | ||
<Navbar.Collapse> | ||
<ScrollLink linkName="celebration" location="#celebration" /> | ||
<ScrollLink linkName="helpful information" location="#info" /> | ||
<ScrollLink linkName="our story" location="#our-story" /> | ||
<ScrollLink linkName="photo gallery" location="#photos" /> | ||
<ScrollLink linkName="contact us" location="#contact" /> | ||
<PageLink linkName="rsvp" location="/rsvp" /> | ||
</Navbar.Collapse> | ||
</Navbar> | ||
) | ||
} | ||
|
||
export default NavigationBarScroll |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import leafLogo from "../assets/leaf-decoration.png" | ||
|
||
const NavigationScrollLogo = () => { | ||
const handleScrollToTop = () => { | ||
window.scrollTo({ top: 0, behavior: "smooth" }) | ||
} | ||
return ( | ||
<img | ||
src={leafLogo} | ||
className="mr-2 w-20 hover:cursor-pointer" | ||
alt="Kayti and Jake wedding logo" | ||
onClick={handleScrollToTop} | ||
/> | ||
) | ||
} | ||
|
||
export default NavigationScrollLogo |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import hero from "../assets/hero.jpeg" | ||
import heroMobile from "../assets/hero-mobile.jpeg" | ||
|
||
const AboveTheFold = () => { | ||
return ( | ||
<> | ||
{/* mobile view */} | ||
<div className="text-center md:hidden"> | ||
<img | ||
src={heroMobile} | ||
alt="Kayti and Jake sitting outdoors in the foreground of a mountain with wispy clouds in the sky" | ||
className="opacity-50" | ||
/> | ||
<div className="absolute left-0 right-0 top-20"> | ||
<h1 className="font-moontime text-6xl">Kayti and Jake</h1> | ||
</div> | ||
</div> | ||
{/* full screen view */} | ||
<div className="hidden text-center md:contents"> | ||
<img | ||
src={hero} | ||
alt="Kayti and Jake sitting outdoors in the foreground of a mountain with wispy clouds in the sky" | ||
className="object-cover opacity-50" | ||
/> | ||
<div className="absolute left-0 right-0 top-20"> | ||
<h1 className="font-moontime text-9xl">Kayti and Jake</h1> | ||
</div> | ||
</div> | ||
</> | ||
) | ||
} | ||
|
||
export default AboveTheFold |
This file was deleted.
Oops, something went wrong.
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