Skip to content

Commit 644ed3a

Browse files
committed
fix sizes
1 parent c8a3938 commit 644ed3a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

apps/website/src/components/hero.astro

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
import { grid_classes } from "./_grid";
33
import Pill from "./Pill.astro";
44
import Section from "./Section.astro";
5-
import { Image } from '@astrojs/image/components';
6-
import heroImage from '../assets/croco-13.png';
5+
import { Image } from "@astrojs/image/components";
6+
import heroImage from "../assets/croco-13.png";
77
---
88

99
<Section className="!py-0 !px-0">
@@ -15,10 +15,13 @@ import heroImage from '../assets/croco-13.png';
1515
>
1616
<Image
1717
src={heroImage}
18-
alt="Croco-13"
19-
class="w-full h-full object-cover object-center"
18+
alt="CroCoder Hero Image"
2019
loading="eager"
21-
/>
20+
width={598}
21+
height={1196/2}
22+
decoding="auto"
23+
format="webp"
24+
/>
2225
</div>
2326
<div
2427
class="text-white my-auto
@@ -46,7 +49,9 @@ import heroImage from '../assets/croco-13.png';
4649
<h1
4750
class="font-normal text-[32px] leading-9 md:text-[54px] md:leading-[60px] tracking-tight"
4851
>
49-
<span class="fadeInUp" style="animation-delay: 100ms;">Building Software</span>
52+
<span class="fadeInUp" style="animation-delay: 100ms;"
53+
>Building Software</span
54+
>
5055
<span
5156
class="fadeInUp"
5257
style="animation-delay: 500ms;animation-fill-mode: backwards;"
@@ -61,7 +66,8 @@ import heroImage from '../assets/croco-13.png';
6166
class="fadeInUp"
6267
style="animation-delay: 900ms;animation-fill-mode: backwards;"
6368
>
64-
A web development consultancy delivering scalable solutions that drive real business impact.
69+
A web development consultancy delivering scalable solutions that drive
70+
real business impact.
6571
</span>
6672
</div>
6773
<div class="flex flex-col sm:flex-row gap-[10px]">

0 commit comments

Comments
 (0)