Skip to content

Commit f150377

Browse files
committed
refactor: update Presentation component to use local image and adjust layout styles
1 parent e43b7ca commit f150377

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

public/img2.png

625 KB
Loading

src/components/home/components/Presentation.astro

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<section
2-
class="relative gap-4 lg:gap-0 flex flex-col-reverse justify-center items-center lg:flex-row h-full min-h-[850px]"
2+
class="pt-20 sm:pt-0 relative gap-4 lg:gap-0 flex flex-col-reverse justify-center items-center lg:flex-row h-[100vh]"
33
>
44
<div
55
class="lg:flex-1 flex flex-col gap-4 items-center lg:items-start justify-center lg:pb-32 max-w-xl"
@@ -40,12 +40,14 @@
4040
</button>
4141
</div>
4242

43-
<div class="lg:flex-1 flex items-center">
44-
<img
45-
class="max-w-[500px] lg:max-w-2xl w-full"
46-
src="https://img.freepik.com/foto-gratis/bohemio-hombre-pulgar-arriba_1368-3700.jpg?t=st=1726082455~exp=1726086055~hmac=0ecc605f1d0ceba9e795bd188001281401be98bba6bc74e002be7aab7490168a&w=996"
47-
alt=""
48-
/>
43+
<div class="lg:flex-1">
44+
<div class="flex items-center justify-center">
45+
<img
46+
src="/img2.png"
47+
alt=""
48+
class="w-auto h-auto max-h-[450px] sm:max-h-[500px] md:max-h-[600px] lg:max-h-full"
49+
/>
50+
</div>
4951
</div>
5052
</section>
5153

0 commit comments

Comments
 (0)