Skip to content

Commit d028f4b

Browse files
committed
Clean up: ButtonLink and md file.
1 parent 0a42e80 commit d028f4b

31 files changed

+103
-317
lines changed
File renamed without changes.
File renamed without changes.

public/img/list-item.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

public/sponsor-swag/.gitkeep

Whitespace-only changes.

src/assets/prague.png

-3.72 MB
Binary file not shown.

src/components/Footer.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
import SocialLinks from "@components/SocialLinks.astro";
33
import links from "@data/links.json";
4-
import EPSLogo from "../../public/eps-logo.svg";
4+
import EPSLogo from "/public/eps-logo.svg";
55
66
const buildTimestamp = __TIMESTAMP__;
77
const gitVersion = __GIT_VERSION__;

src/components/accent/accent.astro

Lines changed: 0 additions & 12 deletions
This file was deleted.
-326 KB
Binary file not shown.

src/components/accent/astronomical_clock.svg

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/components/benefits-list/benefit-item.astro

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,18 @@
11
---
2+
import Icon from "@ui/Icon.astro";
3+
24
export interface Props {
35
title: string;
4-
icon: "award" | "headhunt" | "network" | "rocket" | "target" | "transfer";
6+
icon: string;
57
}
68
7-
import Award from "../icons/award.astro";
8-
import Headhunt from "../icons/headhunt.astro";
9-
import Network from "../icons/network.astro";
10-
import Rocket from "../icons/rocket.astro";
11-
import Target from "../icons/target.astro";
12-
import Transfer from "../icons/transfer.astro";
13-
149
const { icon, title } = Astro.props;
1510
16-
const Icon = {
17-
award: Award,
18-
headhunt: Headhunt,
19-
network: Network,
20-
rocket: Rocket,
21-
target: Target,
22-
transfer: Transfer,
23-
}[icon];
2411
---
2512

2613
<div class="mb-8 md:mb-4 max-w-full">
2714
<div class="flex items-center gap-3 mb-1">
28-
<Icon class="w-5 h-auto m-0 flex-shrink-0" />
15+
<Icon name={icon} />
2916
<div class="text-xl font-extrabold">{title}</div>
3017
</div>
3118
<div class="mt-1 leading-relaxed pl-8 md:pl-0">

0 commit comments

Comments
 (0)