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

Added remaining slides #3-#10 components #5

Merged
merged 1 commit into from
Feb 5, 2025
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
98 changes: 98 additions & 0 deletions src/components/ScrollingEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ import note from "../images/note.svg";
import stain from "../images/stain.svg";
import stack from "../images/stack.svg";
import sticky_note from "../images/sticky_note.svg";
import broken_pencil from "../images/brokenpencil.svg";
import ticket2 from "../images/ticket2.svg";
import yellowpen from "../images/yellowpen.svg"
import pizzaslice from "../images/pizzaslice.svg"
import pinkhighlighter from "../images/pinkhighlighter.svg"
import pizzaquarter from "../images/pizzaquarter.svg"
import record from "../images/record.svg"
import pinkpostit from "../images/pinkpostit.svg"
import threequartpizza from "../images/threequartpizza.svg"
import "../App.css";

function ScrollingEffect({ slides }) {
Expand Down Expand Up @@ -81,6 +90,95 @@ function ScrollingEffect({ slides }) {
{index === 1 && <img src={stain} alt="Stain Background" style={{ position: "absolute", top: "0%", right: "0%", width: "40%", height: "auto", zIndex: 10 }} />}
{index === 1 && <img src={stack} alt="Stack Background" style={{ position: "absolute", top: "2%", left: "-30%", width: "45%", height: "auto", zIndex: 10 }} />}
{index === 1 && <img src={sticky_note} alt="StickyNote Background" style={{ position: "absolute", top: "30%", left: "-35%", width: "45%", height: "auto", zIndex: 10 }} />}

{index === 2 && (
<>
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "0%", left: "-10%", width: "25%", height: "auto", zIndex: 10 }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "11%", left: "-20%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={broken_pencil} alt="Broken Pencil Background" style={{ position: "absolute", top: "-3%", right: "-25%", width: "60%", height: "auto", zIndex: 10 , transform: "rotate(10deg)"}} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "30%", left: "-30%", width: "45%", height: "auto", zIndex: 10 }} />
<img src={yellowpen} alt="Yellow Pen Background" style={{ position: "absolute", top: "35%", right: "-25%", width: "50%", height: "auto", zIndex: 10 , transform: "rotate(10deg)"}} />
<img src={coffee} alt="Coffee Background" style={{ position: "absolute", top: "50%", left:"-75%", width: "45em", height: "auto", zIndex: 10}} />
</>
)}

{index === 3 && (
<>
<img src={pizzaslice} alt="Pizza Background" style={{ position: "absolute", top: "6%", left: "-40%", width: "35%", height: "auto", zIndex: 10 }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "30%", right: "-20%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "55%", right: "-35%", width: "45%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={stain} alt="Stain Background" style={{ position: "absolute", top: "60%", left: "-20%", width: "40%", height: "auto", zIndex: 10 }} />
<img src={note} alt="Note Background" style={{ position: "absolute", top: "10%", right: "-20%", width: "35%", height: "auto", zIndex: 10 }} />
</>
)}

{index === 4 && (
<>
<img src={pizzaquarter} alt="Pizza Background" style={{ position: "absolute", top: "0%", right: "-30%", width: "50%", height: "auto", zIndex: 10 }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "37%", left: "-20%", width: "20%", height: "auto", zIndex: 10, transform: "rotate(40deg)" }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "45%", left: "-30%", width: "20%", height: "auto", zIndex: 10, transform: "rotate(10deg)" }} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "55%", left: "-35%", width: "45%", height: "auto", zIndex: 10, transform: "rotate(0deg)" }} />
<img src={pinkhighlighter} alt="Pink Highlighter Background" style={{ position: "absolute", top: "10%", left: "-45%", width: "65%", height: "auto", zIndex: 10, transform: "rotate(0deg)" }} />
<img src={record} alt="Record Background" style={{ position: "absolute", top: "45%", right: "-30%", width: "35%", height: "auto", zIndex: 10, transform: "rotate(0deg)" }} />
</>
)}

