Skip to content

Commit

Permalink
animasiton css add about e
Browse files Browse the repository at this point in the history
  • Loading branch information
saagor16 committed Apr 17, 2024
1 parent 101ab3c commit a1c6993
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/About/About.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import 'animate.css';
const About = () => {
return (
<div className="container mx-auto">
<div className="sm:flex items-center max-w-screen-xl">
<div className="sm:w-1/2 p-10">
<div className="image object-center text-center">
<div className="image object-center text-center animate__animated animate__fadeInLeft">
<figure>
<img
src="https://i.imgur.com/WbQnbas.png"
Expand All @@ -14,14 +15,14 @@ const About = () => {
</div>
</div>
<div className="sm:w-1/2 p-5">
<div className="text">
<div className="text ">
<span className="text-gray-500 border-b-2 border-indigo-600 uppercase">
About us
</span>
<h2 className="my-4 font-bold text-3xl sm:text-4xl ">
<h2 className="my-4 font-bold text-3xl animate__animated animate__bounce sm:text-4xl ">
About <span className="text-indigo-600">Our RealResort</span>
</h2>
<p className="text-gray-700">
<p className="text-gray-700 animate__animated animate__fadeInRight">
Welcome to Our RealResort, an exquisite haven where luxury meets
nature in perfect harmony. Nestled along the sun-kissed shores of
an idyllic island, Our RealResort invites you to indulge in
Expand Down
1 change: 1 addition & 0 deletions src/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ const Home = () => {
<div className="mt-10">
<Last></Last>
</div>

</div>
</div>
);
Expand Down

0 comments on commit a1c6993

Please sign in to comment.