feat: 开源项目门户站首版(iotLCM / 秀杰 DTU / XiuAdmin 三项目,注册表驱动)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import { projects } from '../../../data/projects'
|
||||
import ProjectCard from './ProjectCard.vue'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="project-list">
|
||||
<ProjectCard v-for="p in projects" :key="p.id" :project="p" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.project-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
||||
gap: 16px;
|
||||
margin: 24px 0 0;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user