diff --git a/.gitignore b/.gitignore index a7025f771..d0be9ce93 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ packages/**/src/aliases.ts packages/**/LICENSE categories.json tags.json +.vercel diff --git a/docs/.vitepress/components/HomeHeroIconsCard.vue b/docs/.vitepress/components/HomeHeroIconsCard.vue index a8f56a9b6..005e1bc09 100644 --- a/docs/.vitepress/components/HomeHeroIconsCard.vue +++ b/docs/.vitepress/components/HomeHeroIconsCard.vue @@ -6,12 +6,14 @@ console.log(data); diff --git a/docs/.vitepress/components/IconsCategoryOverview.vue b/docs/.vitepress/components/IconsCategoryOverview.vue new file mode 100644 index 000000000..9b9b457af --- /dev/null +++ b/docs/.vitepress/components/IconsCategoryOverview.vue @@ -0,0 +1,64 @@ + + + + + diff --git a/docs/.vitepress/components/IconsOverview.vue b/docs/.vitepress/components/IconsOverview.vue index 1f0d07539..6a1519c2f 100644 --- a/docs/.vitepress/components/IconsOverview.vue +++ b/docs/.vitepress/components/IconsOverview.vue @@ -3,6 +3,7 @@ import { ref, computed } from 'vue' import type { IconEntity } from '../types' import IconItem from './IconItem.vue' import IconDetailOverlay from './IconDetailOverlay.vue' +import IconGrid from './IconGrid.vue' const props = defineProps<{ icons: IconEntity[] @@ -21,11 +22,7 @@ const activeIcon = computed(() => @@ -33,7 +30,7 @@ const activeIcon = computed(() => .icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); - padding: 32px 32px 96px; + /* padding: 32px 32px 96px; */ gap: 8px; width: 100%; } diff --git a/docs/.vitepress/components/PageContainer.vue b/docs/.vitepress/components/PageContainer.vue new file mode 100644 index 000000000..9653851f6 --- /dev/null +++ b/docs/.vitepress/components/PageContainer.vue @@ -0,0 +1,11 @@ + + + diff --git a/docs/guide/custom-page.md b/docs/guide/custom-page.md index b2618670e..6260873df 100644 --- a/docs/guide/custom-page.md +++ b/docs/guide/custom-page.md @@ -1,7 +1,7 @@ Hello world - \ No newline at end of file + diff --git a/docs/icons/categorized.md b/docs/icons/categorized.md index 6789dc89e..cc93f2c62 100644 --- a/docs/icons/categorized.md +++ b/docs/icons/categorized.md @@ -3,19 +3,16 @@ layout: page outlineTitle: Categories --- - -
-
-

{{ category.title }}

-
+ + +
diff --git a/docs/icons/index.md b/docs/icons/index.md index bbcd6539b..4eb01dbc1 100644 --- a/docs/icons/index.md +++ b/docs/icons/index.md @@ -8,6 +8,7 @@ outlineTitle: Categories import { onMounted } from 'vue' import { data } from './index.data.ts' import IconsOverview from '../.vitepress/components/IconsOverview.vue' +import PageContainer from '../.vitepress/components/PageContainer.vue' const { categories, icons } = data onMounted(() => { @@ -15,4 +16,6 @@ onMounted(() => { }) - + + + diff --git a/docs/index.md b/docs/index.md index 3a3ad0def..bc3401674 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ features: - title: Lightweight & Scalable details: Icons are lightweight, highly optimized scalable vector graphics (SVG). icon: | - + - title: Clean & consistent details: Designed with a strict set of design rules for consistency in style and readability. icon: |