mirror of
https://github.com/DiscordFactory/website-documentation.git
synced 2026-01-20 04:01:34 +01:00
🚧 Implement into home page
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="flex flex-col sm:flex-row space-y-10 sm:space-y-0 sm:space-x-5 max-w-8xl mx-auto">
|
||||
<div class="flex flex-col sm:flex-row space-y-10 sm:space-y-0 sm:space-x-5">
|
||||
<div v-for="(item, key) in items" class="w-full sm:w-1/5 flex flex-col" :key="key">
|
||||
<div class="flex justify-center items-center space-y-5 sm:space-y-0 sm:space-x-5">
|
||||
<div class="flex justify-center items-center w-[25vw] h-[25vw] sm:h-16 sm:w-16 bg-gray-100 dark:bg-gray-600 rounded-lg">
|
||||
|
||||
@@ -22,11 +22,20 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-text-white dark:bg-gray-900 py-10">
|
||||
<Hightlight />
|
||||
<div class="bg-white dark:bg-gray-900 py-20">
|
||||
<div class="max-w-8xl mx-auto">
|
||||
<Hightlight />
|
||||
</div>
|
||||
</div>
|
||||
<div class="bg-white dark:bg-gray-900 py-10">
|
||||
<div class="max-w-6xl mx-auto">
|
||||
<CollapseDemo />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import Hightlight from '../../../components/Hightlight.vue'
|
||||
import CollapseDemo from '../../../components/CollapseDemo.vue'
|
||||
|
||||
</script>
|
||||
@@ -2,4 +2,12 @@ export type NavbarLink = {
|
||||
label: string
|
||||
path: string
|
||||
local: boolean
|
||||
}
|
||||
|
||||
type CollapseItem = {
|
||||
label: string
|
||||
description: string
|
||||
}
|
||||
export type Collapse = {
|
||||
items: CollapseItem[]
|
||||
}
|
||||
Reference in New Issue
Block a user