Skip to content

Commit 55db58e

Browse files
LeoPlixFrancisca105
authored andcommitted
feat: change png to svg decorative elements
1 parent e9e4e8f commit 55db58e

File tree

5 files changed

+23
-21
lines changed

5 files changed

+23
-21
lines changed
-119 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading
-10.6 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Loading

src/app/speakers/[id]/page.tsx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ export default async function Page({ params }: Props) {
115115
{/* Top decorative elements - only visible on desktop */}
116116
<div className="hidden md:block absolute top-4 right-8 md:top-6 md:right-16 z-20">
117117
<ImageWithFallback
118-
src="/images/decorative-images/star.png"
119-
alt="Decorative star"
120-
width={120}
121-
height={120}
122-
className="w-24 h-24 md:w-28 md:h-28"
118+
src="/images/decorative-images/redElement.svg"
119+
alt="Decorative element"
120+
width={80}
121+
height={80}
122+
className="w-16 h-16 md:w-20 md:h-20"
123123
/>
124124
</div>
125125

@@ -139,14 +139,14 @@ export default async function Page({ params }: Props) {
139139
)}
140140
</div>
141141

142-
{/* Star decoration after title, before photo */}
142+
{/* Red element decoration after title, before photo */}
143143
<div className="flex justify-end -mb-14">
144144
<ImageWithFallback
145-
src="/images/decorative-images/star.png"
146-
alt="Decorative star"
147-
width={80}
148-
height={80}
149-
className="w-24 h-24"
145+
src="/images/decorative-images/redElement.svg"
146+
alt="Decorative element"
147+
width={56}
148+
height={56}
149+
className="w-16 h-16"
150150
/>
151151
</div>
152152

@@ -158,11 +158,11 @@ export default async function Page({ params }: Props) {
158158
{/* Small decorative box */}
159159
<div className="max-w-[180px] -mt-9">
160160
<ImageWithFallback
161-
src="/images/decorative-images/redElement.png"
162-
alt="Decorative element"
163-
width={140}
164-
height={140}
165-
className="w-28 h-28"
161+
src="/images/decorative-images/star.svg"
162+
alt="Decorative star"
163+
width={100}
164+
height={100}
165+
className="w-20 h-20"
166166
/>
167167
</div>
168168
</div>
@@ -220,11 +220,11 @@ export default async function Page({ params }: Props) {
220220
{/* Small decorative box */}
221221
<div className="max-w-[180px] -mt-9">
222222
<ImageWithFallback
223-
src="/images/decorative-images/redElement.png"
224-
alt="Decorative element"
225-
width={140}
226-
height={140}
227-
className="w-32 h-32"
223+
src="/images/decorative-images/star.svg"
224+
alt="Decorative star"
225+
width={100}
226+
height={100}
227+
className="w-24 h-24"
228228
/>
229229
</div>
230230

0 commit comments

Comments
 (0)