-
Notifications
You must be signed in to change notification settings - Fork 357
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
Showing
30 changed files
with
460 additions
and
457 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
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 |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<script setup lang="ts"> | ||
import type { DateRange } from 'reka-ui' | ||
import CookieSettings from '@/examples/cards/components/CookieSettings.vue' | ||
import CreateAccount from '@/examples/cards/components/CreateAccount.vue' | ||
import PaymentMethod from '@/examples/cards/components/PaymentMethod.vue' | ||
import ReportAnIssue from '@/examples/cards/components/ReportAnIssue.vue' | ||
import ShareDocument from '@/examples/cards/components/ShareDocument.vue' | ||
import TeamMembers from '@/examples/cards/components/TeamMembers.vue' | ||
import CardChat from '@/lib/registry/new-york/example/CardChat.vue' | ||
import ActivityGoal from '@/lib/registry/new-york/example/Cards/ActivityGoal.vue' | ||
import DataTable from '@/lib/registry/new-york/example/Cards/DataTable.vue' | ||
import Metric from '@/lib/registry/new-york/example/Cards/Metric.vue' | ||
import CardStats from '@/lib/registry/new-york/example/CardStats.vue' | ||
import { Card } from '@/lib/registry/new-york/ui/card' | ||
import { RangeCalendar } from '@/lib/registry/new-york/ui/range-calendar' | ||
import { getLocalTimeZone, today } from '@internationalized/date' | ||
import { type Ref, ref } from 'vue' | ||
const now = today(getLocalTimeZone()) | ||
const range = ref({ | ||
start: now, | ||
end: now.add({ days: 8 }), | ||
}) as Ref<DateRange> | ||
</script> | ||
|
||
<template> | ||
<div | ||
class="items-start justify-center gap-6 rounded-lg md:grids-col-2 grid md:gap-4 lg:grid-cols-10 xl:grid-cols-11 xl:gap-4" | ||
> | ||
<div class="space-y-4 lg:col-span-4 xl:col-span-6 xl:space-y-4"> | ||
<CardStats /> | ||
|
||
<div class="grid gap-4 md:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2"> | ||
<div class="space-y-4"> | ||
<TeamMembers /> | ||
<CookieSettings /> | ||
<PaymentMethod /> | ||
</div> | ||
|
||
<div class="space-y-4"> | ||
<CardChat /> | ||
<CreateAccount /> | ||
<ReportAnIssue /> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="space-y-4 lg:col-span-6 xl:col-span-5 xl:space-y-4"> | ||
<div class="hidden gap-1 sm:grid-cols-[280px_1fr] md:grid"> | ||
<Card class="max-w-[280px]"> | ||
<RangeCalendar v-model="range" /> | ||
</Card> | ||
|
||
<div class="pt-3 sm:pl-2 sm:pt-0 xl:pl-3"> | ||
<ActivityGoal /> | ||
</div> | ||
<div class="pt-3 sm:col-span-2 xl:pt-3"> | ||
<Metric /> | ||
</div> | ||
<div class="pt-3 sm:col-span-2 xl:pt-3"> | ||
<DataTable /> | ||
</div> | ||
|
||
<div class="pt-3 sm:col-span-2 xl:pt-3"> | ||
<ShareDocument /> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
</svg> | ||
|
||
<span class="font-bold"> | ||
shadcn-vue | ||
shadcn/vue | ||
</span> | ||
</a> | ||
</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
5 changes: 2 additions & 3 deletions
5
apps/www/.vitepress/theme/components/PageHeaderDescription.vue
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,10 +1,9 @@ | ||
<script setup lang="ts"> | ||
import { cn } from '@/lib/utils' | ||
import WrapBalancer from 'vue-wrap-balancer' | ||
</script> | ||
|
||
<template> | ||
<WrapBalancer :class="cn('max-w-[750px] text-center text-lg font-light text-foreground', $attrs.class ?? '')" :prefer-native="false"> | ||
<p :class="cn('max-w-2xl text-lg font-light text-foreground', $attrs.class ?? '')"> | ||
<slot /> | ||
</WrapBalancer> | ||
</p> | ||
</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
Oops, something went wrong.