-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #215 from Ashwinib26/scroll-view-fix
Fixed Scroll View of Navbar links and added effects on TodaysSpecial component #138
- Loading branch information
Showing
13 changed files
with
188 additions
and
123 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
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,15 +1,20 @@ | ||
import Landing from '../ui/Landing'; | ||
import ReviewCarousel from '../ui/ReviewCarousel'; | ||
import FeedbackForm from '../ui/FeedbackForm'; | ||
import About from './About'; | ||
|
||
import Landing from "../ui/Landing"; | ||
import ReviewCarousel from "../ui/ReviewCarousel"; | ||
import FeedbackForm from "../ui/FeedbackForm"; | ||
import About from "./About"; | ||
import React, { useEffect } from 'react'; | ||
|
||
export default function Home() { | ||
return ( | ||
<div id="home" className="bg-[#FDF3C7]"> | ||
<Landing /> | ||
<About /> | ||
<ReviewCarousel /> | ||
<FeedbackForm /> | ||
</div> | ||
); | ||
} | ||
useEffect(() => { | ||
window.scrollTo(0, 0); | ||
}, []); | ||
return ( | ||
<div id="home" className="bg-[#FDF3C7]"> | ||
<Landing /> | ||
<About/> | ||
<ReviewCarousel/> | ||
<FeedbackForm /> | ||
</div> | ||
) | ||
} |
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,21 +1,25 @@ | ||
import Notfound from '../../assets/Menu_assets/Notfound.gif'; | ||
|
||
const NotFound = () => { | ||
return ( | ||
<div> | ||
<div className="flex flex-col items-center justify-center h-screen"> | ||
<h1 className="text-5xl font-bold mb-8 text-center">404 Not Found</h1> | ||
<img | ||
src={Notfound} // Replace with your actual GIF path | ||
alt="Not Found GIF" | ||
className="w-full max-w-md" | ||
/> | ||
<p className="mt-8 text-lg text-gray-700 text-center"> | ||
Sorry, the page you are looking for could not be found. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
import Notfound from "../../assets/Menu_assets/Notfound.gif" | ||
import React, { useState , useEffect } from 'react'; | ||
|
||
const NotFound = () => { | ||
useEffect(() => { | ||
window.scrollTo(0, 0); | ||
}, []); | ||
return ( | ||
<div> | ||
<div className="flex flex-col items-center justify-center h-screen"> | ||
<h1 className="text-5xl font-bold mb-8 text-center">404 Not Found</h1> | ||
<img | ||
src={Notfound} // Replace with your actual GIF path | ||
alt="Not Found GIF" | ||
className="w-full max-w-md" | ||
/> | ||
<p className="mt-8 text-lg text-gray-700 text-center"> | ||
Sorry, the page you are looking for could not be found. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
export default NotFound; |
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
Oops, something went wrong.