add icons

improve styling
improve landing bg
add astro-icon dep
This commit is contained in:
2023-06-25 21:27:37 +02:00
parent ab7464eb83
commit 74f7274a7e
14 changed files with 555 additions and 86 deletions

View File

@@ -1,26 +1,45 @@
---
import CardFeature from "@/components/Cards/CardFeature.astro";
import Heading from "@/components/Heading.astro";
type Feature = {
title: string;
iconName: string;
description: string;
};
const features: Array<Feature> = [
{
title: "Fast",
iconName: "Fast",
description:
"Thanks to rust with multithreading and skia we're really fast!",
},
{
title: "Extensible",
iconName: "Extensible",
description:
"Modular structured and thanks to our dual language approach you even decide in which language you want to extend!",
},
{
title: "Community driven & Free",
iconName: "Open",
description:
"The project is MIT licensed and we're open to new ideas for further development. Also since this product is not profit driven we won't screw you over!",
},
];
---
<div class="flex flex-row">
{
features.map((feature) => (
<CardFeature
title={feature.title}
description={feature.description}
/>
))
}
<div>
<Heading>Core Features & Values</Heading>
<div class="flex flex-row gap-card">
{
features.map((feature) => (
<CardFeature
iconName={feature.iconName}
title={feature.title}
description={feature.description}
/>
))
}
</div>
</div>