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,6 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
+
import AnimatedGalaxy from '@components/lib/AnimatedGalaxy.astro';
|
|
2
3
|
---
|
|
3
4
|
<section class="f-hero">
|
|
5
|
+
<div class="f-galaxy-bg">
|
|
6
|
+
<AnimatedGalaxy />
|
|
7
|
+
</div>
|
|
8
|
+
<div class="f-overlay"></div>
|
|
4
9
|
<div class="f-inner">
|
|
5
10
|
<h1>Experience the <span>Next Dimension</span> of Design</h1>
|
|
6
11
|
<p>Build stunning interfaces faster than ever with our premium component ecosystem.</p>
|
|
@@ -8,10 +13,69 @@
|
|
|
8
13
|
</div>
|
|
9
14
|
</section>
|
|
10
15
|
<style>
|
|
11
|
-
.f-hero {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
.f-hero {
|
|
17
|
+
position: relative;
|
|
18
|
+
padding: 8rem 2rem;
|
|
19
|
+
text-align: center;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
background: radial-gradient(circle at top, rgba(99,102,241,0.15) 0%, transparent 70%);
|
|
22
|
+
}
|
|
23
|
+
.f-galaxy-bg {
|
|
24
|
+
position: absolute;
|
|
25
|
+
inset: 0;
|
|
26
|
+
z-index: 0;
|
|
27
|
+
opacity: 0.5;
|
|
28
|
+
}
|
|
29
|
+
.f-galaxy-bg svg {
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
object-fit: cover;
|
|
33
|
+
}
|
|
34
|
+
.f-overlay {
|
|
35
|
+
position: absolute;
|
|
36
|
+
inset: 0;
|
|
37
|
+
z-index: 1;
|
|
38
|
+
background: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
.f-inner {
|
|
42
|
+
position: relative;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
max-width: 800px;
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
}
|
|
47
|
+
h1 {
|
|
48
|
+
font-size: 4rem;
|
|
49
|
+
font-weight: 900;
|
|
50
|
+
line-height: 1.1;
|
|
51
|
+
margin-bottom: 1.5rem;
|
|
52
|
+
color: #fff;
|
|
53
|
+
text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 40px rgba(99,102,241,0.3);
|
|
54
|
+
}
|
|
55
|
+
h1 span {
|
|
56
|
+
background: linear-gradient(135deg, #6366f1, #c084fc);
|
|
57
|
+
-webkit-background-clip: text;
|
|
58
|
+
-webkit-text-fill-color: transparent;
|
|
59
|
+
filter: drop-shadow(0 0 20px rgba(99,102,241,0.5));
|
|
60
|
+
}
|
|
61
|
+
p {
|
|
62
|
+
font-size: 1.25rem;
|
|
63
|
+
color: #e2e8f0;
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
margin-bottom: 2.5rem;
|
|
66
|
+
text-shadow: 0 1px 10px rgba(0,0,0,0.4);
|
|
67
|
+
}
|
|
68
|
+
.f-actions {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
gap: 1rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@media (prefers-reduced-motion: reduce) {
|
|
75
|
+
.f-galaxy-bg * {
|
|
76
|
+
animation-duration: 0.01ms !important;
|
|
77
|
+
animation-iteration-count: 1 !important;
|
|
78
|
+
transition-duration: 0.01ms !important;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
17
81
|
</style>
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
+
import LogoWithGalaxy from '../LogoWithGalaxy.astro';
|
|
2
3
|
---
|
|
3
4
|
<footer class="c-footer">
|
|
4
|
-
<div class="c-logo">
|
|
5
|
+
<div class="c-logo">
|
|
6
|
+
<LogoWithGalaxy size="medium" />
|
|
7
|
+
</div>
|
|
5
8
|
<div class="c-copy">© 2024 Built with ❤️ and Astro.</div>
|
|
6
9
|
</footer>
|
|
7
10
|
<style>
|
|
8
11
|
.c-footer { text-align: center; padding: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
|
|
9
|
-
.c-logo {
|
|
12
|
+
.c-logo { margin-bottom: 0.5rem; display: flex; justify-content: center; }
|
|
10
13
|
.c-copy { font-size: 0.8rem; color: #64748b; }
|
|
11
14
|
</style>
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
import LogoWithGalaxy from '../LogoWithGalaxy.astro';
|
|
3
|
+
|
|
4
|
+
interface Props { brandHref?: string; }
|
|
5
|
+
const { brandHref = '/' } = Astro.props;
|
|
4
6
|
---
|
|
5
7
|
<header class="glass-nav">
|
|
6
8
|
<div class="glass-nav__inner">
|
|
7
|
-
<a href={brandHref} class="glass-nav__brand">
|
|
9
|
+
<a href={brandHref} class="glass-nav__brand">
|
|
10
|
+
<LogoWithGalaxy size="small" />
|
|
11
|
+
</a>
|
|
8
12
|
<nav class="glass-nav__links"><slot name="links" /></nav>
|
|
9
13
|
<div class="glass-nav__actions"><slot name="actions" /></div>
|
|
10
14
|
</div>
|
|
11
15
|
</header>
|
|
12
16
|
<style>
|
|
13
17
|
.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:
|
|
15
|
-
.glass-nav__brand {
|
|
18
|
+
.glass-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 80px; display: flex; align-items: center; gap: 2rem; }
|
|
19
|
+
.glass-nav__brand { text-decoration: none; display: flex; align-items: center; }
|
|
20
|
+
.glass-nav__brand:hover { opacity: 0.9; }
|
|
16
21
|
.glass-nav__links { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
|
|
17
22
|
.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
23
|
.glass-nav__links :global(a:hover) { color: #e2e8f0; background: rgba(255, 255, 255, 0.06); }
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
---
|
|
2
|
+
import LogoWithGalaxy from '../LogoWithGalaxy.astro';
|
|
2
3
|
---
|
|
3
4
|
<aside class="sidebar">
|
|
4
|
-
<div class="sidebar-logo">
|
|
5
|
+
<div class="sidebar-logo">
|
|
6
|
+
<LogoWithGalaxy size="small" />
|
|
7
|
+
</div>
|
|
5
8
|
<nav class="sidebar-nav">
|
|
6
9
|
<a href="#" class="active">Overview</a>
|
|
7
10
|
<a href="#">Projects</a>
|
|
@@ -10,8 +13,8 @@
|
|
|
10
13
|
</nav>
|
|
11
14
|
</aside>
|
|
12
15
|
<style>
|
|
13
|
-
.sidebar { width:
|
|
14
|
-
.sidebar-logo { width:
|
|
16
|
+
.sidebar { width: 260px; height: 100vh; background: #080b14; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
|
|
17
|
+
.sidebar-logo { width: 100%; display: flex; align-items: center; justify-content: center; }
|
|
15
18
|
.sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
16
19
|
.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
20
|
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.05); color: #fff; }
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
---
|
|
2
|
+
import LogoWithGalaxy from '../LogoWithGalaxy.astro';
|
|
2
3
|
---
|
|
3
4
|
<footer class="glass-foot">
|
|
4
5
|
<div class="foot-grid">
|
|
5
|
-
<div class="foot-brand">
|
|
6
|
+
<div class="foot-brand">
|
|
7
|
+
<LogoWithGalaxy size="medium" />
|
|
8
|
+
<p>Premium components for the next web.</p>
|
|
9
|
+
</div>
|
|
6
10
|
<div class="foot-links">
|
|
7
11
|
<div><h5>Project</h5><a href="#">Github</a><a href="#">License</a></div>
|
|
8
12
|
<div><h5>Support</h5><a href="#">Issues</a><a href="#">Discord</a></div>
|
|
@@ -12,7 +16,7 @@
|
|
|
12
16
|
<style>
|
|
13
17
|
.glass-foot { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 4rem 1.5rem; }
|
|
14
18
|
.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;
|
|
19
|
+
.foot-brand { font-weight: 800; color: #fff; }
|
|
16
20
|
.foot-brand p { font-size: 0.9rem; color: #64748b; font-weight: 400; margin-top: 0.5rem; max-width: 250px; }
|
|
17
21
|
.foot-links { display: flex; gap: 4rem; }
|
|
18
22
|
h5 { color: #fff; font-size: 0.85rem; margin-bottom: 1.25rem; }
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
+
import LogoWithGalaxy from '../LogoWithGalaxy.astro';
|
|
2
3
|
---
|
|
3
4
|
<div class="splash">
|
|
4
|
-
<div class="logo-anim">
|
|
5
|
+
<div class="logo-anim">
|
|
6
|
+
<LogoWithGalaxy size="large" />
|
|
7
|
+
</div>
|
|
5
8
|
</div>
|
|
6
9
|
<style>
|
|
7
10
|
.splash { position: fixed; inset: 0; background: #080b14; z-index: 9999; display: grid; place-items: center; animation: fade-out 1s forwards 2s; }
|
|
8
|
-
.logo-anim {
|
|
11
|
+
.logo-anim { animation: scale-pulse 1.5s infinite linear; }
|
|
9
12
|
@keyframes fade-out { to { opacity: 0; pointer-events: none; } }
|
|
10
|
-
@keyframes scale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.
|
|
13
|
+
@keyframes scale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
|
|
11
14
|
</style>
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
---
|
|
2
|
+
// ButtonsShowcase.astro — Premium buttons section with live preview
|
|
3
|
+
interface Props {
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const { title = "Buttons", subtitle = "Interactive button components with premium styles and animations." } = Astro.props;
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
<section class="buttons-showcase">
|
|
12
|
+
<div class="container">
|
|
13
|
+
<div class="showcase-header">
|
|
14
|
+
<span class="showcase-eyebrow">⚡ Buttons</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="button-grid">
|
|
22
|
+
<button class="btn btn--primary">Primary</button>
|
|
23
|
+
<button class="btn btn--glass">Glass</button>
|
|
24
|
+
<button class="btn btn--glow">Glow</button>
|
|
25
|
+
<button class="btn btn--shimmer">Shimmer</button>
|
|
26
|
+
<button class="btn btn--neumorphic">Neumorphic</button>
|
|
27
|
+
<button class="btn btn--ghost">Ghost</button>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div class="usage-code">
|
|
33
|
+
<code><GlassButton variant="primary">Click me</GlassButton></code>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
37
|
+
|
|
38
|
+
<style>
|
|
39
|
+
.buttons-showcase {
|
|
40
|
+
padding: var(--sp-16) 0;
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
.showcase-header {
|
|
44
|
+
text-align: center;
|
|
45
|
+
margin-bottom: var(--sp-10);
|
|
46
|
+
}
|
|
47
|
+
.showcase-eyebrow {
|
|
48
|
+
display: inline-block;
|
|
49
|
+
padding: 0.35rem 0.8rem;
|
|
50
|
+
font-size: 0.75rem;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
text-transform: uppercase;
|
|
53
|
+
letter-spacing: 0.1em;
|
|
54
|
+
color: var(--c-primary-light);
|
|
55
|
+
background: rgba(184,134,11,0.1);
|
|
56
|
+
border: 1px solid rgba(184,134,11,0.25);
|
|
57
|
+
border-radius: var(--r-full);
|
|
58
|
+
margin-bottom: var(--sp-4);
|
|
59
|
+
}
|
|
60
|
+
.showcase-title {
|
|
61
|
+
font-size: clamp(2rem, 4vw, 3rem);
|
|
62
|
+
font-weight: 800;
|
|
63
|
+
color: var(--c-text-1);
|
|
64
|
+
margin-bottom: var(--sp-3);
|
|
65
|
+
}
|
|
66
|
+
.showcase-subtitle {
|
|
67
|
+
font-size: 1.05rem;
|
|
68
|
+
color: var(--c-text-2);
|
|
69
|
+
max-width: 500px;
|
|
70
|
+
margin: 0 auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* Preview Stage */
|
|
74
|
+
.preview-stage {
|
|
75
|
+
padding: var(--sp-12);
|
|
76
|
+
background: rgba(10, 10, 10, 0.6);
|
|
77
|
+
backdrop-filter: blur(20px);
|
|
78
|
+
border: 1px solid rgba(255,255,255,0.08);
|
|
79
|
+
border-radius: var(--r-xl);
|
|
80
|
+
margin-bottom: var(--sp-6);
|
|
81
|
+
box-shadow: 0 20px 60px rgba(0,0,0,0.4);
|
|
82
|
+
}
|
|
83
|
+
.preview-stage__inner {
|
|
84
|
+
display: flex;
|
|
85
|
+
align-items: center;
|
|
86
|
+
justify-content: center;
|
|
87
|
+
min-height: 200px;
|
|
88
|
+
}
|
|
89
|
+
.button-grid {
|
|
90
|
+
display: flex;
|
|
91
|
+
flex-wrap: wrap;
|
|
92
|
+
gap: var(--sp-4);
|
|
93
|
+
justify-content: center;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Button Styles */
|
|
97
|
+
.btn {
|
|
98
|
+
padding: 0.75rem 1.8rem;
|
|
99
|
+
font-size: 0.9rem;
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
font-family: var(--font-sans);
|
|
102
|
+
border: none;
|
|
103
|
+
border-radius: var(--r-md);
|
|
104
|
+
cursor: pointer;
|
|
105
|
+
transition: all 0.25s ease;
|
|
106
|
+
min-width: 120px;
|
|
107
|
+
}
|
|
108
|
+
.btn--primary {
|
|
109
|
+
background: linear-gradient(135deg, var(--c-primary-light), var(--c-primary));
|
|
110
|
+
color: #0a0a0a;
|
|
111
|
+
box-shadow: 0 4px 20px rgba(184,134,11,0.3);
|
|
112
|
+
}
|
|
113
|
+
.btn--primary:hover {
|
|
114
|
+
transform: translateY(-2px);
|
|
115
|
+
box-shadow: 0 8px 30px rgba(184,134,11,0.4);
|
|
116
|
+
}
|
|
117
|
+
.btn--glass {
|
|
118
|
+
background: rgba(255,255,255,0.06);
|
|
119
|
+
backdrop-filter: blur(12px);
|
|
120
|
+
color: var(--c-text-1);
|
|
121
|
+
border: 1px solid rgba(255,255,255,0.12);
|
|
122
|
+
}
|
|
123
|
+
.btn--glass:hover {
|
|
124
|
+
background: rgba(255,255,255,0.1);
|
|
125
|
+
border-color: rgba(184,134,11,0.3);
|
|
126
|
+
}
|
|
127
|
+
.btn--glow {
|
|
128
|
+
background: transparent;
|
|
129
|
+
color: var(--c-primary-light);
|
|
130
|
+
border: 1px solid var(--c-primary);
|
|
131
|
+
box-shadow: 0 0 12px rgba(184,134,11,0.2);
|
|
132
|
+
}
|
|
133
|
+
.btn--glow:hover {
|
|
134
|
+
box-shadow: 0 0 24px rgba(184,134,11,0.5);
|
|
135
|
+
transform: translateY(-2px);
|
|
136
|
+
}
|
|
137
|
+
.btn--shimmer {
|
|
138
|
+
background: linear-gradient(110deg, #b8860b 0%, #d4a017 40%, #fef3c7 50%, #d4a017 60%, #b8860b 100%);
|
|
139
|
+
background-size: 200% 100%;
|
|
140
|
+
color: #0a0a0a;
|
|
141
|
+
animation: shimmer 3s linear infinite;
|
|
142
|
+
}
|
|
143
|
+
@keyframes shimmer {
|
|
144
|
+
0% { background-position: 200% 0; }
|
|
145
|
+
100% { background-position: -200% 0; }
|
|
146
|
+
}
|
|
147
|
+
.btn--neumorphic {
|
|
148
|
+
background: #1a1a1a;
|
|
149
|
+
color: var(--c-text-1);
|
|
150
|
+
box-shadow: 4px 4px 12px rgba(0,0,0,0.5), -4px -4px 12px rgba(255,255,255,0.05);
|
|
151
|
+
}
|
|
152
|
+
.btn--neumorphic:hover {
|
|
153
|
+
box-shadow: 2px 2px 8px rgba(0,0,0,0.4), -2px -2px 8px rgba(255,255,255,0.04);
|
|
154
|
+
}
|
|
155
|
+
.btn--ghost {
|
|
156
|
+
background: transparent;
|
|
157
|
+
color: var(--c-text-2);
|
|
158
|
+
border: 1px solid var(--c-border);
|
|
159
|
+
}
|
|
160
|
+
.btn--ghost:hover {
|
|
161
|
+
color: var(--c-text-1);
|
|
162
|
+
border-color: var(--c-primary-light);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.usage-code {
|
|
166
|
+
text-align: center;
|
|
167
|
+
padding: var(--sp-4);
|
|
168
|
+
background: rgba(255,255,255,0.02);
|
|
169
|
+
border-radius: var(--r-md);
|
|
170
|
+
}
|
|
171
|
+
.usage-code code {
|
|
172
|
+
font-family: var(--font-mono);
|
|
173
|
+
font-size: 0.85rem;
|
|
174
|
+
color: var(--c-primary-light);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
@media (max-width: 640px) {
|
|
178
|
+
.button-grid { gap: var(--sp-3); }
|
|
179
|
+
.btn { min-width: 100px; padding: 0.6rem 1.2rem; font-size: 0.85rem; }
|
|
180
|
+
.preview-stage { padding: var(--sp-8) var(--sp-4); }
|
|
181
|
+
}
|
|
182
|
+
</style>
|