better cards
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<section>
|
||||
<Hero />
|
||||
<h1 class="cv">
|
||||
<a href={cv} download="CV_Vallier_Theodor.pdf">Dowload my CV</a>
|
||||
<a href={cv} download="CV_Theodor_Vallier.pdf">Dowload my CV</a>
|
||||
</h1>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -18,19 +18,16 @@
|
||||
<hr />
|
||||
|
||||
<section class="project_list">
|
||||
{#each data.data as { title, description, path, date, tags }}
|
||||
<Card data={{ title, description, path, date, tags }} />
|
||||
{#each data.data as { title, description, path, date, tags, image }}
|
||||
<Card data={{ title, description, path, date, tags, image }} />
|
||||
{/each}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<style lang="css">
|
||||
.project_list {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -6,4 +6,5 @@ tags:
|
||||
- web
|
||||
- php
|
||||
- laravel
|
||||
image: /img/can7.png
|
||||
---
|
||||
|
||||
@@ -6,4 +6,5 @@ tags:
|
||||
- web
|
||||
- js
|
||||
- tailwind
|
||||
image: /img/net7.png
|
||||
---
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
<style>
|
||||
.card_list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit);
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user