Skip to content

Commit

Permalink
it finally worked (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarghandour authored Nov 6, 2024
2 parents 891b7ee + 98cfcf0 commit 88437bf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/components/MeetUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { forwardRef } from "react";

const MeetUs = forwardRef<HTMLDivElement>((_, ref) => {
return (
<section ref={ref} className="bg-black h-screen snap-start text-white">
<section ref={ref} className="bg-black h-[100dvh] snap-start text-white">
<div className="w-full md:w-[80%] m-auto text-center flex flex-col justify-center h-full">
<div className="center flex-col">
<span className="font-extrabold text-main text-5xl">Meet</span>
Expand Down
2 changes: 1 addition & 1 deletion app/components/ScrollBySection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const ScrollBySection: React.FC = () => {
}, [activeIndex]);

return (
<div className="h-screen w-full overflow-hidden">
<div className="h-[100dvh] w-full overflow-hidden">
<Welcome
ref={(el) => {
if (el) sectionRefs.current[0] = el;
Expand Down
2 changes: 1 addition & 1 deletion app/components/Welcome/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Welcome = forwardRef<HTMLDivElement>((_, ref) => {
return (
<section
ref={ref}
className="min-h-screen snap-start bg-black pt-10 gap-5 md:gap-12 flex flex-col justify-around text-white"
className="min-h-[100dvh] snap-start bg-black pt-10 gap-5 md:gap-12 flex flex-col justify-around text-white"
>
<div className="center flex-col mt-28">
<h2 className="font-extrabold">Welcome To</h2>
Expand Down
2 changes: 1 addition & 1 deletion app/components/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const Nav = () => {
${
visible ? "opacity-100" : "opacity-0 pointer-events-none"
}
${!isHeaderVisible ? "h-screen top-0" : "top-24 "}`}
${!isHeaderVisible ? "h-[100dvh] top-0" : "top-24 "}`}
>
<ul
className={`flex flex-col justify-center items-center transition-transform duration-500 ease-in-out
Expand Down

1 comment on commit 88437bf

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for blackwaves ready!

✅ Preview
https://blackwaves-ka5qql00n-omarkhaled9913gmailcoms-projects.vercel.app

Built with commit 88437bf.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.