Skip to content
Open
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/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { ArrowDown } from "lucide-react";
const HORIZ_SCROLL_SPEED_MULTIPLIER = 0.5;

// when to play the hinge animation on the about page
const ABOUT_PAGE_HINGE_ANIMATION_THRESHOLD = window.innerHeight * 0.5;
const ABOUT_PAGE_HINGE_ANIMATION_THRESHOLD = window.innerHeight * 0.7;

function App() {
const containerRef = useRef<HTMLDivElement>(null);
Expand Down
6 changes: 3 additions & 3 deletions src/components/about/AboutPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ export const AboutPage = (props: {addHingeAnimation: boolean}) => {
<img
src="/about/about_plant.svg"
alt="plant"
className="absolute bottom-[3vh] left-16 w-[140px] "
className="absolute bottom-[2vh] left-1/10 w-[100px]"
/>
<img
src="/about/about_bear.webp"
alt="bear"
className="hidden lg:block absolute bottom-[3.6vh] z-40 right-3/10 lg:w-[220px]"
className="hidden lg:block absolute bottom-[3vh] z-40 right-3/10 lg:w-[220px]"
/>
<img
src="/about/about_bear_mobile.webp"
alt="bear"
className="lg:hidden absolute bottom-[3.6vh] z-40 right-3/10 w-[150px]"
className="lg:hidden absolute bottom-[3.6vh] z-40 right-1/10 w-[150px]"
/>
<FloorShownOnSmall />
</div>
Expand Down