Skip to content

Commit 6447bf9

Browse files
committed
fix: update featured projects list and change grids to 2-column layout to prevent compression
1 parent 7d9c52c commit 6447bf9

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/lib/components/PresetView.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
Projets Phares
9999
</h2>
100100

101-
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 pt-3">
101+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 pt-3">
102102
{#each featuredProjects as project, i}
103103
{@const rotation = (i % 2 === 0 ? "rotate-1.5" : "rotate--1")}
104104
{@const tapes = ["tape-blue", "tape-yellow", "tape-purple"]}
@@ -110,7 +110,7 @@
110110
<!-- Polaroid photo container -->
111111
<div class="px-2.5 pt-2.5 pb-5 bg-white border border-slate-200 shadow-md rotate-[1.5deg] mx-4 mt-5 mb-1 relative border-sketch z-10">
112112
<div class="tape-torn {['tape-pink', 'tape-green', 'tape-orange'][i % 3]} absolute top-[-8px] left-[30%] w-12 h-4 rotate-[1deg] opacity-75"></div>
113-
<div class="w-full h-28 overflow-hidden bg-slate-50 border border-slate-200">
113+
<div class="w-full h-36 md:h-40 overflow-hidden bg-slate-50 border border-slate-200">
114114
<ProjectMockup category={project.category} image={screenshotMap[project.image]} />
115115
</div>
116116
</div>
@@ -208,7 +208,7 @@
208208
Recommandations
209209
</h2>
210210

211-
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 pt-1">
211+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 pt-1">
212212
{#each testimonials as item, i}
213213
{@const magnetColor = ["red", "blue", "green"][i % 3]}
214214
{@const rotation = (i % 2 === 0 ? "rotate-1.5" : "rotate--1.5")}

src/lib/data/resume.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export const projects: Project[] = [
253253
github: "https://github.com/SAE-COBREC/main",
254254
image: "icon-app.svg",
255255
tags: ["PHP", "JavaScript", "SQL", "BUT Informatique"],
256-
featured: true
256+
featured: false
257257
},
258258
{
259259
id: "plinkk-fr",
@@ -274,7 +274,7 @@ export const projects: Project[] = [
274274
url: "https://www.figma.com/design/xjPgRmLmqtR16vWkyuXaon/Untitled?node-id=0-1&p=f&t=AeEWavMzmH3kWmqO-0",
275275
image: "icon-design.svg",
276276
tags: ["Figma", "UI/UX", "Design System", "Iconography"],
277-
featured: true
277+
featured: false
278278
},
279279
{
280280
id: "synapsejs",

0 commit comments

Comments
 (0)