-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jaskang
committed
Nov 16, 2023
1 parent
f691982
commit 3338af4
Showing
20 changed files
with
379 additions
and
254 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,127 +1,131 @@ | ||
<script setup lang="ts"> | ||
import { AnchorGroup } from '@zonda/vue' | ||
import { ref } from 'vue' | ||
import { ref } from 'vue' | ||
import config from './config' | ||
import Button from '../pages/Button.mdx' | ||
const currKey = ref('assadfas') | ||
</script> | ||
<template> | ||
<div class="supports-backdrop-blur:bg-white/60 sticky top-0 z-40 w-full flex-none bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/[0.06] dark:bg-transparent lg:z-50 lg:border-b lg:border-slate-900/10"> | ||
<div class="max-w-8xl mx-auto"> | ||
<div class="mx-4 border-b border-slate-900/10 py-4 dark:border-slate-300/10 lg:mx-0 lg:border-0 lg:px-8"> | ||
<div class="relative flex items-center"> | ||
<a class="mr-3 w-[2.0625rem] flex-none overflow-hidden md:w-auto" href="/"> | ||
<span class="sr-only">Tailwind CSS home page</span> | ||
</a> | ||
<div | ||
class="supports-backdrop-blur:bg-white/60 sticky top-0 z-40 w-full flex-none bg-white/95 backdrop-blur transition-colors duration-500 dark:border-slate-50/[0.06] dark:bg-transparent lg:z-50 lg:border-b lg:border-slate-900/10" | ||
> | ||
<div class="max-w-8xl mx-auto"> | ||
<div | ||
class="mx-4 border-b border-slate-900/10 py-4 dark:border-slate-300/10 lg:mx-0 lg:border-0 lg:px-8" | ||
> | ||
<div class="relative flex items-center"> | ||
<a class="mr-3 w-[2.0625rem] flex-none overflow-hidden md:w-auto" href="/"> | ||
<span class="sr-only">Tailwind CSS home page</span> | ||
</a> | ||
|
||
<div class="relative ml-auto hidden items-center lg:flex"> | ||
<nav class="text-sm font-semibold leading-6 text-slate-700 dark:text-slate-200"> | ||
<ul class="flex space-x-8"> | ||
<li> | ||
<a | ||
class="hover:text-sky-500 dark:hover:text-sky-400" | ||
href="/docs/installation" | ||
> | ||
Docs | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
class="hover:text-sky-500 dark:hover:text-sky-400" | ||
href="https://tailwindui.com/?ref=top" | ||
> | ||
Components | ||
</a> | ||
</li> | ||
<li> | ||
<a class="hover:text-sky-500 dark:hover:text-sky-400" href="/blog"> | ||
Blog | ||
</a> | ||
</li> | ||
<li> | ||
<a class="hover:text-sky-500 dark:hover:text-sky-400" href="/showcase"> | ||
Showcase | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
<button | ||
class="-my-1 ml-auto flex h-8 w-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300 lg:hidden" | ||
type="button" | ||
> | ||
<span class="sr-only">Search</span> | ||
<svg | ||
aria-hidden="true" | ||
fill="none" | ||
height="24" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
width="24" | ||
> | ||
<path d="m19 19-3.5-3.5"></path> | ||
<circle cx="11" cy="11" r="6"></circle> | ||
</svg> | ||
</button> | ||
<div class="-my-1 ml-2 lg:hidden"> | ||
<button | ||
class="flex h-8 w-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" | ||
type="button" | ||
> | ||
<span class="sr-only">Navigation</span> | ||
<svg aria-hidden="true" fill="none" height="24" width="24"> | ||
<path | ||
d="M12 6v.01M12 12v.01M12 18v.01M12 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="1.5" | ||
></path> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="relative ml-auto hidden items-center lg:flex"> | ||
<nav class="text-sm font-semibold leading-6 text-slate-700 dark:text-slate-200"> | ||
<ul class="flex space-x-8"> | ||
<li> | ||
<a class="hover:text-sky-500 dark:hover:text-sky-400" href="/docs/installation"> | ||
Docs | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
class="hover:text-sky-500 dark:hover:text-sky-400" | ||
href="https://tailwindui.com/?ref=top" | ||
> | ||
Components | ||
</a> | ||
</li> | ||
<li> | ||
<a class="hover:text-sky-500 dark:hover:text-sky-400" href="/blog"> Blog </a> | ||
</li> | ||
<li> | ||
<a class="hover:text-sky-500 dark:hover:text-sky-400" href="/showcase"> | ||
Showcase | ||
</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</div> | ||
<div class="flex items-center border-b border-slate-900/10 p-4 dark:border-slate-50/[0.06] lg:hidden"> | ||
<button | ||
class="-my-1 ml-auto flex h-8 w-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300 lg:hidden" | ||
type="button" | ||
> | ||
<span class="sr-only">Search</span> | ||
<svg | ||
aria-hidden="true" | ||
fill="none" | ||
height="24" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-linejoin="round" | ||
stroke-width="2" | ||
width="24" | ||
> | ||
<path d="m19 19-3.5-3.5"></path> | ||
<circle cx="11" cy="11" r="6"></circle> | ||
</svg> | ||
</button> | ||
<div class="-my-1 ml-2 lg:hidden"> | ||
<button | ||
class="text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" | ||
class="flex h-8 w-8 items-center justify-center text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" | ||
type="button" | ||
> | ||
<span class="sr-only">Navigation</span> | ||
<svg height="24" width="24"> | ||
<svg aria-hidden="true" fill="none" height="24" width="24"> | ||
<path | ||
d="M5 6h14M5 12h14M5 18h14" | ||
fill="none" | ||
d="M12 6v.01M12 12v.01M12 18v.01M12 7a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm0 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-width="2" | ||
stroke-linejoin="round" | ||
stroke-width="1.5" | ||
></path> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="max-w-8xl mx-auto flex px-4 sm:px-6 md:px-8"> | ||
<div class="fixed inset-0 left-[max(0px,calc(50%-45rem))] right-auto top-[3.8125rem] z-20 hidden w-[19rem] overflow-y-auto pb-10 pl-8 pr-6 lg:block "> | ||
<AnchorGroup :items="config.sidebar" :v-model:selectedKey="currKey" /> | ||
</div> | ||
<div class="lg:pl-[19.5rem] "> | ||
<div class="mx-auto max-w-3xl pt-10 xl:ml-0 xl:mr-[15.5rem] xl:max-w-none xl:pr-16"> | ||
<div class="prose prose-sm flex-1"> | ||
<Button /> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="fixed bottom-0 right-[max(0px,calc(50%-45rem))] top-[3.8125rem] z-20 hidden w-[19.5rem] overflow-y-auto py-10 xl:block"> | ||
<div class="px-8"> | ||
<h5 class="mb-4 text-sm font-semibold leading-6 text-slate-900 dark:text-slate-100"> | ||
On this page | ||
</h5> | ||
</div> | ||
<div | ||
class="flex items-center border-b border-slate-900/10 p-4 dark:border-slate-50/[0.06] lg:hidden" | ||
> | ||
<button | ||
class="text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300" | ||
type="button" | ||
> | ||
<span class="sr-only">Navigation</span> | ||
<svg height="24" width="24"> | ||
<path | ||
d="M5 6h14M5 12h14M5 18h14" | ||
fill="none" | ||
stroke="currentColor" | ||
stroke-linecap="round" | ||
stroke-width="2" | ||
></path> | ||
</svg> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="max-w-8xl mx-auto flex px-4 sm:px-6 md:px-8"> | ||
<div | ||
class="fixed inset-0 left-[max(0px,calc(50%-45rem))] right-auto top-[3.8125rem] z-20 hidden w-[19rem] overflow-y-auto pb-10 pl-8 pr-6 lg:block" | ||
> | ||
<AnchorGroup :groups="config.sidebar" v-model:selectedKey="currKey" /> | ||
</div> | ||
<div class="lg:pl-[19.5rem]"> | ||
<div class="mx-auto max-w-3xl pt-10 xl:ml-0 xl:mr-[15.5rem] xl:max-w-none xl:pr-16"> | ||
<div class="prose prose-sm flex-1"> | ||
<Button /> | ||
</div> | ||
</div> | ||
</div> | ||
<div | ||
class="fixed bottom-0 right-[max(0px,calc(50%-45rem))] top-[3.8125rem] z-20 hidden w-[19.5rem] overflow-y-auto py-10 xl:block" | ||
> | ||
<div class="px-8"> | ||
<h5 class="mb-4 text-sm font-semibold leading-6 text-slate-900 dark:text-slate-100"> | ||
On this page | ||
</h5> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export { type ColorName, type ColorLv, type ColorAlias, createVars, cvar } from './utils/style' | ||
export { createButtonStyle } from './button' | ||
export { createAnchorStyle, createAnchorItemStyle } from './anchor' | ||
export { createButtonStyle } from './Button' | ||
export { createAnchorStyle, createAnchorItemStyle } from './Anchor' |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.