Skip to content

Commit

Permalink
:)
Browse files Browse the repository at this point in the history
  • Loading branch information
suvanbanerjee committed Sep 26, 2024
1 parent 59b32e5 commit 4c43303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/preparedness/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ const PreparednessPage = () => {
const value = event.target.value;
setSelectedDisaster(value);
if (value) {
window.location.href = `preparedness/${value}`;
window.location.href = `/preparedness/${value}`;
}
};

return (
<div
className={`relative min-h-screen bg-cover bg-center ${styles.fadeInBackground}`}
style={{ backgroundImage: 'url(preparedness.jpg)' }}
style={{ backgroundImage: 'url(/preparedness.jpg)' }}
>
<div className="absolute inset-0 bg-gradient-to-b from-black via-transparent to-black opacity-70"></div>
<div className="relative flex flex-col items-center justify-start min-h-screen p-6 text-center pt-20 md:pt-32 lg:pt-40"> {/* Adjusted to justify-start and added padding at the top */}
Expand Down

0 comments on commit 4c43303

Please sign in to comment.