Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Scale and Lazy loading #554

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frontend/src/components/Features.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,28 @@ const Features = () => {
<div className="flex flex-wrap -m-4">
<div className="xl:w-1/4 md:w-1/2 p-4">
<div className="border border-sky-500 border-opacity-75 p-6 rounded-lg hover:bg-blue-300 dark:hover:bg-blue-950 hover:border-sky-700 backdrop-blur-sm cursor-pointer transition-transform duration-300 hover:-translate-y-1">
<img src={responsiveDesignGif} alt="Responsive Design" className="w-full mb-4" />
<img src={responsiveDesignGif} alt="Responsive Design" className="w-full mb-4 transition-transform duration-300 ease-in-out hover:scale-[1.02]" loading="lazy" />
<h2 className="text-lg text-[#000435] dark:text-white font-medium title-font mb-2">Responsive Design</h2>
<p className="leading-relaxed text-base">All components are from best sources and designed to be fully responsive 📝 ensuring they look great on any device📱</p>
</div>
</div>
<div className="xl:w-1/4 md:w-1/2 p-4">
<div className="border border-sky-500 border-opacity-75 p-6 rounded-lg hover:bg-blue-300 dark:hover:bg-blue-950 hover:border-sky-700 backdrop-blur-sm cursor-pointer transition-transform duration-300 hover:-translate-y-1">
<img src={leaderboardGif} alt="Leaderboard" className="w-full mb-4" />
<img src={leaderboardGif} alt="Leaderboard" className="w-full mb-4 transition-transform duration-300 ease-in-out hover:scale-[1.02]" loading="lazy" />
<h2 className="text-lg text-[#000435] dark:text-white font-medium title-font mb-2">Leaderboard</h2>
<p className="leading-relaxed text-base">Compete with other developers and 🪜 climb the leaderboard by sharing your best components and get recognized 🥇</p>
</div>
</div>
<div className="xl:w-1/4 md:w-1/2 p-4">
<div className="border border-sky-500 border-opacity-75 p-6 rounded-lg hover:bg-blue-300 dark:hover:bg-blue-950 hover:border-sky-700 backdrop-blur-sm cursor-pointer transition-transform duration-300 hover:-translate-y-1">
<img src={personalizationGif} alt="Personalization" className="w-full mb-4" />
<img src={personalizationGif} alt="Personalization" className="w-full mb-4 transition-transform duration-300 ease-in-out hover:scale-[1.02]" loading="lazy" />
<h2 className="text-lg text-[#000435] dark:text-white font-medium title-font mb-2">Personalization</h2>
<p className="leading-relaxed text-base">Engage with the community by 👍/👎 components. Save your 💖 components for quick access in your future projects.</p>
</div>
</div>
<div className="xl:w-1/4 md:w-1/2 p-4">
<div className="border border-sky-500 border-opacity-75 p-6 rounded-lg hover:bg-blue-300 dark:hover:bg-blue-950 hover:border-sky-700 backdrop-blur-sm cursor-pointer transition-transform duration-300 hover:-translate-y-1">
<img src={customizableCodeSnippetsGif} alt="Customizable Code Snippets" className="w-full mb-4" />
<img src={customizableCodeSnippetsGif} alt="Customizable Code Snippets" className="w-full mb-4 transition-transform duration-300 ease-in-out hover:scale-[1.02]" loading="lazy" />
<h2 className="text-lg text-[#000435] dark:text-white font-medium title-font mb-2">Customizable Code Snippets</h2>
<p className="leading-relaxed text-base">Easily customize and preview code 👀 snippets with our built-in editor and A.I tailored specifically for Tailwind CSS 💅</p>
</div>
Expand Down
Loading