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
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<footer class="m-footer">
|
|
4
|
-
<div class="f-row">
|
|
5
|
-
<div class="f-info">Logo<span>© 2024</span></div>
|
|
6
|
-
<div class="f-links">
|
|
7
|
-
<div><a>Docs</a><a>Blog</a></div>
|
|
8
|
-
<div><a>Twitter</a><a>Discord</a></div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</footer>
|
|
12
|
-
<style>
|
|
13
|
-
.m-footer { padding: 4rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
|
|
14
|
-
.f-row { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; }
|
|
15
|
-
.f-info { font-weight: 800; color: #fff; }
|
|
16
|
-
span { display: block; font-size: 0.75rem; color: #64748b; font-weight: 400; }
|
|
17
|
-
.f-links { display: flex; gap: 3rem; }
|
|
18
|
-
a { display: block; color: #94a3b8; font-size: 0.85rem; margin-bottom: 0.5rem; text-decoration: none; cursor: pointer; }
|
|
19
|
-
a:hover { color: #fff; }
|
|
20
|
-
</style>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="snap-wrap"><slot /></div>
|
|
4
|
-
<style>
|
|
5
|
-
.snap-wrap { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; }
|
|
6
|
-
.snap-wrap :global(section) { height: 100vh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
|
|
7
|
-
</style>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="txt-divider"><span><slot /></span></div>
|
|
4
|
-
<style>
|
|
5
|
-
.txt-divider { display: flex; align-items: center; gap: 1rem; color: #64748b; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 2rem 0; }
|
|
6
|
-
.txt-divider::before, .txt-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
|
|
7
|
-
</style>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="side-page">
|
|
4
|
-
<aside class="side-col"><slot name="sidebar" /></aside>
|
|
5
|
-
<main class="main-col"><slot name="main" /></main>
|
|
6
|
-
</div>
|
|
7
|
-
<style>
|
|
8
|
-
.side-page { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
|
|
9
|
-
.side-col { border-right: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0,0,0,0.1); }
|
|
10
|
-
.main-col { padding: 2rem; }
|
|
11
|
-
</style>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="split-layout">
|
|
4
|
-
<div class="split-side left"><slot name="left" /></div>
|
|
5
|
-
<div class="split-side right"><slot name="right" /></div>
|
|
6
|
-
</div>
|
|
7
|
-
<style>
|
|
8
|
-
.split-layout { display: flex; min-height: 80vh; flex-wrap: wrap; }
|
|
9
|
-
.split-side { flex: 1; min-width: 300px; display: flex; align-items: center; padding: 4rem; }
|
|
10
|
-
.left { background: rgba(0,0,0,0.1); }
|
|
11
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="step-lay">
|
|
4
|
-
<div class="step-line">
|
|
5
|
-
<div class="step-point">1</div>
|
|
6
|
-
<div class="step-point">2</div>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="step-content">
|
|
9
|
-
<div class="step-block"><h4>Setup</h4><p>Install the library.</p></div>
|
|
10
|
-
<div class="step-block"><h4>Config</h4><p>Set up registry.</p></div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<style>
|
|
14
|
-
.step-lay { display: flex; gap: 2.5rem; }
|
|
15
|
-
.step-line { width: 40px; display: flex; flex-direction: column; align-items: center; gap: 5rem; position: relative; }
|
|
16
|
-
.step-line::before { content: ""; position: absolute; height: 100%; width: 2px; background: rgba(255,255,255,0.05); z-index: -1; }
|
|
17
|
-
.step-point { width: 34px; height: 34px; border-radius: 50%; background: #6366f1; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 15px rgba(99,102,241,0.4); }
|
|
18
|
-
.step-block { height: 90px; }
|
|
19
|
-
h4 { margin: 0; color: #fff; font-size: 1.1rem; }
|
|
20
|
-
p { color: #64748b; font-size: 0.9rem; margin-top: 0.4rem; }
|
|
21
|
-
</style>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="stick-lay">
|
|
4
|
-
<main><slot name="main" /></main>
|
|
5
|
-
<aside><slot name="sidebar" /></aside>
|
|
6
|
-
</div>
|
|
7
|
-
<style>
|
|
8
|
-
.stick-lay { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; }
|
|
9
|
-
aside :global(> *) { position: sticky; top: 100px; }
|
|
10
|
-
</style>
|
package/dist/layout/index.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { default as BentoGrid3 } from './BentoGrid3.astro';
|
|
2
|
-
export { default as CenteredContainer } from './CenteredContainer.astro';
|
|
3
|
-
export { default as CenterFixedBox } from './CenterFixedBox.astro';
|
|
4
|
-
export { default as ClusterHorizontal } from './ClusterHorizontal.astro';
|
|
5
|
-
export { default as FeatureHero } from './FeatureHero.astro';
|
|
6
|
-
export { default as FooterCenteredMinimal } from './FooterCenteredMinimal.astro';
|
|
7
|
-
export { default as FullBleedSection } from './FullBleedSection.astro';
|
|
8
|
-
export { default as GalleryGrid4 } from './GalleryGrid4.astro';
|
|
9
|
-
export { default as GlassCardGrid } from './GlassCardGrid.astro';
|
|
10
|
-
export { default as GlassSectionHeader } from './GlassSectionHeader.astro';
|
|
11
|
-
export { default as LandingSectionSplit } from './LandingSectionSplit.astro';
|
|
12
|
-
export { default as MasonryGrid } from './MasonryGrid.astro';
|
|
13
|
-
export { default as MinimalFooterGrid } from './MinimalFooterGrid.astro';
|
|
14
|
-
export { default as ScrollSnapSection } from './ScrollSnapSection.astro';
|
|
15
|
-
export { default as SectionDividerText } from './SectionDividerText.astro';
|
|
16
|
-
export { default as SidebarLayoutWrapper } from './SidebarLayoutWrapper.astro';
|
|
17
|
-
export { default as SplitScreenLayout } from './SplitScreenLayout.astro';
|
|
18
|
-
export { default as StepLayoutVertical } from './StepLayoutVertical.astro';
|
|
19
|
-
export { default as StickySidebarWrapper } from './StickySidebarWrapper.astro';
|
|
20
|
-
export { default as VerticalStack } from './VerticalStack.astro';
|
package/dist/layout/index.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { default as BentoGrid3 } from './BentoGrid3.astro';
|
|
2
|
-
export { default as CenteredContainer } from './CenteredContainer.astro';
|
|
3
|
-
export { default as CenterFixedBox } from './CenterFixedBox.astro';
|
|
4
|
-
export { default as ClusterHorizontal } from './ClusterHorizontal.astro';
|
|
5
|
-
export { default as FeatureHero } from './FeatureHero.astro';
|
|
6
|
-
export { default as FooterCenteredMinimal } from './FooterCenteredMinimal.astro';
|
|
7
|
-
export { default as FullBleedSection } from './FullBleedSection.astro';
|
|
8
|
-
export { default as GalleryGrid4 } from './GalleryGrid4.astro';
|
|
9
|
-
export { default as GlassCardGrid } from './GlassCardGrid.astro';
|
|
10
|
-
export { default as GlassSectionHeader } from './GlassSectionHeader.astro';
|
|
11
|
-
export { default as LandingSectionSplit } from './LandingSectionSplit.astro';
|
|
12
|
-
export { default as MasonryGrid } from './MasonryGrid.astro';
|
|
13
|
-
export { default as MinimalFooterGrid } from './MinimalFooterGrid.astro';
|
|
14
|
-
export { default as ScrollSnapSection } from './ScrollSnapSection.astro';
|
|
15
|
-
export { default as SectionDividerText } from './SectionDividerText.astro';
|
|
16
|
-
export { default as SidebarLayoutWrapper } from './SidebarLayoutWrapper.astro';
|
|
17
|
-
export { default as SplitScreenLayout } from './SplitScreenLayout.astro';
|
|
18
|
-
export { default as StepLayoutVertical } from './StepLayoutVertical.astro';
|
|
19
|
-
export { default as StickySidebarWrapper } from './StickySidebarWrapper.astro';
|
|
20
|
-
export { default as VerticalStack } from './VerticalStack.astro';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<ul class="anchor-nav">
|
|
4
|
-
<li><a href="#intro" class="active">Introduction</a></li>
|
|
5
|
-
<li><a href="#features">Features</a></li>
|
|
6
|
-
<li><a href="#pricing">Pricing</a></li>
|
|
7
|
-
<li><a href="#faq">FAQ</a></li>
|
|
8
|
-
</ul>
|
|
9
|
-
<style>
|
|
10
|
-
.anchor-nav { list-style: none; padding: 0.5rem; border-left: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 100px; }
|
|
11
|
-
.anchor-nav a { display: block; padding: 0.4rem 1rem; color: #64748b; text-decoration: none; font-size: 0.85rem; border-left: 2px solid transparent; margin-left: -1.5px; }
|
|
12
|
-
.anchor-nav a.active { color: #818cf8; border-left-color: #6366f1; }
|
|
13
|
-
</style>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="bottom-nav">
|
|
4
|
-
<a href="#" class="active">🏠</a>
|
|
5
|
-
<a href="#">🔍</a>
|
|
6
|
-
<a href="#">🔔</a>
|
|
7
|
-
<a href="#">👤</a>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.bottom-nav { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; height: 60px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; display: flex; justify-content: space-around; align-items: center; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
|
|
11
|
-
.bottom-nav a { font-size: 1.25rem; opacity: 0.5; text-decoration: none; transition: 0.3s; }
|
|
12
|
-
.bottom-nav a.active { opacity: 1; transform: translateY(-5px); }
|
|
13
|
-
</style>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<nav class="crumbs">
|
|
4
|
-
<a href="/">Home</a>
|
|
5
|
-
<span class="sep">/</span>
|
|
6
|
-
<a href="/docs">Documentation</a>
|
|
7
|
-
<span class="sep">/</span>
|
|
8
|
-
<span class="curr">Navigation</span>
|
|
9
|
-
</nav>
|
|
10
|
-
<style>
|
|
11
|
-
.crumbs { display: flex; gap: 0.6rem; font-size: 0.8rem; font-weight: 500; }
|
|
12
|
-
.crumbs a { color: #64748b; text-decoration: none; }
|
|
13
|
-
.crumbs a:hover { color: #fff; }
|
|
14
|
-
.sep { color: #334155; }
|
|
15
|
-
.curr { color: #818cf8; font-weight: 700; }
|
|
16
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<button class="burger" onclick="this.classList.toggle('active')">
|
|
4
|
-
<span></span><span></span><span></span>
|
|
5
|
-
</button>
|
|
6
|
-
<style>
|
|
7
|
-
.burger { background: none; border: none; width: 30px; height: 24px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
|
|
8
|
-
.burger span { width: 100%; height: 3px; background: #fff; border-radius: 2px; transition: 0.4s; }
|
|
9
|
-
.burger.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
|
|
10
|
-
.burger.active span:nth-child(2) { opacity: 0; }
|
|
11
|
-
.burger.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
|
|
12
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="cmd-palette">
|
|
4
|
-
<div class="cmd-search">🔍 Type a command...</div>
|
|
5
|
-
<div class="cmd-list">
|
|
6
|
-
<div class="cmd-item"><span>📄 Create new page</span><kbd>⌘N</kbd></div>
|
|
7
|
-
<div class="cmd-item"><span>🚀 Deploy to Vercel</span><kbd>⌘D</kbd></div>
|
|
8
|
-
<div class="cmd-item"><span>⚙️ Open settings</span><kbd>⌘,</kbd></div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.cmd-palette { background: #0f172a; border: 1px solid #334155; border-radius: 12px; width: 100%; max-width: 500px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; }
|
|
13
|
-
.cmd-search { padding: 1rem; border-bottom: 1px solid #334155; color: #64748b; font-size: 0.9rem; }
|
|
14
|
-
.cmd-item { display: flex; justify-content: space-between; padding: 0.75rem 1rem; cursor: pointer; transition: 0.2s; color: #fff; font-size: 0.85rem; }
|
|
15
|
-
.cmd-item:hover { background: #1e293b; }
|
|
16
|
-
kbd { background: #111; border: 1px solid #333; padding: 2px 5px; border-radius: 4px; font-size: 0.7rem; color: #94a3b8; }
|
|
17
|
-
</style>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="dot-nav">
|
|
4
|
-
<button class="active"></button>
|
|
5
|
-
<button></button>
|
|
6
|
-
<button></button>
|
|
7
|
-
<button></button>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.dot-nav { display: flex; gap: 10px; justify-content: center; }
|
|
11
|
-
.dot-nav button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; }
|
|
12
|
-
.dot-nav button.active { width: 24px; border-radius: 5px; background: #6366f1; }
|
|
13
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="float-tabs">
|
|
4
|
-
<button class="active">Discover</button>
|
|
5
|
-
<button>Trending</button>
|
|
6
|
-
<button>Following</button>
|
|
7
|
-
</div>
|
|
8
|
-
<style>
|
|
9
|
-
.float-tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.4); padding: 5px; border-radius: 100px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); width: fit-content; margin: 2rem auto; }
|
|
10
|
-
.float-tabs button { background: none; border: none; padding: 0.6rem 1.4rem; color: #94a3b8; font-weight: 600; font-size: 0.85rem; border-radius: 100px; cursor: pointer; transition: 0.3s; }
|
|
11
|
-
.float-tabs button.active { background: #fff; color: #000; }
|
|
12
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
interface Props { brand?: string; brandHref?: string; }
|
|
3
|
-
const { brand = 'Astro Components', brandHref = '/' } = Astro.props;
|
|
4
|
-
---
|
|
5
|
-
<header class="glass-nav">
|
|
6
|
-
<div class="glass-nav__inner">
|
|
7
|
-
<a href={brandHref} class="glass-nav__brand">{brand}</a>
|
|
8
|
-
<nav class="glass-nav__links"><slot name="links" /></nav>
|
|
9
|
-
<div class="glass-nav__actions"><slot name="actions" /></div>
|
|
10
|
-
</div>
|
|
11
|
-
</header>
|
|
12
|
-
<style>
|
|
13
|
-
.glass-nav { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 20, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
|
|
14
|
-
.glass-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
|
|
15
|
-
.glass-nav__brand { font-size: 1.1rem; font-weight: 800; color: #f1f5f9; text-decoration: none; background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
|
16
|
-
.glass-nav__links { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
|
|
17
|
-
.glass-nav__links :global(a) { padding: 0.4rem 0.8rem; font-size: 0.875rem; font-weight: 500; color: #94a3b8; text-decoration: none; border-radius: 8px; transition: 0.2s; }
|
|
18
|
-
.glass-nav__links :global(a:hover) { color: #e2e8f0; background: rgba(255, 255, 255, 0.06); }
|
|
19
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="lang-pill">
|
|
4
|
-
<span class="curr">EN</span>
|
|
5
|
-
<div class="list">
|
|
6
|
-
<span>ES</span>
|
|
7
|
-
<span>FR</span>
|
|
8
|
-
<span>JP</span>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.lang-pill { background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 100px; color: #fff; font-size: 0.75rem; font-weight: 800; border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; position: relative; }
|
|
13
|
-
.list { position: absolute; top: 110%; left: 0; background: #111; border-radius: 8px; border: 1px solid #333; display: none; flex-direction: column; z-index: 10; }
|
|
14
|
-
.lang-pill:hover .list { display: flex; }
|
|
15
|
-
.list span { padding: 5px 15px; }
|
|
16
|
-
.list span:hover { background: #6366f1; }
|
|
17
|
-
</style>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="mega-wrap">
|
|
4
|
-
<div class="mega-grid">
|
|
5
|
-
<div class="mega-col">
|
|
6
|
-
<h5>Products</h5>
|
|
7
|
-
<a href="#">Analytics</a>
|
|
8
|
-
<a href="#">CRM</a>
|
|
9
|
-
<a href="#">Support</a>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="mega-col">
|
|
12
|
-
<h5>Resources</h5>
|
|
13
|
-
<a href="#">Documentation</a>
|
|
14
|
-
<a href="#">Tutorials</a>
|
|
15
|
-
<a href="#">Guides</a>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<style>
|
|
20
|
-
.mega-wrap { background: rgba(10, 10, 20, 0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; width: 600px; }
|
|
21
|
-
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
|
|
22
|
-
h5 { color: #818cf8; font-size: 0.8rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
23
|
-
.mega-col a { display: block; padding: 0.5rem 0; color: #e2e8f0; text-decoration: none; font-size: 0.9rem; }
|
|
24
|
-
.mega-col a:hover { color: #fff; }
|
|
25
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<aside class="sidebar">
|
|
4
|
-
<div class="sidebar-logo">AU</div>
|
|
5
|
-
<nav class="sidebar-nav">
|
|
6
|
-
<a href="#" class="active">Overview</a>
|
|
7
|
-
<a href="#">Projects</a>
|
|
8
|
-
<a href="#">Team</a>
|
|
9
|
-
<a href="#">Settings</a>
|
|
10
|
-
</nav>
|
|
11
|
-
</aside>
|
|
12
|
-
<style>
|
|
13
|
-
.sidebar { width: 240px; height: 100vh; background: #080b14; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
|
|
14
|
-
.sidebar-logo { width: 40px; height: 40px; background: #6366f1; color: #fff; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
|
|
15
|
-
.sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
16
|
-
.sidebar-nav a { padding: 0.75rem 1rem; border-radius: 10px; color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.2s; }
|
|
17
|
-
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.05); color: #fff; }
|
|
18
|
-
</style>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<nav class="pagination">
|
|
4
|
-
<button class="prev">←</button>
|
|
5
|
-
<div class="pages">
|
|
6
|
-
<a href="#" class="active">1</a>
|
|
7
|
-
<a href="#">2</a>
|
|
8
|
-
<a href="#">3</a>
|
|
9
|
-
<span>...</span>
|
|
10
|
-
<a href="#">12</a>
|
|
11
|
-
</div>
|
|
12
|
-
<button class="next">→</button>
|
|
13
|
-
</nav>
|
|
14
|
-
<style>
|
|
15
|
-
.pagination { display: flex; align-items: center; gap: 1rem; }
|
|
16
|
-
.pages { display: flex; gap: 0.5rem; background: rgba(0,0,0,0.2); padding: 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); }
|
|
17
|
-
.pages a, button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-size: 0.8rem; font-weight: 700; color: #94a3b8; text-decoration: none; transition: 0.2s; border: none; background: none; cursor: pointer; }
|
|
18
|
-
.pages a.active { background: #6366f1; color: #fff; }
|
|
19
|
-
.pages a:hover:not(.active) { background: rgba(255,255,255,0.05); color: #fff; }
|
|
20
|
-
</style>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="inf-load">
|
|
4
|
-
<div class="dot-spin"></div>
|
|
5
|
-
<span>Loading more items...</span>
|
|
6
|
-
</div>
|
|
7
|
-
<style>
|
|
8
|
-
.inf-load { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; color: #64748b; font-size: 0.85rem; }
|
|
9
|
-
.dot-spin { width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s linear infinite; }
|
|
10
|
-
@keyframes spin { to { transform: rotate(360deg); } }
|
|
11
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="radial-wrap">
|
|
4
|
-
<div class="toggle">+</div>
|
|
5
|
-
<div class="icons">
|
|
6
|
-
<div style="--i:1">📷</div>
|
|
7
|
-
<div style="--i:2">📁</div>
|
|
8
|
-
<div style="--i:3">✉️</div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.radial-wrap { position: relative; width: 60px; height: 60px; background: #6366f1; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; }
|
|
13
|
-
.icons div { position: absolute; left: 0; transform-origin: 30px; transition: 0.5s; transition-delay: calc(0.1s * var(--i)); transform: rotate(0deg) translateX(0px); opacity: 0; pointer-events: none; }
|
|
14
|
-
.radial-wrap:hover .icons div { transform: rotate(calc(360deg / 8 * var(--i))) translateX(80px); opacity: 1; pointer-events: auto; }
|
|
15
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="retro-menu">
|
|
4
|
-
<div class="item selected">▶ LOAD GAME</div>
|
|
5
|
-
<div class="item">OPTIONS</div>
|
|
6
|
-
<div class="item">EXIT</div>
|
|
7
|
-
</div>
|
|
8
|
-
<style>
|
|
9
|
-
.retro-menu { background: #000; border: 4px solid #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; width: fit-content; }
|
|
10
|
-
.item { font-family: 'Courier New', monospace; font-weight: 900; color: #fff; font-size: 1.2rem; cursor: pointer; }
|
|
11
|
-
.item.selected { color: #facc15; }
|
|
12
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="scroll-ind" id="scroll-bar"></div>
|
|
4
|
-
<style>
|
|
5
|
-
.scroll-ind { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: #6366f1; z-index: 1000; box-shadow: 0 0 10px #6366f1; }
|
|
6
|
-
</style>
|
|
7
|
-
<script>
|
|
8
|
-
window.addEventListener('scroll', () => {
|
|
9
|
-
const bar = document.getElementById('scroll-bar');
|
|
10
|
-
const scroll = document.documentElement.scrollTop;
|
|
11
|
-
const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
|
|
12
|
-
const scrolled = (scroll / height) * 100;
|
|
13
|
-
if (bar) bar.style.width = scrolled + '%';
|
|
14
|
-
});
|
|
15
|
-
</script>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<footer class="glass-foot">
|
|
4
|
-
<div class="foot-grid">
|
|
5
|
-
<div class="foot-brand">Astro Components<p>Premium components for the next web.</p></div>
|
|
6
|
-
<div class="foot-links">
|
|
7
|
-
<div><h5>Project</h5><a href="#">Github</a><a href="#">License</a></div>
|
|
8
|
-
<div><h5>Support</h5><a href="#">Issues</a><a href="#">Discord</a></div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</footer>
|
|
12
|
-
<style>
|
|
13
|
-
.glass-foot { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 4rem 1.5rem; }
|
|
14
|
-
.foot-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
|
|
15
|
-
.foot-brand { font-weight: 800; font-size: 1.5rem; color: #fff; }
|
|
16
|
-
.foot-brand p { font-size: 0.9rem; color: #64748b; font-weight: 400; margin-top: 0.5rem; max-width: 250px; }
|
|
17
|
-
.foot-links { display: flex; gap: 4rem; }
|
|
18
|
-
h5 { color: #fff; font-size: 0.85rem; margin-bottom: 1.25rem; }
|
|
19
|
-
a { display: block; text-decoration: none; color: #64748b; margin-bottom: 0.6rem; font-size: 0.85rem; }
|
|
20
|
-
a:hover { color: #818cf8; }
|
|
21
|
-
</style>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<nav class="u-tabs">
|
|
4
|
-
<a href="#" class="active">Profile</a>
|
|
5
|
-
<a href="#">Password</a>
|
|
6
|
-
<a href="#">Sessions</a>
|
|
7
|
-
<div class="indicator"></div>
|
|
8
|
-
</nav>
|
|
9
|
-
<style>
|
|
10
|
-
.u-tabs { display: flex; gap: 2rem; border-bottom: 2px solid rgba(255,255,255,0.05); position: relative; }
|
|
11
|
-
.u-tabs a { padding: 1rem 0; color: #64748b; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
|
|
12
|
-
.u-tabs a.active { color: #fff; }
|
|
13
|
-
.indicator { position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: #6366f1; transition: 0.3s; }
|
|
14
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="u-nav">
|
|
4
|
-
<div class="u-avatar">JS</div>
|
|
5
|
-
<div class="u-menu">
|
|
6
|
-
<a href="#">Your Profile</a>
|
|
7
|
-
<a href="#">Settings</a>
|
|
8
|
-
<hr />
|
|
9
|
-
<a href="#" class="logout">Logout</a>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<style>
|
|
13
|
-
.u-nav { position: relative; cursor: pointer; }
|
|
14
|
-
.u-avatar { width: 34px; height: 34px; background: linear-gradient(135deg, #6366f1, #c084fc); border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; border: 2px solid #080b14; }
|
|
15
|
-
.u-menu { position: absolute; top: 120%; right: 0; background: #0f172a; border: 1px solid #334155; border-radius: 12px; width: 180px; display: none; flex-direction: column; overflow: hidden; z-index: 10; }
|
|
16
|
-
.u-nav:hover .u-menu { display: flex; }
|
|
17
|
-
.u-menu a { padding: 0.75rem 1rem; font-size: 0.85rem; color: #94a3b8; text-decoration: none; }
|
|
18
|
-
.u-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
|
|
19
|
-
.logout { color: #f87171 !important; }
|
|
20
|
-
hr { border: none; border-top: 1px solid #334155; margin: 0; }
|
|
21
|
-
</style>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="v-tabs">
|
|
4
|
-
<button class="v-tab active">General</button>
|
|
5
|
-
<button class="v-tab">Account</button>
|
|
6
|
-
<button class="v-tab">Security</button>
|
|
7
|
-
<button class="v-tab">Notifications</button>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.v-tabs { display: flex; flex-direction: column; width: 200px; border-left: 2px solid #1e293b; }
|
|
11
|
-
.v-tab { background: none; border: none; padding: 0.75rem 1.25rem; text-align: left; color: #64748b; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; border-left: 2px solid transparent; margin-left: -2px; }
|
|
12
|
-
.v-tab:hover { color: #fff; }
|
|
13
|
-
.v-tab.active { color: #6366f1; border-left-color: #6366f1; background: rgba(99,102,241,0.05); }
|
|
14
|
-
</style>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { default as AnchorSideNav } from './AnchorSideNav.astro';
|
|
2
|
-
export { default as BottomNavMobile } from './BottomNavMobile.astro';
|
|
3
|
-
export { default as BreadcrumbsMinimal } from './BreadcrumbsMinimal.astro';
|
|
4
|
-
export { default as BurgerMorphIcon } from './BurgerMorphIcon.astro';
|
|
5
|
-
export { default as CommandPaletteUI } from './CommandPaletteUI.astro';
|
|
6
|
-
export { default as DotNavigationSlider } from './DotNavigationSlider.astro';
|
|
7
|
-
export { default as FloatingTabBar } from './FloatingTabBar.astro';
|
|
8
|
-
export { default as GlassNavbar } from './GlassNavbar.astro';
|
|
9
|
-
export { default as LangSwitcherPill } from './LangSwitcherPill.astro';
|
|
10
|
-
export { default as MegaMenuGlass } from './MegaMenuGlass.astro';
|
|
11
|
-
export { default as MinimalSidebar } from './MinimalSidebar.astro';
|
|
12
|
-
export { default as PaginationGlass } from './PaginationGlass.astro';
|
|
13
|
-
export { default as PaginationInfiniteUI } from './PaginationInfiniteUI.astro';
|
|
14
|
-
export { default as RadialIconMenu } from './RadialIconMenu.astro';
|
|
15
|
-
export { default as RetroArcadeMenu } from './RetroArcadeMenu.astro';
|
|
16
|
-
export { default as ScrollProgressTop } from './ScrollProgressTop.astro';
|
|
17
|
-
export { default as SimpleFooterGlass } from './SimpleFooterGlass.astro';
|
|
18
|
-
export { default as TabUnderline } from './TabUnderline.astro';
|
|
19
|
-
export { default as UserProfileNav } from './UserProfileNav.astro';
|
|
20
|
-
export { default as VerticalTabs } from './VerticalTabs.astro';
|
package/dist/navigation/index.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export { default as AnchorSideNav } from './AnchorSideNav.astro';
|
|
2
|
-
export { default as BottomNavMobile } from './BottomNavMobile.astro';
|
|
3
|
-
export { default as BreadcrumbsMinimal } from './BreadcrumbsMinimal.astro';
|
|
4
|
-
export { default as BurgerMorphIcon } from './BurgerMorphIcon.astro';
|
|
5
|
-
export { default as CommandPaletteUI } from './CommandPaletteUI.astro';
|
|
6
|
-
export { default as DotNavigationSlider } from './DotNavigationSlider.astro';
|
|
7
|
-
export { default as FloatingTabBar } from './FloatingTabBar.astro';
|
|
8
|
-
export { default as GlassNavbar } from './GlassNavbar.astro';
|
|
9
|
-
export { default as LangSwitcherPill } from './LangSwitcherPill.astro';
|
|
10
|
-
export { default as MegaMenuGlass } from './MegaMenuGlass.astro';
|
|
11
|
-
export { default as MinimalSidebar } from './MinimalSidebar.astro';
|
|
12
|
-
export { default as PaginationGlass } from './PaginationGlass.astro';
|
|
13
|
-
export { default as PaginationInfiniteUI } from './PaginationInfiniteUI.astro';
|
|
14
|
-
export { default as RadialIconMenu } from './RadialIconMenu.astro';
|
|
15
|
-
export { default as RetroArcadeMenu } from './RetroArcadeMenu.astro';
|
|
16
|
-
export { default as ScrollProgressTop } from './ScrollProgressTop.astro';
|
|
17
|
-
export { default as SimpleFooterGlass } from './SimpleFooterGlass.astro';
|
|
18
|
-
export { default as TabUnderline } from './TabUnderline.astro';
|
|
19
|
-
export { default as UserProfileNav } from './UserProfileNav.astro';
|
|
20
|
-
export { default as VerticalTabs } from './VerticalTabs.astro';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="age-gate">
|
|
4
|
-
<div class="age-card">
|
|
5
|
-
<h2>Age Verification</h2>
|
|
6
|
-
<p>Please confirm you are 18 or older to view this site.</p>
|
|
7
|
-
<div class="acts-row"><button class="no">Exit</button><button class="yes">I am 18+</button></div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.age-gate { position: fixed; inset: 0; background: #000; z-index: 9999; display: grid; place-items: center; }
|
|
12
|
-
.age-card { text-align: center; color: #fff; max-width: 350px; padding: 2rem; }
|
|
13
|
-
h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
|
|
14
|
-
p { color: #94a3b8; line-height: 1.6; margin-bottom: 2.5rem; }
|
|
15
|
-
.acts-row { display: flex; gap: 1rem; }
|
|
16
|
-
button { flex: 1; padding: 1rem; border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; }
|
|
17
|
-
.no { background: #1e293b; color: #fff; }
|
|
18
|
-
.yes { background: #6366f1; color: #fff; }
|
|
19
|
-
button:hover { transform: translateY(-2px); }
|
|
20
|
-
</style>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="sheet-overlay">
|
|
4
|
-
<div class="sheet-content">
|
|
5
|
-
<div class="drag-handle"></div>
|
|
6
|
-
<h3>Select Option</h3>
|
|
7
|
-
<div class="options"><div>Archive</div><div>Delete</div><div>Share</div></div>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: flex-end; z-index: 2000; }
|
|
12
|
-
.sheet-content { width: 100%; background: #0f172a; border-radius: 20px 20px 0 0; padding: 1.5rem; transform: translateY(0); }
|
|
13
|
-
.drag-handle { width: 40px; height: 4px; background: #334155; border-radius: 2px; margin: 0 auto 1.5rem; }
|
|
14
|
-
h3 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
|
|
15
|
-
.options div { padding: 1rem; color: #e2e8f0; border-bottom: 1px solid #1e293b; text-align: center; cursor: pointer; }
|
|
16
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="cmd-overlay">
|
|
4
|
-
<div class="cmd-box">
|
|
5
|
-
<div class="cmd-input"><input type="text" placeholder="Search commands..." /></div>
|
|
6
|
-
<div class="cmd-results">
|
|
7
|
-
<div class="res"><span>Recent: Dashboard</span><kbd>↵</kbd></div>
|
|
8
|
-
<div class="res"><span>Docs: Navigation</span><kbd>↵</kbd></div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
<style>
|
|
13
|
-
.cmd-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; justify-content: center; padding-top: 15vh; z-index: 3000; }
|
|
14
|
-
.cmd-box { width: 100%; max-width: 600px; background: #080b14; border: 1px solid #334155; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,0.8); }
|
|
15
|
-
.cmd-input input { width: 100%; padding: 1.25rem; background: transparent; border: none; border-bottom: 1px solid #1e293b; color: #fff; outline: none; font-size: 1.1rem; }
|
|
16
|
-
.res { display: flex; justify-content: space-between; padding: 0.75rem 1.25rem; color: #94a3b8; font-size: 0.9rem; cursor: pointer; }
|
|
17
|
-
.res:hover { background: #1e293b; color: #fff; }
|
|
18
|
-
kbd { background: #111; padding: 2px 4px; border-radius: 4px; font-size: 0.7rem; }
|
|
19
|
-
</style>
|