mirror of
https://github.com/muerwre/muerwre.github.io.git
synced 2025-04-25 02:46:39 +07:00
30 lines
648 B
Vue
30 lines
648 B
Vue
<template>
|
|
<div :class="$style.projects">
|
|
<h2>Pet Projects</h2>
|
|
|
|
<div :class="$style.grid">
|
|
<BioProjectCard
|
|
v-for="project in projects"
|
|
:key="project.name"
|
|
:name="project.name"
|
|
:description="project.description"
|
|
:url="project.pageUrl"
|
|
:source="project.codeUrl"
|
|
:image="project.image"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { projects } from "~~/constants/projects";
|
|
</script>
|
|
|
|
<style lang="scss" module>
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
column-gap: 16px;
|
|
row-gap: 16px;
|
|
}
|
|
</style>
|