astro-component-kit 0.0.1 → 0.1.1
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/README.md +218 -119
- package/package.json +28 -55
- package/src/components/index.ts +207 -0
- package/src/components/lib/AnimatedGalaxy.astro +185 -0
- package/src/components/lib/Galaxy3D.astro +308 -0
- package/src/components/lib/GlassNavbar.astro +13 -11
- package/src/components/lib/LogoWithGalaxy.astro +63 -0
- package/src/components/lib/buttons/3dPushButton.astro +9 -0
- package/src/components/lib/buttons/AnimatedIconButton.astro +10 -0
- package/src/components/lib/buttons/BorderDrawButton.astro +9 -0
- package/src/components/lib/buttons/CyberpunkButton.astro +10 -0
- package/src/components/lib/buttons/DoubleBorderButton.astro +9 -0
- package/src/components/lib/buttons/GhostOutlineButton.astro +10 -0
- package/src/components/lib/buttons/GlassButton.astro +13 -32
- package/src/components/lib/buttons/GlowButton.astro +9 -0
- package/src/components/lib/buttons/LiquidButton.astro +9 -0
- package/src/components/lib/buttons/LoadingButton.astro +10 -0
- package/src/components/lib/buttons/MagneticButton.astro +10 -0
- package/src/components/lib/buttons/MinimalPillButton.astro +9 -0
- package/src/components/lib/buttons/NeumorphicButton.astro +10 -0
- package/src/components/lib/buttons/PulseButton.astro +10 -0
- package/src/components/lib/buttons/RetroArcadeButton.astro +9 -0
- package/src/components/lib/buttons/RetroShadowButton.astro +9 -0
- package/src/components/lib/buttons/ShimmerButton.astro +9 -0
- package/src/components/lib/buttons/ShinyButton.astro +9 -0
- package/src/components/lib/buttons/TiltGlowButton.astro +10 -0
- package/src/components/lib/cards/BlogHorizontalCard.astro +46 -13
- package/src/components/lib/cards/CyberFeatureCard.astro +50 -6
- package/src/components/lib/cards/EcommerceProductCard.astro +69 -16
- package/src/components/lib/cards/GlassCard.astro +8 -0
- package/src/components/lib/cards/GlassEventCard.astro +53 -12
- package/src/components/lib/cards/GlowPortfolioCard.astro +46 -9
- package/src/components/lib/cards/InteractiveTiltCard.astro +47 -7
- package/src/components/lib/cards/KanbanItemCard.astro +40 -9
- package/src/components/lib/cards/MinimalLinkCard.astro +37 -7
- package/src/components/lib/cards/MusicPlayerMini.astro +54 -14
- package/src/components/lib/cards/NeumorphicCard.astro +32 -2
- package/src/components/lib/cards/NotificationCard.astro +44 -9
- package/src/components/lib/cards/PricingCard.astro +47 -9
- package/src/components/lib/cards/ProfileCard.astro +50 -11
- package/src/components/lib/cards/RetroGameCard.astro +37 -9
- package/src/components/lib/cards/StatCard.astro +43 -8
- package/src/components/lib/cards/TaskKanbanCard.astro +50 -11
- package/src/components/lib/cards/TestimonialCardClean.astro +43 -12
- package/src/components/lib/cards/WeatherWidgetCard.astro +36 -10
- package/src/components/lib/feedback/AnimatedCheckmark.astro +58 -9
- package/src/components/lib/feedback/Badge.astro +47 -12
- package/src/components/lib/feedback/CircleProgress.astro +56 -13
- package/src/components/lib/feedback/ConfettiFeedback.astro +74 -11
- package/src/components/lib/feedback/CyberGlitchAlert.astro +69 -6
- package/src/components/lib/feedback/EmptyStateCard.astro +55 -7
- package/src/components/lib/feedback/GlassAlert.astro +59 -13
- package/src/components/lib/feedback/GlassModal.astro +99 -14
- package/src/components/lib/feedback/GlassProgress.astro +39 -5
- package/src/components/lib/feedback/IndicatorBadgeMinimal.astro +56 -3
- package/src/components/lib/feedback/NeonSpinner.astro +40 -3
- package/src/components/lib/feedback/PulseDot.astro +51 -7
- package/src/components/lib/feedback/RatingPill.astro +38 -8
- package/src/components/lib/feedback/ShakeErrorGroup.astro +44 -3
- package/src/components/lib/feedback/SimpleTooltip.astro +53 -4
- package/src/components/lib/feedback/SkeletonList.astro +59 -13
- package/src/components/lib/feedback/Spotlight.astro +49 -4
- package/src/components/lib/feedback/StepProgress.astro +96 -9
- package/src/components/lib/feedback/ToastNotif.astro +60 -6
- package/src/components/lib/feedback/TypingIndicator.astro +52 -7
- package/src/components/lib/forms/AnimatedInput.astro +47 -5
- package/src/components/lib/forms/ChipInput.astro +116 -8
- package/src/components/lib/forms/ColorPickerInput.astro +53 -6
- package/src/components/lib/forms/CurrencyInput.astro +59 -6
- package/src/components/lib/forms/CustomRadioGroup.astro +61 -9
- package/src/components/lib/forms/CyberpunkCheckbox.astro +64 -8
- package/src/components/lib/forms/DragDropUpload.astro +87 -7
- package/src/components/lib/forms/ErrorInput.astro +31 -4
- package/src/components/lib/forms/FloatingPassword.astro +48 -10
- package/src/components/lib/forms/FormGroupVertical.astro +63 -9
- package/src/components/lib/forms/GlassSlider.astro +84 -3
- package/src/components/lib/forms/GlassTextarea.astro +39 -6
- package/src/components/lib/forms/ModernSelect.astro +66 -10
- package/src/components/lib/forms/NeumorphicSwitch.astro +54 -26
- package/src/components/lib/forms/OTPInput.astro +84 -12
- package/src/components/lib/forms/RatingStars.astro +66 -10
- package/src/components/lib/forms/SearchReveal.astro +44 -6
- package/src/components/lib/forms/SegmentedControl.astro +61 -7
- package/src/components/lib/forms/SimpleFileInput.astro +57 -6
- package/src/components/lib/forms/StepperInput.astro +101 -9
- package/src/components/lib/layout/FeatureHero.astro +70 -6
- package/src/components/lib/layout/FooterCenteredMinimal.astro +5 -2
- package/src/components/lib/navigation/GlassNavbar.astro +10 -5
- package/src/components/lib/navigation/MinimalSidebar.astro +6 -3
- package/src/components/lib/navigation/SimpleFooterGlass.astro +6 -2
- package/src/components/lib/overlays/SplashIntroOverlay.astro +6 -3
- package/src/components/lib/sections/ButtonsShowcase.astro +182 -0
- package/src/components/lib/sections/CardsShowcase.astro +376 -0
- package/src/components/lib/sections/DataShowcase.astro +329 -0
- package/src/components/lib/sections/FeedbackShowcase.astro +320 -0
- package/src/components/lib/sections/FormsShowcase.astro +347 -0
- package/src/components/lib/sections/HeroGlass.astro +202 -0
- package/src/components/lib/sections/HeroGradient.astro +143 -0
- package/src/components/lib/sections/HeroSplit.astro +210 -0
- package/src/components/lib/sections/LayoutShowcase.astro +317 -0
- package/src/components/lib/sections/NavigationShowcase.astro +285 -0
- package/src/components/lib/sections/OverlaysShowcase.astro +373 -0
- package/src/components/lib/sections/TypographyShowcase.astro +239 -0
- package/src/components/lib/sections/index.ts +6 -0
- package/src/components/types.d.ts +6 -0
- package/{dist → src}/styles/global.css +5 -5
- package/dist/AnimatedInput.astro +0 -82
- package/dist/Badge.astro +0 -52
- package/dist/GlassButton.astro +0 -87
- package/dist/GlassCard.astro +0 -72
- package/dist/GlassNavbar.astro +0 -65
- package/dist/GlowButton.astro +0 -60
- package/dist/buttons/3dPushButton.astro +0 -136
- package/dist/buttons/AnimatedIconButton.astro +0 -146
- package/dist/buttons/BorderDrawButton.astro +0 -112
- package/dist/buttons/CyberpunkButton.astro +0 -148
- package/dist/buttons/DoubleBorderButton.astro +0 -131
- package/dist/buttons/GhostOutlineButton.astro +0 -109
- package/dist/buttons/GlassButton.astro +0 -165
- package/dist/buttons/GlowButton.astro +0 -119
- package/dist/buttons/LiquidButton.astro +0 -167
- package/dist/buttons/LoadingButton.astro +0 -148
- package/dist/buttons/MagneticButton.astro +0 -134
- package/dist/buttons/MinimalPillButton.astro +0 -102
- package/dist/buttons/NeumorphicButton.astro +0 -158
- package/dist/buttons/PulseButton.astro +0 -111
- package/dist/buttons/RetroArcadeButton.astro +0 -105
- package/dist/buttons/RetroShadowButton.astro +0 -82
- package/dist/buttons/ShimmerButton.astro +0 -113
- package/dist/buttons/ShinyButton.astro +0 -121
- package/dist/buttons/TiltGlowButton.astro +0 -145
- package/dist/buttons/index.mjs +0 -19
- package/dist/buttons/index.ts +0 -19
- package/dist/cards/BlogHorizontalCard.astro +0 -18
- package/dist/cards/CyberFeatureCard.astro +0 -12
- package/dist/cards/EcommerceProductCard.astro +0 -24
- package/dist/cards/GlassCard.astro +0 -17
- package/dist/cards/GlassEventCard.astro +0 -19
- package/dist/cards/GlowPortfolioCard.astro +0 -16
- package/dist/cards/InteractiveTiltCard.astro +0 -25
- package/dist/cards/KanbanItemCard.astro +0 -15
- package/dist/cards/MinimalLinkCard.astro +0 -12
- package/dist/cards/MusicPlayerMini.astro +0 -21
- package/dist/cards/NeumorphicCard.astro +0 -6
- package/dist/cards/NotificationCard.astro +0 -15
- package/dist/cards/PricingCard.astro +0 -17
- package/dist/cards/ProfileCard.astro +0 -17
- package/dist/cards/RetroGameCard.astro +0 -15
- package/dist/cards/StatCard.astro +0 -15
- package/dist/cards/TaskKanbanCard.astro +0 -18
- package/dist/cards/TestimonialCardClean.astro +0 -20
- package/dist/cards/WeatherWidgetCard.astro +0 -17
- package/dist/cards/index.mjs +0 -19
- package/dist/cards/index.ts +0 -19
- package/dist/data/AccordionGroupGlass.astro +0 -21
- package/dist/data/AvatarGroupStack.astro +0 -15
- package/dist/data/CalendarGridView.astro +0 -18
- package/dist/data/DataChipsGroup.astro +0 -16
- package/dist/data/DescriptionListHoriz.astro +0 -14
- package/dist/data/FileTreeView.astro +0 -22
- package/dist/data/GanttChartMinimal.astro +0 -12
- package/dist/data/GlassTable.astro +0 -23
- package/dist/data/KeyValuePillGroup.astro +0 -12
- package/dist/data/PriceCompareTable.astro +0 -22
- package/dist/data/ProgressListSmall.astro +0 -17
- package/dist/data/RatingBreakdownBar.astro +0 -13
- package/dist/data/SparklineStatCard.astro +0 -16
- package/dist/data/StatsGridDashboard.astro +0 -16
- package/dist/data/StepperDataVertical.astro +0 -15
- package/dist/data/TagCloudData.astro +0 -14
- package/dist/data/TimelineHorizSteps.astro +0 -18
- package/dist/data/TreeItemInteractive.astro +0 -18
- package/dist/data/UserDirectoryItem.astro +0 -15
- package/dist/data/VerticalTimeline.astro +0 -21
- package/dist/data/index.mjs +0 -20
- package/dist/data/index.ts +0 -20
- package/dist/feedback/AnimatedCheckmark.astro +0 -13
- package/dist/feedback/Badge.astro +0 -19
- package/dist/feedback/CircleProgress.astro +0 -22
- package/dist/feedback/ConfettiFeedback.astro +0 -18
- package/dist/feedback/CyberGlitchAlert.astro +0 -11
- package/dist/feedback/EmptyStateCard.astro +0 -13
- package/dist/feedback/GlassAlert.astro +0 -20
- package/dist/feedback/GlassModal.astro +0 -19
- package/dist/feedback/GlassProgress.astro +0 -10
- package/dist/feedback/IndicatorBadgeMinimal.astro +0 -10
- package/dist/feedback/NeonSpinner.astro +0 -7
- package/dist/feedback/PulseDot.astro +0 -12
- package/dist/feedback/RatingPill.astro +0 -13
- package/dist/feedback/ShakeErrorGroup.astro +0 -7
- package/dist/feedback/SimpleTooltip.astro +0 -10
- package/dist/feedback/SkeletonList.astro +0 -20
- package/dist/feedback/Spotlight.astro +0 -9
- package/dist/feedback/StepProgress.astro +0 -14
- package/dist/feedback/ToastNotif.astro +0 -11
- package/dist/feedback/TypingIndicator.astro +0 -12
- package/dist/feedback/index.mjs +0 -20
- package/dist/feedback/index.ts +0 -20
- package/dist/forms/AnimatedInput.astro +0 -16
- package/dist/forms/ChipInput.astro +0 -13
- package/dist/forms/ColorPickerInput.astro +0 -13
- package/dist/forms/CurrencyInput.astro +0 -11
- package/dist/forms/CustomRadioGroup.astro +0 -13
- package/dist/forms/CyberpunkCheckbox.astro +0 -15
- package/dist/forms/DragDropUpload.astro +0 -12
- package/dist/forms/ErrorInput.astro +0 -11
- package/dist/forms/FloatingPassword.astro +0 -20
- package/dist/forms/FormGroupVertical.astro +0 -14
- package/dist/forms/GlassSlider.astro +0 -7
- package/dist/forms/GlassTextarea.astro +0 -14
- package/dist/forms/ModernSelect.astro +0 -16
- package/dist/forms/NeumorphicSwitch.astro +0 -55
- package/dist/forms/OTPInput.astro +0 -22
- package/dist/forms/RatingStars.astro +0 -15
- package/dist/forms/SearchReveal.astro +0 -13
- package/dist/forms/SegmentedControl.astro +0 -13
- package/dist/forms/SimpleFileInput.astro +0 -11
- package/dist/forms/StepperInput.astro +0 -14
- package/dist/forms/index.mjs +0 -20
- package/dist/forms/index.ts +0 -20
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/dist/layout/BentoGrid3.astro +0 -14
- package/dist/layout/CenterFixedBox.astro +0 -6
- package/dist/layout/CenteredContainer.astro +0 -8
- package/dist/layout/ClusterHorizontal.astro +0 -6
- package/dist/layout/FeatureHero.astro +0 -17
- package/dist/layout/FooterCenteredMinimal.astro +0 -11
- package/dist/layout/FullBleedSection.astro +0 -6
- package/dist/layout/GalleryGrid4.astro +0 -7
- package/dist/layout/GlassCardGrid.astro +0 -6
- package/dist/layout/GlassSectionHeader.astro +0 -15
- package/dist/layout/LandingSectionSplit.astro +0 -13
- package/dist/layout/MasonryGrid.astro +0 -7
- package/dist/layout/MinimalFooterGrid.astro +0 -20
- package/dist/layout/ScrollSnapSection.astro +0 -7
- package/dist/layout/SectionDividerText.astro +0 -7
- package/dist/layout/SidebarLayoutWrapper.astro +0 -11
- package/dist/layout/SplitScreenLayout.astro +0 -11
- package/dist/layout/StepLayoutVertical.astro +0 -21
- package/dist/layout/StickySidebarWrapper.astro +0 -10
- package/dist/layout/VerticalStack.astro +0 -8
- package/dist/layout/index.mjs +0 -20
- package/dist/layout/index.ts +0 -20
- package/dist/navigation/AnchorSideNav.astro +0 -13
- package/dist/navigation/BottomNavMobile.astro +0 -13
- package/dist/navigation/BreadcrumbsMinimal.astro +0 -16
- package/dist/navigation/BurgerMorphIcon.astro +0 -12
- package/dist/navigation/CommandPaletteUI.astro +0 -17
- package/dist/navigation/DotNavigationSlider.astro +0 -13
- package/dist/navigation/FloatingTabBar.astro +0 -12
- package/dist/navigation/GlassNavbar.astro +0 -19
- package/dist/navigation/LangSwitcherPill.astro +0 -17
- package/dist/navigation/MegaMenuGlass.astro +0 -25
- package/dist/navigation/MinimalSidebar.astro +0 -18
- package/dist/navigation/PaginationGlass.astro +0 -20
- package/dist/navigation/PaginationInfiniteUI.astro +0 -11
- package/dist/navigation/RadialIconMenu.astro +0 -15
- package/dist/navigation/RetroArcadeMenu.astro +0 -12
- package/dist/navigation/ScrollProgressTop.astro +0 -15
- package/dist/navigation/SimpleFooterGlass.astro +0 -21
- package/dist/navigation/TabUnderline.astro +0 -14
- package/dist/navigation/UserProfileNav.astro +0 -21
- package/dist/navigation/VerticalTabs.astro +0 -14
- package/dist/navigation/index.mjs +0 -20
- package/dist/navigation/index.ts +0 -20
- package/dist/overlays/AgeVerificationOverlay.astro +0 -20
- package/dist/overlays/BackdropBlurMask.astro +0 -6
- package/dist/overlays/BottomSheetMobile.astro +0 -16
- package/dist/overlays/CommandDialog.astro +0 -19
- package/dist/overlays/ContextMenuOverlay.astro +0 -17
- package/dist/overlays/CookieBannerGlass.astro +0 -14
- package/dist/overlays/ExitIntentOverlay.astro +0 -19
- package/dist/overlays/FloatingTrayActions.astro +0 -13
- package/dist/overlays/HelpBubbleOverlay.astro +0 -11
- package/dist/overlays/LightboxOverlay.astro +0 -13
- package/dist/overlays/LoadingOverlayFull.astro +0 -10
- package/dist/overlays/MobileNavOverlay.astro +0 -18
- package/dist/overlays/OverlayModal.astro +0 -24
- package/dist/overlays/PopoverMenuGlass.astro +0 -17
- package/dist/overlays/SearchOverlayFullscreen.astro +0 -15
- package/dist/overlays/SideDrawerRight.astro +0 -16
- package/dist/overlays/SplashIntroOverlay.astro +0 -11
- package/dist/overlays/SpotlightIndicator.astro +0 -6
- package/dist/overlays/ToastStackOverlay.astro +0 -12
- package/dist/overlays/TooltipActionTray.astro +0 -14
- package/dist/overlays/index.mjs +0 -20
- package/dist/overlays/index.ts +0 -20
- package/dist/typography/AnimatedUnderlineLink.astro +0 -10
- package/dist/typography/BackgroundClipMask.astro +0 -7
- package/dist/typography/CodeInlineGlass.astro +0 -6
- package/dist/typography/CyberpunkGlitchText.astro +0 -20
- package/dist/typography/DropCapParagraph.astro +0 -7
- package/dist/typography/FadedVerticalText.astro +0 -6
- package/dist/typography/FloatingTextLabel.astro +0 -10
- package/dist/typography/GlassBlockQuote.astro +0 -13
- package/dist/typography/GlassTextReveal.astro +0 -7
- package/dist/typography/GradientHeading.astro +0 -9
- package/dist/typography/GradientUnderlineLink.astro +0 -7
- package/dist/typography/KbdIndicator.astro +0 -6
- package/dist/typography/LetterSpacingWide.astro +0 -6
- package/dist/typography/MinimalListMarkers.astro +0 -10
- package/dist/typography/MonospaceStatLine.astro +0 -6
- package/dist/typography/NeonTextHighlight.astro +0 -6
- package/dist/typography/ShadowRevealText.astro +0 -7
- package/dist/typography/StrokeHeadingOutline.astro +0 -8
- package/dist/typography/Text3DLayer.astro +0 -7
- package/dist/typography/TypewriterText.astro +0 -15
- package/dist/typography/index.mjs +0 -20
- package/dist/typography/index.ts +0 -20
- package/dist/utilities/AspectRatioBox.astro +0 -11
- package/dist/utilities/BackgroundDotPattern.astro +0 -6
- package/dist/utilities/CircularMask.astro +0 -7
- package/dist/utilities/ClickRippleWrapper.astro +0 -7
- package/dist/utilities/FadeInWrapper.astro +0 -11
- package/dist/utilities/FixedRatioImage.astro +0 -7
- package/dist/utilities/GlassBlurLayer.astro +0 -6
- package/dist/utilities/GradientBorderMask.astro +0 -7
- package/dist/utilities/HoverLift.astro +0 -7
- package/dist/utilities/ResponsiveSpacer.astro +0 -15
- package/dist/utilities/ResponsiveVisToggle.astro +0 -11
- package/dist/utilities/ScrollLockParent.astro +0 -11
- package/dist/utilities/ScrollMarginTarget.astro +0 -10
- package/dist/utilities/SlideUpReveal.astro +0 -7
- package/dist/utilities/SmoothAnchorLink.astro +0 -22
- package/dist/utilities/StackLayering.astro +0 -12
- package/dist/utilities/StickyObserver.astro +0 -8
- package/dist/utilities/TextTruncate.astro +0 -10
- package/dist/utilities/TruncateSingleLine.astro +0 -6
- package/dist/utilities/VisuallyHidden.astro +0 -6
- package/dist/utilities/index.mjs +0 -20
- package/dist/utilities/index.ts +0 -20
- package/src/components/lib/utilities/AspectRatioBox.astro +0 -11
- package/src/components/lib/utilities/BackgroundDotPattern.astro +0 -6
- package/src/components/lib/utilities/CircularMask.astro +0 -7
- package/src/components/lib/utilities/ClickRippleWrapper.astro +0 -7
- package/src/components/lib/utilities/FadeInWrapper.astro +0 -11
- package/src/components/lib/utilities/FixedRatioImage.astro +0 -7
- package/src/components/lib/utilities/GlassBlurLayer.astro +0 -6
- package/src/components/lib/utilities/GradientBorderMask.astro +0 -7
- package/src/components/lib/utilities/HoverLift.astro +0 -7
- package/src/components/lib/utilities/ResponsiveSpacer.astro +0 -15
- package/src/components/lib/utilities/ResponsiveVisToggle.astro +0 -11
- package/src/components/lib/utilities/ScrollLockParent.astro +0 -11
- package/src/components/lib/utilities/ScrollMarginTarget.astro +0 -10
- package/src/components/lib/utilities/SlideUpReveal.astro +0 -7
- package/src/components/lib/utilities/SmoothAnchorLink.astro +0 -22
- package/src/components/lib/utilities/StackLayering.astro +0 -12
- package/src/components/lib/utilities/StickyObserver.astro +0 -8
- package/src/components/lib/utilities/TextTruncate.astro +0 -10
- package/src/components/lib/utilities/TruncateSingleLine.astro +0 -6
- package/src/components/lib/utilities/VisuallyHidden.astro +0 -6
- package/src/components/lib/utilities/index.ts +0 -20
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
---
|
|
2
|
+
// CardsShowcase.astro — Premium cards category showcase section with live preview
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const { title = "Cards", subtitle = "Versatile card containers for content display." } = Astro.props;
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<section class="cards-showcase">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="showcase-header">
|
|
14
|
+
<span class="showcase-eyebrow">🃏 Cards</span>
|
|
15
|
+
<h2 class="showcase-title">{title}</h2>
|
|
16
|
+
<p class="showcase-subtitle">{subtitle}</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="preview-stage">
|
|
20
|
+
<div class="preview-stage__inner">
|
|
21
|
+
<div class="card-grid">
|
|
22
|
+
<!-- Glass Card -->
|
|
23
|
+
<div class="preview-card preview-card--glass">
|
|
24
|
+
<div class="glass-card">
|
|
25
|
+
<div class="glass-card__icon">✨</div>
|
|
26
|
+
<h3 class="glass-card__title">Glass Card</h3>
|
|
27
|
+
<p class="glass-card__desc">Frosted glass effect with subtle borders and backdrop blur for a modern aesthetic.</p>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<!-- Profile Card -->
|
|
32
|
+
<div class="preview-card preview-card--profile">
|
|
33
|
+
<div class="profile-card">
|
|
34
|
+
<div class="profile-card__avatar">
|
|
35
|
+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" class="profile-card__avatar-icon">
|
|
36
|
+
<path d="M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.5 20.25a8.25 8.25 0 0115 0" stroke-linecap="round" stroke-linejoin="round"/>
|
|
37
|
+
</svg>
|
|
38
|
+
</div>
|
|
39
|
+
<h4 class="profile-card__name">Jane Doe</h4>
|
|
40
|
+
<p class="profile-card__role">Senior Developer</p>
|
|
41
|
+
<p class="profile-card__bio">Building beautiful interfaces with modern design systems and component libraries.</p>
|
|
42
|
+
<div class="profile-card__stats">
|
|
43
|
+
<span class="profile-card__stat"><strong>142</strong> Projects</span>
|
|
44
|
+
<span class="profile-card__stat"><strong>2.4k</strong> Followers</span>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
<!-- Pricing Card -->
|
|
50
|
+
<div class="preview-card preview-card--pricing">
|
|
51
|
+
<div class="pricing-card">
|
|
52
|
+
<span class="pricing-card__badge">Popular</span>
|
|
53
|
+
<h4 class="pricing-card__plan">Pro Plan</h4>
|
|
54
|
+
<div class="pricing-card__price">
|
|
55
|
+
<span class="pricing-card__currency">$</span>
|
|
56
|
+
<span class="pricing-card__amount">29</span>
|
|
57
|
+
<span class="pricing-card__period">/mo</span>
|
|
58
|
+
</div>
|
|
59
|
+
<ul class="pricing-card__features">
|
|
60
|
+
<li>Unlimited projects</li>
|
|
61
|
+
<li>Priority support</li>
|
|
62
|
+
<li>Advanced analytics</li>
|
|
63
|
+
<li>Custom branding</li>
|
|
64
|
+
</ul>
|
|
65
|
+
<button class="pricing-card__cta">Get Started</button>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<div class="usage-code">
|
|
73
|
+
<code><GlassCard variant="glass">Content here</GlassCard></code>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</section>
|
|
77
|
+
|
|
78
|
+
<style>
|
|
79
|
+
.cards-showcase {
|
|
80
|
+
padding: var(--sp-16) 0;
|
|
81
|
+
position: relative;
|
|
82
|
+
}
|
|
83
|
+
.showcase-header {
|
|
84
|
+
text-align: center;
|
|
85
|
+
margin-bottom: var(--sp-10);
|
|
86
|
+
}
|
|
87
|
+
.showcase-eyebrow {
|
|
88
|
+
display: inline-block;
|
|
89
|
+
padding: 0.35rem 0.8rem;
|
|
90
|
+
font-size: 0.75rem;
|
|
91
|
+
font-weight: 700;
|
|
92
|
+
text-transform: uppercase;
|
|
93
|
+
letter-spacing: 0.1em;
|
|
94
|
+
color: var(--c-primary-light);
|
|
95
|
+
background: rgba(184,134,11,0.1);
|
|
96
|
+
border: 1px solid rgba(184,134,11,0.25);
|
|
97
|
+
border-radius: var(--r-full);
|
|
98
|
+
margin-bottom: var(--sp-4);
|
|
99
|
+
}
|
|
100
|
+
.showcase-title {
|
|
101
|
+
font-size: clamp(2rem, 4vw, 3rem);
|
|
102
|
+
font-weight: 800;
|
|
103
|
+
color: var(--c-text-1);
|
|
104
|
+
margin-bottom: var(--sp-3);
|
|
105
|
+
}
|
|
106
|
+
.showcase-subtitle {
|
|
107
|
+
font-size: 1.05rem;
|
|
108
|
+
color: var(--c-text-2);
|
|
109
|
+
max-width: 500px;
|
|
110
|
+
margin: 0 auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Preview Stage */
|
|
114
|
+
.preview-stage {
|
|
115
|
+
padding: var(--sp-12);
|
|
116
|
+
background: rgba(10, 10, 10, 0.6);
|
|
117
|
+
backdrop-filter: blur(20px);
|
|
118
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
119
|
+
border-radius: var(--r-xl);
|
|
120
|
+
margin-bottom: var(--sp-6);
|
|
121
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
122
|
+
}
|
|
123
|
+
.preview-stage__inner {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
min-height: 320px;
|
|
128
|
+
}
|
|
129
|
+
.card-grid {
|
|
130
|
+
display: grid;
|
|
131
|
+
grid-template-columns: repeat(3, 1fr);
|
|
132
|
+
gap: var(--sp-6);
|
|
133
|
+
width: 100%;
|
|
134
|
+
max-width: 960px;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Preview Card Wrapper */
|
|
138
|
+
.preview-card {
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: stretch;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* Glass Card */
|
|
144
|
+
.glass-card {
|
|
145
|
+
width: 100%;
|
|
146
|
+
padding: var(--sp-6);
|
|
147
|
+
background: rgba(255,255,255,0.05);
|
|
148
|
+
backdrop-filter: blur(16px);
|
|
149
|
+
border: 1px solid rgba(255,255,255,0.1);
|
|
150
|
+
border-radius: var(--r-lg);
|
|
151
|
+
text-align: center;
|
|
152
|
+
transition: all 0.3s ease;
|
|
153
|
+
}
|
|
154
|
+
.glass-card:hover {
|
|
155
|
+
background: rgba(255,255,255,0.08);
|
|
156
|
+
border-color: rgba(184,134,11,0.3);
|
|
157
|
+
transform: translateY(-4px);
|
|
158
|
+
box-shadow: 0 12px 40px rgba(0,0,0,0.3);
|
|
159
|
+
}
|
|
160
|
+
.glass-card__icon {
|
|
161
|
+
font-size: 2rem;
|
|
162
|
+
margin-bottom: var(--sp-3);
|
|
163
|
+
}
|
|
164
|
+
.glass-card__title {
|
|
165
|
+
font-size: 1.1rem;
|
|
166
|
+
font-weight: 700;
|
|
167
|
+
color: var(--c-text-1);
|
|
168
|
+
margin-bottom: var(--sp-2);
|
|
169
|
+
}
|
|
170
|
+
.glass-card__desc {
|
|
171
|
+
font-size: 0.85rem;
|
|
172
|
+
color: var(--c-text-2);
|
|
173
|
+
line-height: 1.5;
|
|
174
|
+
margin: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Profile Card */
|
|
178
|
+
.profile-card {
|
|
179
|
+
width: 100%;
|
|
180
|
+
padding: var(--sp-6);
|
|
181
|
+
background: rgba(255,255,255,0.04);
|
|
182
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
183
|
+
border-radius: var(--r-lg);
|
|
184
|
+
text-align: center;
|
|
185
|
+
transition: all 0.3s ease;
|
|
186
|
+
}
|
|
187
|
+
.profile-card:hover {
|
|
188
|
+
background: rgba(255,255,255,0.06);
|
|
189
|
+
border-color: rgba(184,134,11,0.25);
|
|
190
|
+
transform: translateY(-4px);
|
|
191
|
+
box-shadow: 0 12px 40px rgba(0,0,0,0.3);
|
|
192
|
+
}
|
|
193
|
+
.profile-card__avatar {
|
|
194
|
+
width: 64px;
|
|
195
|
+
height: 64px;
|
|
196
|
+
margin: 0 auto var(--sp-4);
|
|
197
|
+
border-radius: 50%;
|
|
198
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
|
|
199
|
+
display: flex;
|
|
200
|
+
align-items: center;
|
|
201
|
+
justify-content: center;
|
|
202
|
+
color: #0a0a0a;
|
|
203
|
+
}
|
|
204
|
+
.profile-card__avatar-icon {
|
|
205
|
+
width: 32px;
|
|
206
|
+
height: 32px;
|
|
207
|
+
}
|
|
208
|
+
.profile-card__name {
|
|
209
|
+
font-size: 1.05rem;
|
|
210
|
+
font-weight: 700;
|
|
211
|
+
color: var(--c-text-1);
|
|
212
|
+
margin: 0 0 var(--sp-1);
|
|
213
|
+
}
|
|
214
|
+
.profile-card__role {
|
|
215
|
+
font-size: 0.8rem;
|
|
216
|
+
color: var(--c-primary-light);
|
|
217
|
+
margin: 0 0 var(--sp-3);
|
|
218
|
+
font-weight: 500;
|
|
219
|
+
}
|
|
220
|
+
.profile-card__bio {
|
|
221
|
+
font-size: 0.8rem;
|
|
222
|
+
color: var(--c-text-2);
|
|
223
|
+
line-height: 1.5;
|
|
224
|
+
margin: 0 0 var(--sp-4);
|
|
225
|
+
}
|
|
226
|
+
.profile-card__stats {
|
|
227
|
+
display: flex;
|
|
228
|
+
justify-content: center;
|
|
229
|
+
gap: var(--sp-4);
|
|
230
|
+
border-top: 1px solid rgba(255,255,255,0.08);
|
|
231
|
+
padding-top: var(--sp-3);
|
|
232
|
+
}
|
|
233
|
+
.profile-card__stat {
|
|
234
|
+
font-size: 0.75rem;
|
|
235
|
+
color: var(--c-text-2);
|
|
236
|
+
}
|
|
237
|
+
.profile-card__stat strong {
|
|
238
|
+
color: var(--c-text-1);
|
|
239
|
+
font-weight: 700;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/* Pricing Card */
|
|
243
|
+
.pricing-card {
|
|
244
|
+
width: 100%;
|
|
245
|
+
padding: var(--sp-6);
|
|
246
|
+
background: rgba(255,255,255,0.04);
|
|
247
|
+
border: 1px solid rgba(184,134,11,0.2);
|
|
248
|
+
border-radius: var(--r-lg);
|
|
249
|
+
text-align: center;
|
|
250
|
+
position: relative;
|
|
251
|
+
transition: all 0.3s ease;
|
|
252
|
+
}
|
|
253
|
+
.pricing-card:hover {
|
|
254
|
+
background: rgba(255,255,255,0.06);
|
|
255
|
+
border-color: rgba(184,134,11,0.4);
|
|
256
|
+
transform: translateY(-4px);
|
|
257
|
+
box-shadow: 0 12px 40px rgba(0,0,0,0.3);
|
|
258
|
+
}
|
|
259
|
+
.pricing-card__badge {
|
|
260
|
+
display: inline-block;
|
|
261
|
+
padding: 0.25rem 0.7rem;
|
|
262
|
+
font-size: 0.65rem;
|
|
263
|
+
font-weight: 700;
|
|
264
|
+
text-transform: uppercase;
|
|
265
|
+
letter-spacing: 0.05em;
|
|
266
|
+
color: #0a0a0a;
|
|
267
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
|
|
268
|
+
border-radius: var(--r-full);
|
|
269
|
+
margin-bottom: var(--sp-3);
|
|
270
|
+
}
|
|
271
|
+
.pricing-card__plan {
|
|
272
|
+
font-size: 1rem;
|
|
273
|
+
font-weight: 700;
|
|
274
|
+
color: var(--c-text-1);
|
|
275
|
+
margin: 0 0 var(--sp-3);
|
|
276
|
+
}
|
|
277
|
+
.pricing-card__price {
|
|
278
|
+
display: flex;
|
|
279
|
+
align-items: baseline;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
gap: 2px;
|
|
282
|
+
margin-bottom: var(--sp-4);
|
|
283
|
+
}
|
|
284
|
+
.pricing-card__currency {
|
|
285
|
+
font-size: 1.2rem;
|
|
286
|
+
font-weight: 600;
|
|
287
|
+
color: var(--c-text-1);
|
|
288
|
+
align-self: flex-start;
|
|
289
|
+
margin-top: 8px;
|
|
290
|
+
}
|
|
291
|
+
.pricing-card__amount {
|
|
292
|
+
font-size: 3rem;
|
|
293
|
+
font-weight: 800;
|
|
294
|
+
color: var(--c-text-1);
|
|
295
|
+
line-height: 1;
|
|
296
|
+
}
|
|
297
|
+
.pricing-card__period {
|
|
298
|
+
font-size: 0.85rem;
|
|
299
|
+
color: var(--c-text-2);
|
|
300
|
+
font-weight: 500;
|
|
301
|
+
}
|
|
302
|
+
.pricing-card__features {
|
|
303
|
+
list-style: none;
|
|
304
|
+
padding: 0;
|
|
305
|
+
margin: 0 0 var(--sp-5);
|
|
306
|
+
text-align: left;
|
|
307
|
+
}
|
|
308
|
+
.pricing-card__features li {
|
|
309
|
+
font-size: 0.8rem;
|
|
310
|
+
color: var(--c-text-2);
|
|
311
|
+
padding: 0.4rem 0;
|
|
312
|
+
border-bottom: 1px solid rgba(255,255,255,0.04);
|
|
313
|
+
position: relative;
|
|
314
|
+
padding-left: 1.2rem;
|
|
315
|
+
}
|
|
316
|
+
.pricing-card__features li::before {
|
|
317
|
+
content: "✓";
|
|
318
|
+
position: absolute;
|
|
319
|
+
left: 0;
|
|
320
|
+
color: var(--c-primary-light);
|
|
321
|
+
font-weight: 700;
|
|
322
|
+
}
|
|
323
|
+
.pricing-card__features li:last-child {
|
|
324
|
+
border-bottom: none;
|
|
325
|
+
}
|
|
326
|
+
.pricing-card__cta {
|
|
327
|
+
width: 100%;
|
|
328
|
+
padding: 0.7rem 1.5rem;
|
|
329
|
+
font-size: 0.85rem;
|
|
330
|
+
font-weight: 700;
|
|
331
|
+
font-family: var(--font-sans);
|
|
332
|
+
color: #0a0a0a;
|
|
333
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
|
|
334
|
+
border: none;
|
|
335
|
+
border-radius: var(--r-md);
|
|
336
|
+
cursor: pointer;
|
|
337
|
+
transition: all 0.25s ease;
|
|
338
|
+
box-shadow: 0 4px 16px rgba(184,134,11,0.25);
|
|
339
|
+
}
|
|
340
|
+
.pricing-card__cta:hover {
|
|
341
|
+
box-shadow: 0 6px 24px rgba(184,134,11,0.4);
|
|
342
|
+
transform: translateY(-1px);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
/* Usage Code */
|
|
346
|
+
.usage-code {
|
|
347
|
+
text-align: center;
|
|
348
|
+
padding: var(--sp-4);
|
|
349
|
+
background: rgba(255,255,255,0.02);
|
|
350
|
+
border-radius: var(--r-md);
|
|
351
|
+
}
|
|
352
|
+
.usage-code code {
|
|
353
|
+
font-family: var(--font-mono);
|
|
354
|
+
font-size: 0.85rem;
|
|
355
|
+
color: var(--c-primary-light);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@media (max-width: 900px) {
|
|
359
|
+
.card-grid {
|
|
360
|
+
grid-template-columns: 1fr;
|
|
361
|
+
max-width: 380px;
|
|
362
|
+
gap: var(--sp-5);
|
|
363
|
+
}
|
|
364
|
+
.preview-stage__inner {
|
|
365
|
+
min-height: auto;
|
|
366
|
+
}
|
|
367
|
+
.preview-stage {
|
|
368
|
+
padding: var(--sp-8) var(--sp-4);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
@media (max-width: 640px) {
|
|
372
|
+
.card-grid {
|
|
373
|
+
max-width: 100%;
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
</style>
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
---
|
|
2
|
+
// DataShowcase.astro — Premium data display section with live preview
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const { title = "Data Display", subtitle = "Stats, tables, and visualization elements." } = Astro.props;
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<section class="data-showcase">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="showcase-header">
|
|
14
|
+
<span class="showcase-eyebrow">📊 Data Display</span>
|
|
15
|
+
<h2 class="showcase-title">{title}</h2>
|
|
16
|
+
<p class="showcase-subtitle">{subtitle}</p>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="preview-stage">
|
|
20
|
+
<div class="preview-stage__inner">
|
|
21
|
+
<div class="data-mockups">
|
|
22
|
+
<!-- Stats Row -->
|
|
23
|
+
<div class="stats-row">
|
|
24
|
+
<div class="stat-card">
|
|
25
|
+
<span class="stat-value">12,847</span>
|
|
26
|
+
<span class="stat-label">Total Users</span>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="stat-card">
|
|
29
|
+
<span class="stat-value">94.2%</span>
|
|
30
|
+
<span class="stat-label">Uptime</span>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="stat-card">
|
|
33
|
+
<span class="stat-value">3.6s</span>
|
|
34
|
+
<span class="stat-label">Avg. Response</span>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<!-- Mini Table -->
|
|
39
|
+
<div class="mini-table">
|
|
40
|
+
<div class="table-header">
|
|
41
|
+
<span class="col col--name">Endpoint</span>
|
|
42
|
+
<span class="col col--status">Status</span>
|
|
43
|
+
<span class="col col--latency">Latency</span>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="table-row">
|
|
46
|
+
<span class="col col--name">/api/users</span>
|
|
47
|
+
<span class="col col--status"><span class="badge badge--ok">200</span></span>
|
|
48
|
+
<span class="col col--latency">12ms</span>
|
|
49
|
+
</div>
|
|
50
|
+
<div class="table-row">
|
|
51
|
+
<span class="col col--name">/api/products</span>
|
|
52
|
+
<span class="col col--status"><span class="badge badge--warn">301</span></span>
|
|
53
|
+
<span class="col col--latency">48ms</span>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="table-row">
|
|
56
|
+
<span class="col col--name">/api/orders</span>
|
|
57
|
+
<span class="col col--status"><span class="badge badge--err">500</span></span>
|
|
58
|
+
<span class="col col--latency">210ms</span>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
|
|
62
|
+
<!-- Progress Bar / Chart -->
|
|
63
|
+
<div class="progress-section">
|
|
64
|
+
<div class="progress-labels">
|
|
65
|
+
<span class="progress-label">CPU Usage</span>
|
|
66
|
+
<span class="progress-value">73%</span>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="progress-track">
|
|
69
|
+
<div class="progress-fill"></div>
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<div class="usage-code">
|
|
77
|
+
<code set:html={`<DataTable data={items} variant="glass" />`}></code>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</section>
|
|
81
|
+
|
|
82
|
+
<style>
|
|
83
|
+
.data-showcase {
|
|
84
|
+
padding: var(--sp-16) 0;
|
|
85
|
+
position: relative;
|
|
86
|
+
}
|
|
87
|
+
.showcase-header {
|
|
88
|
+
text-align: center;
|
|
89
|
+
margin-bottom: var(--sp-10);
|
|
90
|
+
}
|
|
91
|
+
.showcase-eyebrow {
|
|
92
|
+
display: inline-block;
|
|
93
|
+
padding: 0.35rem 0.8rem;
|
|
94
|
+
font-size: 0.75rem;
|
|
95
|
+
font-weight: 700;
|
|
96
|
+
text-transform: uppercase;
|
|
97
|
+
letter-spacing: 0.1em;
|
|
98
|
+
color: var(--c-primary-light);
|
|
99
|
+
background: rgba(184,134,11,0.1);
|
|
100
|
+
border: 1px solid rgba(184,134,11,0.25);
|
|
101
|
+
border-radius: var(--r-full);
|
|
102
|
+
margin-bottom: var(--sp-4);
|
|
103
|
+
}
|
|
104
|
+
.showcase-title {
|
|
105
|
+
font-size: clamp(2rem, 4vw, 3rem);
|
|
106
|
+
font-weight: 800;
|
|
107
|
+
color: var(--c-text-1);
|
|
108
|
+
margin-bottom: var(--sp-3);
|
|
109
|
+
}
|
|
110
|
+
.showcase-subtitle {
|
|
111
|
+
font-size: 1.05rem;
|
|
112
|
+
color: var(--c-text-2);
|
|
113
|
+
max-width: 500px;
|
|
114
|
+
margin: 0 auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* Preview Stage */
|
|
118
|
+
.preview-stage {
|
|
119
|
+
padding: var(--sp-12);
|
|
120
|
+
background: rgba(10, 10, 10, 0.6);
|
|
121
|
+
backdrop-filter: blur(20px);
|
|
122
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
123
|
+
border-radius: var(--r-xl);
|
|
124
|
+
margin-bottom: var(--sp-6);
|
|
125
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
126
|
+
}
|
|
127
|
+
.preview-stage__inner {
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
align-items: center;
|
|
131
|
+
gap: var(--sp-8);
|
|
132
|
+
}
|
|
133
|
+
.data-mockups {
|
|
134
|
+
width: 100%;
|
|
135
|
+
max-width: 600px;
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
gap: var(--sp-8);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/* Stats Row */
|
|
142
|
+
.stats-row {
|
|
143
|
+
display: grid;
|
|
144
|
+
grid-template-columns: repeat(3, 1fr);
|
|
145
|
+
gap: var(--sp-4);
|
|
146
|
+
}
|
|
147
|
+
.stat-card {
|
|
148
|
+
padding: var(--sp-5);
|
|
149
|
+
background: rgba(255,255,255,0.04);
|
|
150
|
+
backdrop-filter: blur(12px);
|
|
151
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
152
|
+
border-radius: var(--r-lg);
|
|
153
|
+
text-align: center;
|
|
154
|
+
transition: all 0.25s ease;
|
|
155
|
+
}
|
|
156
|
+
.stat-card:hover {
|
|
157
|
+
background: rgba(255,255,255,0.07);
|
|
158
|
+
border-color: rgba(184,134,11,0.25);
|
|
159
|
+
transform: translateY(-2px);
|
|
160
|
+
}
|
|
161
|
+
.stat-value {
|
|
162
|
+
display: block;
|
|
163
|
+
font-size: 1.6rem;
|
|
164
|
+
font-weight: 800;
|
|
165
|
+
color: var(--c-text-1);
|
|
166
|
+
margin-bottom: var(--sp-1);
|
|
167
|
+
}
|
|
168
|
+
.stat-label {
|
|
169
|
+
display: block;
|
|
170
|
+
font-size: 0.75rem;
|
|
171
|
+
font-weight: 500;
|
|
172
|
+
color: var(--c-text-2);
|
|
173
|
+
text-transform: uppercase;
|
|
174
|
+
letter-spacing: 0.05em;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Mini Table */
|
|
178
|
+
.mini-table {
|
|
179
|
+
background: rgba(255,255,255,0.04);
|
|
180
|
+
backdrop-filter: blur(12px);
|
|
181
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
182
|
+
border-radius: var(--r-lg);
|
|
183
|
+
overflow: hidden;
|
|
184
|
+
}
|
|
185
|
+
.table-header {
|
|
186
|
+
display: grid;
|
|
187
|
+
grid-template-columns: 1.5fr 0.8fr 1fr;
|
|
188
|
+
padding: var(--sp-3) var(--sp-5);
|
|
189
|
+
background: rgba(255,255,255,0.06);
|
|
190
|
+
border-bottom: 1px solid rgba(255,255,255,0.08);
|
|
191
|
+
font-size: 0.7rem;
|
|
192
|
+
font-weight: 600;
|
|
193
|
+
text-transform: uppercase;
|
|
194
|
+
letter-spacing: 0.08em;
|
|
195
|
+
color: var(--c-text-2);
|
|
196
|
+
}
|
|
197
|
+
.table-row {
|
|
198
|
+
display: grid;
|
|
199
|
+
grid-template-columns: 1.5fr 0.8fr 1fr;
|
|
200
|
+
padding: var(--sp-3) var(--sp-5);
|
|
201
|
+
border-bottom: 1px solid rgba(255,255,255,0.04);
|
|
202
|
+
font-size: 0.85rem;
|
|
203
|
+
align-items: center;
|
|
204
|
+
transition: background 0.2s ease;
|
|
205
|
+
}
|
|
206
|
+
.table-row:last-child {
|
|
207
|
+
border-bottom: none;
|
|
208
|
+
}
|
|
209
|
+
.table-row:hover {
|
|
210
|
+
background: rgba(255,255,255,0.03);
|
|
211
|
+
}
|
|
212
|
+
.col--name {
|
|
213
|
+
color: var(--c-text-1);
|
|
214
|
+
font-family: var(--font-mono);
|
|
215
|
+
font-size: 0.8rem;
|
|
216
|
+
}
|
|
217
|
+
.col--status {
|
|
218
|
+
display: flex;
|
|
219
|
+
justify-content: center;
|
|
220
|
+
}
|
|
221
|
+
.col--latency {
|
|
222
|
+
color: var(--c-text-2);
|
|
223
|
+
text-align: right;
|
|
224
|
+
font-family: var(--font-mono);
|
|
225
|
+
font-size: 0.8rem;
|
|
226
|
+
}
|
|
227
|
+
.badge {
|
|
228
|
+
display: inline-block;
|
|
229
|
+
padding: 0.2rem 0.5rem;
|
|
230
|
+
font-size: 0.65rem;
|
|
231
|
+
font-weight: 700;
|
|
232
|
+
border-radius: var(--r-sm);
|
|
233
|
+
}
|
|
234
|
+
.badge--ok {
|
|
235
|
+
background: rgba(34,197,94,0.15);
|
|
236
|
+
color: #22c55e;
|
|
237
|
+
border: 1px solid rgba(34,197,94,0.3);
|
|
238
|
+
}
|
|
239
|
+
.badge--warn {
|
|
240
|
+
background: rgba(234,179,8,0.15);
|
|
241
|
+
color: #eab308;
|
|
242
|
+
border: 1px solid rgba(234,179,8,0.3);
|
|
243
|
+
}
|
|
244
|
+
.badge--err {
|
|
245
|
+
background: rgba(239,68,68,0.15);
|
|
246
|
+
color: #ef4444;
|
|
247
|
+
border: 1px solid rgba(239,68,68,0.3);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* Progress Bar */
|
|
251
|
+
.progress-section {
|
|
252
|
+
padding: var(--sp-5);
|
|
253
|
+
background: rgba(255,255,255,0.04);
|
|
254
|
+
backdrop-filter: blur(12px);
|
|
255
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
256
|
+
border-radius: var(--r-lg);
|
|
257
|
+
}
|
|
258
|
+
.progress-labels {
|
|
259
|
+
display: flex;
|
|
260
|
+
justify-content: space-between;
|
|
261
|
+
margin-bottom: var(--sp-3);
|
|
262
|
+
}
|
|
263
|
+
.progress-label {
|
|
264
|
+
font-size: 0.8rem;
|
|
265
|
+
font-weight: 600;
|
|
266
|
+
color: var(--c-text-2);
|
|
267
|
+
}
|
|
268
|
+
.progress-value {
|
|
269
|
+
font-size: 0.8rem;
|
|
270
|
+
font-weight: 700;
|
|
271
|
+
color: var(--c-primary-light);
|
|
272
|
+
font-family: var(--font-mono);
|
|
273
|
+
}
|
|
274
|
+
.progress-track {
|
|
275
|
+
height: 8px;
|
|
276
|
+
background: rgba(255,255,255,0.08);
|
|
277
|
+
border-radius: var(--r-full);
|
|
278
|
+
overflow: hidden;
|
|
279
|
+
}
|
|
280
|
+
.progress-fill {
|
|
281
|
+
width: 73%;
|
|
282
|
+
height: 100%;
|
|
283
|
+
background: linear-gradient(90deg, var(--c-primary-light), var(--c-primary), rgba(184,134,11,0.4));
|
|
284
|
+
border-radius: var(--r-full);
|
|
285
|
+
box-shadow: 0 0 12px rgba(184,134,11,0.3);
|
|
286
|
+
animation: progress-pulse 2.5s ease-in-out infinite;
|
|
287
|
+
}
|
|
288
|
+
@keyframes progress-pulse {
|
|
289
|
+
0%, 100% { opacity: 1; }
|
|
290
|
+
50% { opacity: 0.8; }
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.usage-code {
|
|
294
|
+
text-align: center;
|
|
295
|
+
padding: var(--sp-4);
|
|
296
|
+
background: rgba(255,255,255,0.02);
|
|
297
|
+
border-radius: var(--r-md);
|
|
298
|
+
}
|
|
299
|
+
.usage-code code {
|
|
300
|
+
font-family: var(--font-mono);
|
|
301
|
+
font-size: 0.85rem;
|
|
302
|
+
color: var(--c-primary-light);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
@media (max-width: 640px) {
|
|
306
|
+
.stats-row {
|
|
307
|
+
grid-template-columns: 1fr;
|
|
308
|
+
gap: var(--sp-3);
|
|
309
|
+
}
|
|
310
|
+
.stat-card {
|
|
311
|
+
padding: var(--sp-4);
|
|
312
|
+
}
|
|
313
|
+
.stat-value {
|
|
314
|
+
font-size: 1.3rem;
|
|
315
|
+
}
|
|
316
|
+
.table-header,
|
|
317
|
+
.table-row {
|
|
318
|
+
grid-template-columns: 1.2fr 0.6fr 0.8fr;
|
|
319
|
+
padding: var(--sp-3) var(--sp-4);
|
|
320
|
+
font-size: 0.75rem;
|
|
321
|
+
}
|
|
322
|
+
.preview-stage {
|
|
323
|
+
padding: var(--sp-8) var(--sp-4);
|
|
324
|
+
}
|
|
325
|
+
.data-mockups {
|
|
326
|
+
gap: var(--sp-6);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
</style>
|