{index === 5 && (
<>
<img src={pizzaslice} alt="Pizza Background" style={{ position: "absolute", top: "0%", left: "-20%", width: "35%", height: "auto", zIndex: 10, transform: "rotate(-20deg)" }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "45%", left: "-20%", width: "20%", height: "auto", zIndex: 10, transform: "rotate(10deg)" }} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "40%", right: "-35%", width: "45%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={stain} alt="Stain Background" style={{ position: "absolute", top: "60%", left: "-20%", width: "40%", height: "auto", zIndex: 10 }} />
<img src={note} alt="Note Background" style={{ position: "absolute", top: "22%", left: "-20%", width: "35%", height: "auto", zIndex: 10, transform: "rotate(-20deg)" }} />
<img src={pencil} alt="Pencil Background" style={{ position: "absolute", top: 50, right: "-20%", width: "40%", height: "auto", zIndex: 10 }} />
</>
)}

{index === 6 && (
<>
<img src={coffee} alt="Coffee Background" style={{ position: "absolute", top: "-20%", left: "-60%", width: "75%", height: "auto", zIndex: 10, transform: "rotate(-20deg)" }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "-5%", left: "30%", width: "15%", height: "auto", zIndex: 10, transform: "rotate(10deg)" }} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "00%", right: "-35%", width: "45%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={note} alt="Note Background" style={{ position: "absolute", top: "72%", left: "-25%", width: "35%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={pencil} alt="Pencil Background" style={{ position: "absolute", top: "75%", right: "-35%", width: "40%", height: "auto", zIndex: 10, transform: "rotate(100deg)" }} />
<img src={pinkpostit} alt="Pink Post It Background" style={{ position: "absolute", top: "25%", right: "-30%", width: "60%", height: "auto", zIndex: 10, transform: "rotate(10deg)" }} />
</>
)}


{index === 7 && (
<>
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "-2%", right: "-20%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(30deg)" }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "10%", right: "-25%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "55%", left: "-35%", width: "45%", height: "auto", zIndex: 10, transform: "rotate(-10deg)" }} />
<img src={stain} alt="Stain Background" style={{ position: "absolute", top: "5%", left: "-25%", width: "40%", height: "auto", zIndex: 10 }} />
<img src={note} alt="Note Background" style={{ position: "absolute", top: "70%", right: "-30%", width: "35%", height: "auto", zIndex: 10 }} />
</>
)}


{index === 8 && (
<>
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "60%", left: "-10%", width: "25%", height: "auto", zIndex: 10 }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "70%", left: "-20%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={broken_pencil} alt="Broken Pencil Background" style={{ position: "absolute", top: "-5%", right: "-40%", width: "60%", height: "auto", zIndex: 10 , transform: "rotate(30deg)"}} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "75%", right: "-30%", width: "45%", height: "auto", zIndex: 10 }} />
<img src={record} alt="Record Background" style={{ position: "absolute", top: "45%", right: "-35%", width: "35%", height: "auto", zIndex: 10 , transform: "rotate(10deg)"}} />
<img src={threequartpizza} alt="Pizza Background" style={{ position: "absolute", top: "-5%", left:"-35%", width: "60%", height: "auto", zIndex: 10, transform: "rotate(-10deg)"}} />
</>
)}


{index === 9 && (
<>
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "60%", left: "-10%", width: "25%", height: "auto", zIndex: 10 }} />
<img src={ticket2} alt="Full Ticket Background" style={{ position: "absolute", top: "70%", left: "-20%", width: "25%", height: "auto", zIndex: 10, transform: "rotate(20deg)" }} />
<img src={broken_pencil} alt="Broken Pencil Background" style={{ position: "absolute", top: "-5%", right: "-40%", width: "60%", height: "auto", zIndex: 10 , transform: "rotate(30deg)"}} />
<img src={stack} alt="Stack Background" style={{ position: "absolute", top: "75%", right: "-30%", width: "45%", height: "auto", zIndex: 10 }} />
<img src={record} alt="Record Background" style={{ position: "absolute", top: "45%", right: "-35%", width: "35%", height: "auto", zIndex: 10 , transform: "rotate(10deg)"}} />
<img src={threequartpizza} alt="Pizza Background" style={{ position: "absolute", top: "-5%", left:"-35%", width: "60%", height: "auto", zIndex: 10, transform: "rotate(-10deg)"}} />
</>
)}


<div className="text-content">
Expand Down
10 changes: 10 additions & 0 deletions src/images/brokenpencil.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/images/pinkhighlighter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/images/pinkpostit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions src/images/pizzaquarter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/images/pizzaslice.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions src/images/record.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading