ad95658a11
- Add NavGrid.vue and NavCard.vue components for better navigation layout - Restructure stage-0 index pages across languages into intro.md with new navigation components - Remove old stage-0 index.md files and update stage-3 pages similarly - Add new dependencies 'claude' and 'codex' to package.json - Improve code formatting in multiple Vue components for better readability - Update documentation content and structure for better user experience
27 lines
450 B
Vue
27 lines
450 B
Vue
<script setup>
|
|
import ArticleCard from './ArticleCard.vue'
|
|
|
|
defineProps({
|
|
items: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="article-grid">
|
|
<ArticleCard v-for="(item, i) in items" :key="i" v-bind="item" />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.article-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 20px;
|
|
margin-top: 24px;
|
|
margin-bottom: 48px;
|
|
}
|
|
</style>
|