blob: 3715a3d93aa3439a8e734d789d53c949d3339eb5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
---
import Page from "../../layouts/Page.astro";
import Models from "../../data/models.json";
import "../../styles/cards.css";
import ThreeJSModels from "../../components/3DModels.jsx";
---
<Page title="3D Models" description="Things that I made using Blender">
<main>
<div class="grid">
{
Models.map((model) => {
return (
<div class="card">
<h1>{model.name}</h1>
<p>{model.description}</p>
<ThreeJSModels modelName={model.model} scale={model.scale} client:visible />
<div class="column">
<a href={model.download}>Download</a>
<small>Licensed under {model.license}</small>
</div>
</div>
)
})
}
</div>
</main>
</Page>
<style>
.column {
display: flex;
flex-direction: column;
gap: 0.1em;
}
</style>
|