-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lien cards global et ajout d'un composant
- Loading branch information
Showing
4 changed files
with
70 additions
and
12 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
const { title, description, imageSrc, lien, logo } = Astro.props; | ||
import { Eye } from 'lucide-astro'; | ||
--- | ||
<a href={lien}> | ||
<div class="bg-white flex flex-col justify-center items-center w-80 lg:w-96 p-6 rounded-3xl shadow-lg card slide"> | ||
<div class="flex justify-between items-center w-full"> | ||
<p class="font-bold text-3xl w-3/4 lg:w-3/5">{title}</p> | ||
<img class="w-1/4" src={logo}> | ||
</div> | ||
<div class="w-full flex justify-between mt-2 items-center"> | ||
<p class="text-gray-400">{description}</p> | ||
</div> | ||
<div class="cards rounded-full w-52 h-52 flex items-center justify-center mt-6"> | ||
<img class="max-w-72 lg:max-w-60 -mt-6" alt="" src={imageSrc} /> | ||
</div> | ||
<div class="flex justify-between items-center w-full mt-4"> | ||
<Eye class="bg-amber-600 p-2 w-10 h-10 rounded-2xl text-white" /> | ||
</div> | ||
</div> | ||
</a> |
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