Skip to content

Commit

Permalink
fix some minor bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
EliaGuarnieri committed Aug 1, 2024
1 parent f90a982 commit 47bdafe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
7 changes: 3 additions & 4 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import Bgblur from "@components/Bgblur.astro";
import Button from "./Button.astro";
import { Image } from "astro:assets";
import STIhero from "src/assets/STIhero.png";
---

Expand All @@ -25,8 +24,8 @@ import STIhero from "src/assets/STIhero.png";
support your work in making sense of tabular data
</p>
</div>
<img
src={STIhero.src}
<Image
src={STIhero}
alt="table illustration"
class="lg:mt-0 lg:col-span-4 lg:flex max-w-lg w-full object-fit-cover hidden"
/>
Expand Down
4 changes: 2 additions & 2 deletions src/components/HorizontalTimeline.astro
Original file line number Diff line number Diff line change
Expand Up @@ -355,13 +355,13 @@ import TimelineListItem from "./TimelineListItem.astro";
></TimelineListItem
>
<TimelineListItem
link=""
link="#"
title="Alligator LLM, s-elBat ML, LamAPI 2, MantisTable UI"
features="coming soon"
><svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height=""
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
Expand Down
3 changes: 0 additions & 3 deletions src/components/TimelineListItem.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
---
import { string } from "astro/zod";
import { text } from "d3";
type Props = {
icon?: string;
title?: string;
Expand Down
7 changes: 4 additions & 3 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Button from "@components/Button.astro";
import mammoth from "@/assets/geometric-mammoth.png";
import logoISWC from "@/assets/logoISWC.png";
import HorizontalTimeline from "@components/HorizontalTimeline.astro";
import { Image } from "astro:assets";
---

<Layout title="STI resources">
Expand Down Expand Up @@ -62,7 +63,7 @@ import HorizontalTimeline from "@components/HorizontalTimeline.astro";
className="md:ml-4"
>
ISWC 2024
<img src={logoISWC.src} class="ms-2 w-6 h-6" />
<Image src={logoISWC} class="ms-2 w-6 h-6" alt="" />
</Button>
</div>
</section>
Expand All @@ -85,8 +86,8 @@ import HorizontalTimeline from "@components/HorizontalTimeline.astro";
</h2>
<div class="flex flex-wrap lg:flex-nowrap mt-8">
<div>
<img
src={mammoth.src}
<Image
src={mammoth}
alt="table illustration"
class="lg:mt-0 lg:col-span-4 max-w-48 object-fit-cover lg:mr-8"
/>
Expand Down

0 comments on commit 47bdafe

Please sign in to comment.