@brumaombra/ui-vintage 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/module.mjs +43 -43
- package/package.json +175 -175
- package/src/components/background-grid/BackgroundGrid.vue +4 -4
- package/src/components/blog/AllPostsSection.vue +33 -33
- package/src/components/blog/BlogContentRenderer.vue +111 -111
- package/src/components/blog/BlogFAQSection.vue +19 -19
- package/src/components/blog/BlogHeaderSection.vue +80 -80
- package/src/components/blog/BlogInfoSection.vue +47 -47
- package/src/components/blog/BlogPostHeader.vue +135 -135
- package/src/components/blog/BlogProgressBar.vue +33 -33
- package/src/components/blog/BlogSectionTitle.vue +22 -22
- package/src/components/blog/BlogTagsSection.vue +25 -25
- package/src/components/blog/CategoriesList.vue +14 -14
- package/src/components/blog/CategoriesSection.vue +11 -11
- package/src/components/blog/CategoryCard.vue +25 -25
- package/src/components/blog/HeaderCarousel.vue +97 -97
- package/src/components/blog/PostCard.vue +33 -33
- package/src/components/blog/PostsList.vue +15 -15
- package/src/components/blog/SocialShareSidebar.vue +84 -84
- package/src/components/blog/TableOfContents.vue +307 -307
- package/src/components/busy-indicator/BusyIndicator.vue +7 -7
- package/src/components/busy-indicator/busy-indicator-state.ts +56 -56
- package/src/components/card-grid/CardGrid.vue +34 -34
- package/src/components/chip/Chip.vue +15 -15
- package/src/components/confirm-dialog/ConfirmDialog.vue +50 -50
- package/src/components/confirm-dialog/confirm-dialog-state.ts +131 -131
- package/src/components/content/BlogList.vue +30 -30
- package/src/components/content/BlogTable.vue +36 -36
- package/src/components/content/CodeBlock.vue +136 -136
- package/src/components/content/Flow.vue +60 -60
- package/src/components/content/ProseHr.vue +15 -15
- package/src/components/content/ProsePre.vue +12 -12
- package/src/components/content/Terminal.vue +59 -59
- package/src/components/cookie-consent/CookieConsent.vue +36 -36
- package/src/components/cookie-consent/useCookieConsent.ts +37 -37
- package/src/components/dashboard-shell/DashboardShell.vue +171 -171
- package/src/components/data-list/DataList.vue +6 -6
- package/src/components/data-list/DataListItem.vue +4 -4
- package/src/components/data-list/DataListLabel.vue +4 -4
- package/src/components/data-list/DataListText.vue +4 -4
- package/src/components/data-list/DataListValue.vue +4 -4
- package/src/components/empty-state-card/EmptyStateCard.vue +40 -40
- package/src/components/error-page/ErrorPage.vue +72 -72
- package/src/components/info-card/InfoCard.vue +31 -31
- package/src/components/landing/landing-content/LandingContent.vue +4 -4
- package/src/components/landing/landing-footer/LandingFooter.vue +128 -128
- package/src/components/landing/landing-navbar/LandingNavbar.vue +50 -50
- package/src/components/landing/landing-shell/LandingShell.vue +36 -36
- package/src/components/language-flag/LanguageFlag.vue +25 -25
- package/src/components/language-flag/flags/ChineseFlag.vue +8 -8
- package/src/components/language-flag/flags/EnglishFlag.vue +7 -7
- package/src/components/language-flag/flags/FrenchFlag.vue +5 -5
- package/src/components/language-flag/flags/GermanFlag.vue +5 -5
- package/src/components/language-flag/flags/ItalianFlag.vue +7 -7
- package/src/components/language-flag/flags/JapaneseFlag.vue +4 -4
- package/src/components/language-flag/flags/PortugueseFlag.vue +57 -57
- package/src/components/language-flag/flags/RussianFlag.vue +5 -5
- package/src/components/language-flag/flags/SpanishFlag.vue +4 -4
- package/src/components/language-selector/LanguageSelector.vue +76 -76
- package/src/components/load-more-button/LoadMoreButton.vue +17 -17
- package/src/components/loading-state-card/LoadingStateCard.vue +28 -28
- package/src/components/message-dialog/MessageDialog.vue +59 -59
- package/src/components/message-dialog/message-dialog-state.ts +105 -105
- package/src/components/message-toast/MessageToast.vue +149 -149
- package/src/components/message-toast/message-toast-state.ts +146 -146
- package/src/components/page-header/PageHeader.vue +34 -34
- package/src/components/progress-component/ProgressComponent.vue +33 -33
- package/src/components/single-value-card/SingleValueCard.vue +57 -57
- package/src/components/slider-form-component/SliderFormComponent.vue +36 -36
- package/src/components/stat-strip/StatStrip.vue +22 -22
- package/src/components/switch-form-component/SwitchFormComponent.vue +20 -20
- package/src/components/text-link/TextLink.vue +14 -14
- package/src/components/theme-selector/ThemeSelector.vue +61 -61
- package/src/components/theme-selector/theme-transition.ts +63 -63
- package/src/components/ui/accordion/Accordion.vue +38 -38
- package/src/components/ui/alert/Alert.vue +5 -5
- package/src/components/ui/alert/AlertDescription.vue +4 -4
- package/src/components/ui/alert/AlertTitle.vue +4 -4
- package/src/components/ui/alert/index.ts +2 -2
- package/src/components/ui/alert-dialog/AlertDialog.vue +3 -3
- package/src/components/ui/alert-dialog/AlertDialogAction.vue +3 -3
- package/src/components/ui/alert-dialog/AlertDialogCancel.vue +3 -3
- package/src/components/ui/alert-dialog/AlertDialogContent.vue +7 -7
- package/src/components/ui/alert-dialog/AlertDialogDescription.vue +3 -3
- package/src/components/ui/alert-dialog/AlertDialogFooter.vue +4 -4
- package/src/components/ui/alert-dialog/AlertDialogHeader.vue +4 -4
- package/src/components/ui/alert-dialog/AlertDialogTitle.vue +3 -3
- package/src/components/ui/alert-dialog/AlertDialogTrigger.vue +3 -3
- package/src/components/ui/animated-number/AnimatedNumber.vue +49 -48
- package/src/components/ui/avatar/Avatar.vue +28 -28
- package/src/components/ui/avatar/AvatarFallback.vue +6 -6
- package/src/components/ui/avatar/AvatarGroup.vue +40 -40
- package/src/components/ui/avatar/AvatarImage.vue +3 -3
- package/src/components/ui/avatar/index.ts +17 -17
- package/src/components/ui/badge/Badge.vue +20 -20
- package/src/components/ui/breadcrumb/Breadcrumb.vue +4 -4
- package/src/components/ui/breadcrumb/BreadcrumbEllipsis.vue +9 -9
- package/src/components/ui/breadcrumb/BreadcrumbItem.vue +4 -4
- package/src/components/ui/breadcrumb/BreadcrumbLink.vue +4 -4
- package/src/components/ui/breadcrumb/BreadcrumbList.vue +4 -4
- package/src/components/ui/breadcrumb/BreadcrumbPage.vue +4 -4
- package/src/components/ui/breadcrumb/BreadcrumbSeparator.vue +4 -4
- package/src/components/ui/busy/Busy.vue +33 -33
- package/src/components/ui/button/Button.vue +23 -23
- package/src/components/ui/button/index.ts +56 -56
- package/src/components/ui/calendar/Calendar.vue +138 -138
- package/src/components/ui/calendar/CalendarCell.vue +7 -7
- package/src/components/ui/calendar/CalendarCellTrigger.vue +18 -18
- package/src/components/ui/calendar/CalendarGrid.vue +3 -3
- package/src/components/ui/calendar/CalendarGridBody.vue +3 -3
- package/src/components/ui/calendar/CalendarGridHead.vue +3 -3
- package/src/components/ui/calendar/CalendarGridRow.vue +3 -3
- package/src/components/ui/calendar/CalendarHeadCell.vue +7 -7
- package/src/components/ui/calendar/CalendarHeader.vue +7 -7
- package/src/components/ui/calendar/CalendarHeading.vue +6 -6
- package/src/components/ui/calendar/CalendarNextButton.vue +15 -15
- package/src/components/ui/calendar/CalendarPrevButton.vue +15 -15
- package/src/components/ui/calendar/index.ts +4 -4
- package/src/components/ui/card/Card.vue +20 -20
- package/src/components/ui/card/CardAction.vue +8 -8
- package/src/components/ui/card/CardContent.vue +4 -4
- package/src/components/ui/card/CardDescription.vue +12 -12
- package/src/components/ui/card/CardFooter.vue +4 -4
- package/src/components/ui/card/CardHeader.vue +8 -8
- package/src/components/ui/card/CardText.vue +8 -8
- package/src/components/ui/card/CardTitle.vue +8 -8
- package/src/components/ui/checkbox/Checkbox.vue +27 -27
- package/src/components/ui/collapsible/Collapsible.vue +3 -3
- package/src/components/ui/collapsible/CollapsibleContent.vue +3 -3
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +3 -3
- package/src/components/ui/combobox/Combobox.vue +4 -4
- package/src/components/ui/combobox/ComboboxAnchor.vue +16 -16
- package/src/components/ui/combobox/ComboboxEmpty.vue +3 -3
- package/src/components/ui/combobox/ComboboxGroup.vue +9 -9
- package/src/components/ui/combobox/ComboboxInput.vue +6 -6
- package/src/components/ui/combobox/ComboboxItem.vue +17 -17
- package/src/components/ui/combobox/ComboboxList.vue +19 -19
- package/src/components/ui/combobox/ComboboxSelect.vue +77 -77
- package/src/components/ui/combobox/ComboboxSeparator.vue +1 -1
- package/src/components/ui/combobox/ComboboxTrigger.vue +10 -10
- package/src/components/ui/combobox/types.ts +5 -5
- package/src/components/ui/command/Command.vue +48 -48
- package/src/components/ui/command/CommandDialog.vue +14 -14
- package/src/components/ui/command/CommandEmpty.vue +4 -4
- package/src/components/ui/command/CommandGroup.vue +23 -23
- package/src/components/ui/command/CommandInput.vue +9 -9
- package/src/components/ui/command/CommandItem.vue +40 -40
- package/src/components/ui/command/CommandList.vue +9 -9
- package/src/components/ui/command/CommandSeparator.vue +3 -3
- package/src/components/ui/command/CommandShortcut.vue +8 -8
- package/src/components/ui/command/index.ts +11 -11
- package/src/components/ui/data-table/DataTable.vue +145 -145
- package/src/components/ui/data-table/index.ts +11 -11
- package/src/components/ui/date-picker/DatePicker.vue +31 -31
- package/src/components/ui/date-time-picker/DateTimePicker.vue +97 -97
- package/src/components/ui/dialog/Dialog.vue +3 -3
- package/src/components/ui/dialog/DialogClose.vue +3 -3
- package/src/components/ui/dialog/DialogContent.vue +21 -21
- package/src/components/ui/dialog/DialogDescription.vue +7 -7
- package/src/components/ui/dialog/DialogFooter.vue +8 -8
- package/src/components/ui/dialog/DialogHeader.vue +4 -4
- package/src/components/ui/dialog/DialogOverlay.vue +7 -7
- package/src/components/ui/dialog/DialogScrollContent.vue +32 -32
- package/src/components/ui/dialog/DialogTitle.vue +3 -3
- package/src/components/ui/dialog/DialogTrigger.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +11 -11
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +15 -15
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +12 -12
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +9 -9
- package/src/components/ui/dropdown-menu/DropdownMenuPortal.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +11 -11
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +4 -4
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +3 -3
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +15 -15
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +15 -15
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +3 -3
- package/src/components/ui/dropdown-menu/classes.ts +16 -16
- package/src/components/ui/field/Field.vue +5 -5
- package/src/components/ui/field/FieldContent.vue +8 -8
- package/src/components/ui/field/FieldDescription.vue +10 -10
- package/src/components/ui/field/FieldError.vue +39 -39
- package/src/components/ui/field/FieldGroup.vue +8 -8
- package/src/components/ui/field/FieldLabel.vue +10 -10
- package/src/components/ui/field/FieldLegend.vue +11 -11
- package/src/components/ui/field/FieldSeparator.vue +11 -11
- package/src/components/ui/field/FieldSet.vue +9 -9
- package/src/components/ui/field/FieldTitle.vue +8 -8
- package/src/components/ui/field/field-context.ts +36 -36
- package/src/components/ui/field/index.ts +22 -22
- package/src/components/ui/file-dropzone/FileDropzone.vue +144 -144
- package/src/components/ui/file-dropzone/index.ts +19 -19
- package/src/components/ui/hover-card/HoverCard.vue +5 -5
- package/src/components/ui/hover-card/HoverCardContent.vue +13 -13
- package/src/components/ui/hover-card/HoverCardTrigger.vue +3 -3
- package/src/components/ui/input/Input.vue +13 -13
- package/src/components/ui/kbd/Kbd.vue +10 -10
- package/src/components/ui/kbd/KbdGroup.vue +49 -49
- package/src/components/ui/label/Label.vue +7 -7
- package/src/components/ui/native-select/NativeSelect.vue +16 -16
- package/src/components/ui/native-select/NativeSelectOptGroup.vue +3 -3
- package/src/components/ui/native-select/NativeSelectOption.vue +3 -3
- package/src/components/ui/number-field/NumberField.vue +88 -88
- package/src/components/ui/pagination/Pagination.vue +4 -4
- package/src/components/ui/pagination/PaginationContent.vue +4 -4
- package/src/components/ui/pagination/PaginationEllipsis.vue +9 -9
- package/src/components/ui/pagination/PaginationFirst.vue +8 -8
- package/src/components/ui/pagination/PaginationItem.vue +14 -14
- package/src/components/ui/pagination/PaginationLast.vue +8 -8
- package/src/components/ui/pagination/PaginationNext.vue +8 -8
- package/src/components/ui/pagination/PaginationPrevious.vue +8 -8
- package/src/components/ui/pagination/SimplePagination.vue +25 -25
- package/src/components/ui/pin-input/PinInput.vue +20 -20
- package/src/components/ui/pin-input/PinInputInput.vue +17 -17
- package/src/components/ui/pin-input/context.ts +1 -1
- package/src/components/ui/popover/Popover.vue +3 -3
- package/src/components/ui/popover/PopoverAnchor.vue +3 -3
- package/src/components/ui/popover/PopoverContent.vue +12 -12
- package/src/components/ui/popover/PopoverTrigger.vue +3 -3
- package/src/components/ui/progress/Progress.vue +16 -16
- package/src/components/ui/radio-group/RadioGroup.vue +7 -7
- package/src/components/ui/radio-group/RadioGroupCard.vue +39 -39
- package/src/components/ui/radio-group/RadioGroupItem.vue +20 -20
- package/src/components/ui/scroll-area/ScrollArea.vue +14 -14
- package/src/components/ui/scroll-area/ScrollBar.vue +12 -12
- package/src/components/ui/select/Select.vue +3 -3
- package/src/components/ui/select/SelectContent.vue +25 -25
- package/src/components/ui/select/SelectGroup.vue +3 -3
- package/src/components/ui/select/SelectItem.vue +24 -24
- package/src/components/ui/select/SelectItemContent.vue +32 -32
- package/src/components/ui/select/SelectItemText.vue +3 -3
- package/src/components/ui/select/SelectLabel.vue +3 -3
- package/src/components/ui/select/SelectScrollDownButton.vue +9 -9
- package/src/components/ui/select/SelectScrollUpButton.vue +9 -9
- package/src/components/ui/select/SelectSeparator.vue +2 -2
- package/src/components/ui/select/SelectTrigger.vue +14 -14
- package/src/components/ui/select/SelectValue.vue +3 -3
- package/src/components/ui/select/SelectValueContent.vue +39 -39
- package/src/components/ui/separator/Separator.vue +7 -7
- package/src/components/ui/sheet/Sheet.vue +3 -3
- package/src/components/ui/sheet/SheetClose.vue +3 -3
- package/src/components/ui/sheet/SheetContent.vue +22 -22
- package/src/components/ui/sheet/SheetDescription.vue +3 -3
- package/src/components/ui/sheet/SheetFooter.vue +3 -3
- package/src/components/ui/sheet/SheetHeader.vue +3 -3
- package/src/components/ui/sheet/SheetOverlay.vue +7 -7
- package/src/components/ui/sheet/SheetTitle.vue +3 -3
- package/src/components/ui/sheet/SheetTrigger.vue +3 -3
- package/src/components/ui/sidebar/Sidebar.vue +57 -57
- package/src/components/ui/sidebar/SidebarContent.vue +8 -8
- package/src/components/ui/sidebar/SidebarFooter.vue +8 -8
- package/src/components/ui/sidebar/SidebarGroup.vue +8 -8
- package/src/components/ui/sidebar/SidebarGroupAction.vue +9 -9
- package/src/components/ui/sidebar/SidebarGroupContent.vue +4 -4
- package/src/components/ui/sidebar/SidebarGroupLabel.vue +8 -8
- package/src/components/ui/sidebar/SidebarHeader.vue +8 -8
- package/src/components/ui/sidebar/SidebarInput.vue +8 -8
- package/src/components/ui/sidebar/SidebarInset.vue +9 -9
- package/src/components/ui/sidebar/SidebarMenu.vue +4 -4
- package/src/components/ui/sidebar/SidebarMenuAction.vue +18 -18
- package/src/components/ui/sidebar/SidebarMenuBadge.vue +14 -14
- package/src/components/ui/sidebar/SidebarMenuButton.vue +21 -21
- package/src/components/ui/sidebar/SidebarMenuButtonChild.vue +10 -10
- package/src/components/ui/sidebar/SidebarMenuItem.vue +4 -4
- package/src/components/ui/sidebar/SidebarMenuSkeleton.vue +10 -10
- package/src/components/ui/sidebar/SidebarMenuSub.vue +9 -9
- package/src/components/ui/sidebar/SidebarMenuSubButton.vue +17 -17
- package/src/components/ui/sidebar/SidebarMenuSubItem.vue +4 -4
- package/src/components/ui/sidebar/SidebarProvider.vue +46 -46
- package/src/components/ui/sidebar/SidebarRail.vue +13 -13
- package/src/components/ui/sidebar/SidebarSeparator.vue +4 -4
- package/src/components/ui/sidebar/SidebarTrigger.vue +5 -5
- package/src/components/ui/sidebar/index.ts +29 -29
- package/src/components/ui/sidebar/utils.ts +7 -7
- package/src/components/ui/skeleton/Skeleton.vue +6 -6
- package/src/components/ui/slider/Slider.vue +14 -14
- package/src/components/ui/spinner/Spinner.vue +21 -21
- package/src/components/ui/stepper/SimpleStepper.vue +26 -26
- package/src/components/ui/stepper/Stepper.vue +6 -6
- package/src/components/ui/stepper/StepperDescription.vue +5 -5
- package/src/components/ui/stepper/StepperIndicator.vue +17 -17
- package/src/components/ui/stepper/StepperItem.vue +4 -4
- package/src/components/ui/stepper/StepperSeparator.vue +7 -7
- package/src/components/ui/stepper/StepperTitle.vue +5 -5
- package/src/components/ui/stepper/StepperTrigger.vue +4 -4
- package/src/components/ui/stepper/index.ts +3 -3
- package/src/components/ui/switch/Switch.vue +15 -15
- package/src/components/ui/table/Table.vue +6 -6
- package/src/components/ui/table/TableBody.vue +4 -4
- package/src/components/ui/table/TableCaption.vue +4 -4
- package/src/components/ui/table/TableCell.vue +8 -8
- package/src/components/ui/table/TableEmpty.vue +14 -14
- package/src/components/ui/table/TableFooter.vue +8 -8
- package/src/components/ui/table/TableHead.vue +8 -8
- package/src/components/ui/table/TableHeader.vue +4 -4
- package/src/components/ui/table/TableRow.vue +8 -8
- package/src/components/ui/tabs/Tabs.vue +4 -4
- package/src/components/ui/tabs/TabsContent.vue +4 -4
- package/src/components/ui/tabs/TabsList.vue +15 -15
- package/src/components/ui/tabs/TabsTrigger.vue +10 -10
- package/src/components/ui/tags-input/TagsInput.vue +17 -17
- package/src/components/ui/tags-input/TagsInputInput.vue +6 -6
- package/src/components/ui/tags-input/TagsInputItem.vue +15 -15
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +12 -12
- package/src/components/ui/tags-input/TagsInputItemText.vue +4 -4
- package/src/components/ui/textarea/Textarea.vue +12 -12
- package/src/components/ui/time-picker/TimePicker.vue +25 -25
- package/src/components/ui/toggle-group/Toggle.vue +10 -10
- package/src/components/ui/toggle-group/ToggleGroup.vue +38 -38
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +9 -9
- package/src/components/ui/toggle-group/index.ts +46 -46
- package/src/components/ui/tooltip/Tooltip.vue +3 -3
- package/src/components/ui/tooltip/TooltipContent.vue +13 -13
- package/src/components/ui/tooltip/TooltipProvider.vue +4 -4
- package/src/components/ui/tooltip/TooltipTrigger.vue +3 -3
- package/src/i18n/de.json +185 -185
- package/src/i18n/en.json +185 -185
- package/src/i18n/es.json +185 -185
- package/src/i18n/fr.json +185 -185
- package/src/i18n/it.json +185 -185
- package/src/i18n/ja.json +185 -185
- package/src/i18n/pt.json +185 -185
- package/src/i18n/ru.json +185 -185
- package/src/i18n/zh.json +185 -185
- package/src/lib/color-tokens.ts +24 -24
- package/src/lib/i18n.ts +65 -65
- package/src/lib/utils.ts +33 -33
- package/src/nuxt-components.d.ts +2 -2
- package/src/runtime/ui-vintage-i18n-plugin.ts +49 -49
- package/src/shims-vue.d.ts +3 -3
- package/src/styles.css +377 -377
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
// Props
|
|
3
3
|
const props = defineProps<{
|
|
4
|
-
|
|
4
|
+
value: Record<string, unknown>;
|
|
5
5
|
}>();
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<template>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<div class="blog-content">
|
|
10
|
+
<ContentRenderer :value="props.value" />
|
|
11
|
+
</div>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<style scoped>
|
|
15
15
|
.blog-content {
|
|
16
|
-
|
|
16
|
+
color: var(--foreground);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* Headings */
|
|
20
20
|
.blog-content :deep(h1:not(.not-prose):not(.not-prose *)),
|
|
21
21
|
.blog-content :deep(h2:not(.not-prose):not(.not-prose *)),
|
|
22
22
|
.blog-content :deep(h3:not(.not-prose):not(.not-prose *)) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
color: var(--foreground);
|
|
24
|
+
letter-spacing: -0.01em;
|
|
25
|
+
scroll-margin-top: 6rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.blog-content :deep(h1:not(.not-prose):not(.not-prose *)) {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
font-size: 1.75rem;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
margin-bottom: 2rem;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.blog-content :deep(h2:not(.not-prose):not(.not-prose *)) {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
margin-top: 3rem;
|
|
36
|
+
margin-bottom: 1.25rem;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.blog-content :deep(h3:not(.not-prose):not(.not-prose *)) {
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
margin-top: 2.25rem;
|
|
41
|
+
margin-bottom: 1rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.blog-content :deep(h2:not(.not-prose):not(.not-prose *) a:not(.not-prose):not(.not-prose *)) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
font-size: 1.5rem;
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
line-height: 2rem;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.blog-content :deep(h3:not(.not-prose):not(.not-prose *) a:not(.not-prose):not(.not-prose *)) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
font-size: 1.15rem;
|
|
52
|
+
font-weight: 700;
|
|
53
|
+
line-height: 1.75rem;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
/* Heading anchors: a "#" fades in on hover */
|
|
57
57
|
.blog-content :deep(:is(h2, h3):not(.not-prose):not(.not-prose *) > a) {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
position: relative;
|
|
59
|
+
color: inherit;
|
|
60
|
+
text-decoration: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.blog-content :deep(:is(h2, h3):not(.not-prose):not(.not-prose *) > a::before) {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
64
|
+
content: '#';
|
|
65
|
+
position: absolute;
|
|
66
|
+
left: -1.1em;
|
|
67
|
+
color: var(--primary);
|
|
68
|
+
opacity: 0;
|
|
69
|
+
translate: 4px 0;
|
|
70
|
+
transition: opacity 0.2s var(--ease-out-expo), translate 0.3s var(--ease-spring);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
.blog-content :deep(:is(h2, h3):not(.not-prose):not(.not-prose *):hover > a::before) {
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
opacity: 1;
|
|
75
|
+
translate: 0 0;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/* Body text */
|
|
@@ -81,147 +81,147 @@ const props = defineProps<{
|
|
|
81
81
|
.blog-content :deep(blockquote:not(.not-prose):not(.not-prose *)),
|
|
82
82
|
.blog-content :deep(td:not(.not-prose):not(.not-prose *)),
|
|
83
83
|
.blog-content :deep(th:not(.not-prose):not(.not-prose *)) {
|
|
84
|
-
|
|
84
|
+
color: var(--foreground);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.blog-content :deep(p:not(.not-prose):not(.not-prose *)) {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
font-size: 15px;
|
|
89
|
+
margin-top: 1rem;
|
|
90
|
+
margin-bottom: 1rem;
|
|
91
|
+
line-height: 1.85;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* Lede: the opening paragraph reads a little larger */
|
|
95
95
|
.blog-content :deep(p:not(.not-prose):not(.not-prose *):first-of-type) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
font-size: 17px;
|
|
97
|
+
line-height: 1.8;
|
|
98
|
+
color: var(--muted-foreground);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.blog-content :deep(:is(p, blockquote, li):not(.not-prose):not(.not-prose *) strong) {
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
color: var(--foreground);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
/* Links: a primary underline that thickens on hover */
|
|
107
107
|
.blog-content :deep(:is(p, li, blockquote):not(.not-prose):not(.not-prose *) a:not(.not-prose):not(.not-prose *)) {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
color: var(--foreground);
|
|
109
|
+
font-weight: 700;
|
|
110
|
+
text-decoration: underline;
|
|
111
|
+
text-decoration-color: color-mix(in oklab, var(--primary) 45%, transparent);
|
|
112
|
+
text-decoration-thickness: 2px;
|
|
113
|
+
text-underline-offset: 4px;
|
|
114
|
+
transition: color 0.15s, text-decoration-color 0.15s, text-decoration-thickness 0.15s;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
.blog-content :deep(:is(p, li, blockquote):not(.not-prose):not(.not-prose *) a:not(.not-prose):not(.not-prose *):hover) {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
color: var(--primary);
|
|
119
|
+
text-decoration-color: var(--primary);
|
|
120
|
+
text-decoration-thickness: 3px;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/* Lists */
|
|
124
124
|
.blog-content :deep(:is(ul, ol):not(.not-prose):not(.not-prose *)) {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
margin: 1.25rem 0;
|
|
126
|
+
padding-left: 1.4rem;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
.blog-content :deep(ul:not(.not-prose):not(.not-prose *)) {
|
|
130
|
-
|
|
130
|
+
list-style: square;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.blog-content :deep(ol:not(.not-prose):not(.not-prose *)) {
|
|
134
|
-
|
|
134
|
+
list-style: decimal;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.blog-content :deep(li:not(.not-prose):not(.not-prose *)) {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
font-size: 15px;
|
|
139
|
+
line-height: 1.8;
|
|
140
|
+
margin: 0.4rem 0;
|
|
141
|
+
padding-left: 0.25rem;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
.blog-content :deep(li:not(.not-prose):not(.not-prose *)::marker) {
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
color: var(--primary);
|
|
146
|
+
font-weight: 700;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
/* Blockquotes */
|
|
150
150
|
.blog-content :deep(blockquote:not(.not-prose):not(.not-prose *)) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
151
|
+
position: relative;
|
|
152
|
+
margin: 2rem 0;
|
|
153
|
+
padding: 1rem 1.25rem 1rem 1.5rem;
|
|
154
|
+
border: 1px solid var(--border);
|
|
155
|
+
border-left: 3px solid var(--primary);
|
|
156
|
+
border-radius: var(--radius-sm);
|
|
157
|
+
background-color: var(--surface);
|
|
158
|
+
font-size: 15px;
|
|
159
|
+
font-style: italic;
|
|
160
|
+
line-height: 1.8;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.blog-content :deep(blockquote:not(.not-prose):not(.not-prose *) p) {
|
|
164
|
-
|
|
164
|
+
margin: 0;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
/* Inline code */
|
|
168
168
|
.blog-content :deep(:is(p, li, blockquote, td, th):not(.not-prose):not(.not-prose *) code:not(.not-prose):not(.not-prose *)) {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
169
|
+
color: var(--foreground);
|
|
170
|
+
background-color: var(--surface);
|
|
171
|
+
border: 1px solid var(--border);
|
|
172
|
+
border-radius: 0.25rem;
|
|
173
|
+
display: inline-block;
|
|
174
|
+
font-size: 0.75rem;
|
|
175
|
+
font-weight: 600;
|
|
176
|
+
line-height: 1rem;
|
|
177
|
+
padding: 0.125rem 0.5rem;
|
|
178
|
+
white-space: nowrap;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
.blog-content :deep(pre:not(.not-prose):not(.not-prose *) code:not(.not-prose):not(.not-prose *)) {
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
color: var(--foreground);
|
|
183
|
+
background-color: var(--accent);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/* Images */
|
|
187
187
|
.blog-content :deep(img:not(.not-prose):not(.not-prose *)) {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
border: 1px solid var(--border);
|
|
189
|
+
border-radius: var(--radius-sm);
|
|
190
|
+
box-shadow: var(--uv-shadow-sm);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/* Plain markdown tables */
|
|
194
194
|
.blog-content :deep(table:not(.not-prose):not(.not-prose *)) {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
width: 100%;
|
|
196
|
+
margin: 2rem 0;
|
|
197
|
+
border-collapse: collapse;
|
|
198
|
+
font-size: 14px;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
.blog-content :deep(:is(th, td):not(.not-prose):not(.not-prose *)) {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
202
|
+
border-bottom: 1px solid var(--border);
|
|
203
|
+
padding: 0.65rem 0.75rem;
|
|
204
|
+
text-align: left;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
.blog-content :deep(th:not(.not-prose):not(.not-prose *)) {
|
|
208
|
-
|
|
209
|
-
|
|
208
|
+
background-color: var(--surface);
|
|
209
|
+
font-weight: 700;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
@media (max-width: 640px) {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
213
|
+
.blog-content :deep(:is(p, li):not(.not-prose):not(.not-prose *)) {
|
|
214
|
+
font-size: 14px;
|
|
215
|
+
line-height: 1.8;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.blog-content :deep(p:not(.not-prose):not(.not-prose *):first-of-type) {
|
|
219
|
+
font-size: 15px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.blog-content :deep(h2:not(.not-prose):not(.not-prose *)) {
|
|
223
|
+
margin-top: 2.25rem;
|
|
224
|
+
margin-bottom: 1rem;
|
|
225
|
+
}
|
|
226
226
|
}
|
|
227
227
|
</style>
|
|
@@ -7,12 +7,12 @@ import BlogSectionTitle from './BlogSectionTitle.vue';
|
|
|
7
7
|
|
|
8
8
|
// Props
|
|
9
9
|
const props = withDefaults(defineProps<{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
faqs?: Array<{
|
|
11
|
+
question: string;
|
|
12
|
+
answer: string;
|
|
13
|
+
}>;
|
|
14
14
|
}>(), {
|
|
15
|
-
|
|
15
|
+
faqs: () => []
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
const { t } = useI18n();
|
|
@@ -20,19 +20,19 @@ const hasValidFAQs = computed(() => props.faqs && props.faqs.length > 0);
|
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
<template>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
<div v-if="hasValidFAQs" class="mt-12 lg:mt-16">
|
|
24
|
+
<!-- Title and description -->
|
|
25
|
+
<BlogSectionTitle :title="t('uiVintage.blog.faq.title')" :description="t('uiVintage.blog.faq.description')" />
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
27
|
+
<!-- FAQ items -->
|
|
28
|
+
<div class="space-y-3">
|
|
29
|
+
<div v-for="(faq, index) in props.faqs" :key="index" data-aos="blur-up" :data-aos-delay="index * 70">
|
|
30
|
+
<Accordion :title="faq.question" :icon="HelpCircleIcon" :initially-expanded="index === 0">
|
|
31
|
+
<p class="text-xs leading-relaxed text-muted-foreground md:text-sm">
|
|
32
|
+
{{ faq.answer }}
|
|
33
|
+
</p>
|
|
34
|
+
</Accordion>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
38
|
</template>
|
|
@@ -11,51 +11,51 @@ import { StatStrip } from '../stat-strip';
|
|
|
11
11
|
|
|
12
12
|
// Props
|
|
13
13
|
const props = withDefaults(defineProps<{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
badges?: Array<{
|
|
15
|
+
color: ToneColor;
|
|
16
|
+
text: string;
|
|
17
|
+
}>;
|
|
18
|
+
announcement?: {
|
|
19
|
+
text: string;
|
|
20
|
+
to: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
} | null;
|
|
23
|
+
title: string;
|
|
24
|
+
highlight?: string;
|
|
25
|
+
description: string;
|
|
26
|
+
stats?: Array<{
|
|
27
|
+
label: string;
|
|
28
|
+
value: string | number;
|
|
29
|
+
icon?: HugeiconsIconDefinition;
|
|
30
|
+
}>;
|
|
31
|
+
align?: 'left' | 'center' | 'right';
|
|
32
32
|
}>(), {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
badges: () => [],
|
|
34
|
+
announcement: null,
|
|
35
|
+
highlight: '',
|
|
36
|
+
stats: () => [],
|
|
37
|
+
align: 'center'
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
const { t } = useI18n();
|
|
41
41
|
|
|
42
42
|
// Alignment of the whole header: the column, its text, and the rows of badges and stats
|
|
43
43
|
const alignClasses = {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
left: { header: 'items-start text-left', row: 'justify-start' },
|
|
45
|
+
center: { header: 'items-center text-center', row: 'justify-center' },
|
|
46
|
+
right: { header: 'items-end text-right', row: 'justify-end' }
|
|
47
47
|
} as const;
|
|
48
48
|
const alignClass = computed(() => alignClasses[props.align] ?? alignClasses.center);
|
|
49
49
|
|
|
50
50
|
// Split the title around the highlighted part (when it appears in the title)
|
|
51
51
|
const titleParts = computed(() => {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
const index = props.highlight ? props.title.indexOf(props.highlight) : -1;
|
|
53
|
+
if (index === -1) return { before: props.title, highlight: '', after: '' };
|
|
54
|
+
return {
|
|
55
|
+
before: props.title.slice(0, index),
|
|
56
|
+
highlight: props.highlight,
|
|
57
|
+
after: props.title.slice(index + props.highlight.length)
|
|
58
|
+
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
61
|
// Words that rise in one by one (the highlight rises in as a single block between them)
|
|
@@ -64,8 +64,8 @@ const beforeWords = computed(() => splitWords(titleParts.value.before));
|
|
|
64
64
|
const afterWords = computed(() => splitWords(titleParts.value.after));
|
|
65
65
|
// Space after a word before the highlight: always between words, and before the highlight only when the title has one there
|
|
66
66
|
const wordGap = (index: number) => {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
if (index < beforeWords.value.length - 1) return ' ';
|
|
68
|
+
return titleParts.value.highlight && /\s$/.test(titleParts.value.before) ? ' ' : '';
|
|
69
69
|
};
|
|
70
70
|
const wordDelay = (index: number) => `${120 + Math.min(index, 12) * 55}ms`;
|
|
71
71
|
const highlightDelay = computed(() => wordDelay(beforeWords.value.length));
|
|
@@ -79,52 +79,52 @@ const underlineDelay = computed(() => `${beforeWords.value.length * 55 + 600}ms`
|
|
|
79
79
|
</script>
|
|
80
80
|
|
|
81
81
|
<template>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
82
|
+
<header :class="cn('relative flex flex-col gap-6 pt-6 md:pt-12', alignClass.header)">
|
|
83
|
+
<!-- Announcement (links to something new, such as the latest post) -->
|
|
84
|
+
<NuxtLink v-if="props.announcement" :to="props.announcement.to" class="group/announce max-w-full animate-uv-fade-up rounded outline-none focus-visible:ring-[3px] focus-visible:ring-ring/45">
|
|
85
|
+
<span class="inline-flex max-w-full items-center gap-2 rounded border border-warning/35 bg-warning/10 px-3 py-1 text-xs text-foreground transition-colors duration-150 group-hover/announce:border-warning/70">
|
|
86
|
+
<span aria-hidden="true" class="relative flex size-1.5 shrink-0 text-warning">
|
|
87
|
+
<span class="absolute inline-flex size-full animate-uv-ping-soft rounded-full bg-current opacity-60" />
|
|
88
|
+
<span class="relative inline-flex size-1.5 rounded-full bg-current" />
|
|
89
|
+
</span>
|
|
90
|
+
<span class="shrink-0 font-semibold">{{ props.announcement.label || t('uiVintage.blog.new') }}</span>
|
|
91
|
+
<span class="truncate opacity-80">{{ props.announcement.text }}</span>
|
|
92
|
+
<HugeiconsIcon :icon="ArrowRight01Icon" class="size-3.5 shrink-0 transition-transform duration-300 ease-spring group-hover/announce:translate-x-0.5" />
|
|
93
|
+
</span>
|
|
94
|
+
</NuxtLink>
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
96
|
+
<!-- Badges -->
|
|
97
|
+
<div v-if="props.badges.length > 0" :class="cn('flex flex-wrap gap-2', alignClass.row)">
|
|
98
|
+
<Badge v-for="(badge, index) in props.badges"
|
|
99
|
+
:key="`${badge.color}-${badge.text}`"
|
|
100
|
+
:color="badge.color"
|
|
101
|
+
:text="badge.text"
|
|
102
|
+
:pulse="index === 0 && !props.announcement"
|
|
103
|
+
class="animate-uv-fade-up"
|
|
104
|
+
:style="{ animationDelay: `${index * 70}ms` }" />
|
|
105
|
+
</div>
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
107
|
+
<!-- Title (each word rises in with a spring, the highlight gets a hand-drawn underline) -->
|
|
108
|
+
<h1 class="max-w-4xl text-4xl leading-[1.05] font-semibold tracking-tight text-foreground sm:text-5xl md:text-6xl">
|
|
109
|
+
<template v-for="(word, index) in beforeWords" :key="`before-${word}-${index}`">
|
|
110
|
+
<span class="inline-block animate-uv-word-in" :style="{ animationDelay: wordDelay(index) }">{{ word }}</span>{{ wordGap(index) }}
|
|
111
|
+
</template>
|
|
112
|
+
<!-- The text and the underline sit on one line so no stray space ends up inside the highlight -->
|
|
113
|
+
<span v-if="titleParts.highlight" class="relative inline-block animate-uv-word-in text-primary" :style="{ animationDelay: highlightDelay }">{{ titleParts.highlight }}<svg class="absolute -bottom-2 left-0 h-3 w-full text-primary/60" viewBox="0 0 200 12" fill="none" preserveAspectRatio="none" aria-hidden="true">
|
|
114
|
+
<path d="M2 9C40 3 80 2 198 7" stroke="currentColor" stroke-width="4" stroke-linecap="round" pathLength="1" class="animate-uv-draw [stroke-dasharray:1]" :style="{ animationDelay: underlineDelay }" />
|
|
115
|
+
</svg>
|
|
116
|
+
</span>
|
|
117
|
+
<template v-for="(word, index) in afterWords" :key="`after-${word}-${index}`">
|
|
118
|
+
{{ index === 0 && !/^\s/.test(titleParts.after) ? '' : ' ' }}<span class="inline-block animate-uv-word-in" :style="{ animationDelay: afterDelay(index) }">{{ word }}</span>
|
|
119
|
+
</template>
|
|
120
|
+
</h1>
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
122
|
+
<!-- Description -->
|
|
123
|
+
<p class="max-w-2xl animate-uv-fade-up text-sm leading-7 text-muted-foreground sm:text-base" :style="{ animationDelay: descriptionDelay }">
|
|
124
|
+
{{ props.description }}
|
|
125
|
+
</p>
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</template>
|
|
127
|
+
<!-- Stats strip -->
|
|
128
|
+
<StatStrip :items="props.stats" :class="cn('animate-uv-fade-up', alignClass.row)" :style="{ animationDelay: statsDelay }" />
|
|
129
|
+
</header>
|
|
130
|
+
</template>
|