Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kavinphab committed Dec 2, 2024
1 parent 4574711 commit b81d4e7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/app/culture/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Background from "@/components/culture/background";
const page = () => {
return (
<div>

<Background />
</div>
);
Expand Down
20 changes: 9 additions & 11 deletions src/components/culture/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import Nowruz from "/src/public/culture/Nowruz.png";
import ShabeYalda from "/src/public/culture/ShabeYalda.png";
import CultureTitle from "@/public/culture/Culture.svg";


const animation = {
hidden: { opacity: 0, y: 30 },
show: { opacity: 1, y: 0 },
Expand All @@ -18,16 +17,15 @@ const CultureText = () => {
<div>
{/* Animated Title */}
<div className="m-10 mb-10 mt-2 justify-self-center sm:m-20 sm:mt-5">
<motion.div
variants={animation}
initial="hidden"
whileInView="show"
transition={{ duration: 0.8 }}
className="mb-11 w-full text-balance px-11 pt-24 text-center text-isa-dark-red sm:text-lg md:text-2xl lg:mb-12 lg:text-4xl lg:leading-[65px]"
>
<Image src={CultureTitle} alt="Our Culture Page Title" />
</motion.div>

<motion.div
variants={animation}
initial="hidden"
whileInView="show"
transition={{ duration: 0.8 }}
className="mb-11 w-full text-balance px-11 pt-24 text-center text-isa-dark-red sm:text-lg md:text-2xl lg:mb-12 lg:text-4xl lg:leading-[65px]"
>
<Image src={CultureTitle} alt="Our Culture Page Title" />
</motion.div>
</div>
{/* Animated Nowruz Description */}
<motion.div
Expand Down

0 comments on commit b81d4e7

Please sign in to comment.