astro-component-kit 0.0.1 → 0.1.0
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 +25 -52
- 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 +9 -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,145 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
interface Props {
|
|
3
|
-
href?: string;
|
|
4
|
-
type?: 'button' | 'submit' | 'reset';
|
|
5
|
-
primaryColor?: string;
|
|
6
|
-
secondaryColor?: string;
|
|
7
|
-
size?: 'sm' | 'md' | 'lg';
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const {
|
|
12
|
-
href,
|
|
13
|
-
type = 'button',
|
|
14
|
-
primaryColor = '#6366f1',
|
|
15
|
-
secondaryColor = '#c084fc',
|
|
16
|
-
size = 'md',
|
|
17
|
-
disabled = false
|
|
18
|
-
} = Astro.props;
|
|
19
|
-
|
|
20
|
-
const Tag = href ? 'a' : 'button';
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
<div class={`tilt-wrapper tilt-wrapper--${size}`}>
|
|
24
|
-
<Tag
|
|
25
|
-
href={href}
|
|
26
|
-
type={href ? undefined : type}
|
|
27
|
-
disabled={disabled}
|
|
28
|
-
class="tilt-card"
|
|
29
|
-
style={`--primary-color: ${primaryColor}; --secondary-color: ${secondaryColor};`}
|
|
30
|
-
>
|
|
31
|
-
<div class="tilt-card__glow"></div>
|
|
32
|
-
<div class="tilt-card__content">
|
|
33
|
-
<slot />
|
|
34
|
-
</div>
|
|
35
|
-
</Tag>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<style>
|
|
39
|
-
.tilt-wrapper {
|
|
40
|
-
perspective: 1000px;
|
|
41
|
-
display: inline-block;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.tilt-card {
|
|
45
|
-
position: relative;
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
background: #0f172a;
|
|
50
|
-
color: #fff;
|
|
51
|
-
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
52
|
-
border-radius: var(--r-md, 12px);
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
text-decoration: none;
|
|
55
|
-
overflow: hidden;
|
|
56
|
-
transition: transform 0.15s ease-out, box-shadow 0.3s ease;
|
|
57
|
-
transform-style: preserve-3d;
|
|
58
|
-
user-select: none;
|
|
59
|
-
font-family: var(--font-sans, inherit);
|
|
60
|
-
font-weight: 600;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.tilt-card__glow {
|
|
64
|
-
position: absolute;
|
|
65
|
-
inset: 0;
|
|
66
|
-
background: radial-gradient(
|
|
67
|
-
circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
|
68
|
-
color-mix(in srgb, var(--primary-color), white 20%) 0%,
|
|
69
|
-
transparent 70%
|
|
70
|
-
);
|
|
71
|
-
opacity: 0;
|
|
72
|
-
transition: opacity 0.3s ease;
|
|
73
|
-
pointer-events: none;
|
|
74
|
-
z-index: 1;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.tilt-card__content {
|
|
78
|
-
position: relative;
|
|
79
|
-
z-index: 2;
|
|
80
|
-
transform: translateZ(20px);
|
|
81
|
-
white-space: nowrap;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.tilt-card:hover {
|
|
85
|
-
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
|
|
86
|
-
border-color: rgba(255, 255, 255, 0.2);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.tilt-card:hover .tilt-card__glow {
|
|
90
|
-
opacity: 0.15;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.tilt-card:active {
|
|
94
|
-
transform: scale(0.98) translateZ(0);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.tilt-card:disabled {
|
|
98
|
-
opacity: 0.5;
|
|
99
|
-
cursor: not-allowed;
|
|
100
|
-
filter: grayscale(1);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* Sizes */
|
|
104
|
-
.tilt-wrapper--sm .tilt-card { padding: 0.5rem 1.4rem; font-size: 0.8rem; }
|
|
105
|
-
.tilt-wrapper--md .tilt-card { padding: 0.8rem 2rem; font-size: 0.95rem; }
|
|
106
|
-
.tilt-wrapper--lg .tilt-card { padding: 1.1rem 3rem; font-size: 1.1rem; }
|
|
107
|
-
</style>
|
|
108
|
-
|
|
109
|
-
<script>
|
|
110
|
-
function initTilt() {
|
|
111
|
-
const cards = document.querySelectorAll('.tilt-card:not([data-tilt-init])');
|
|
112
|
-
|
|
113
|
-
cards.forEach(card => {
|
|
114
|
-
card.setAttribute('data-tilt-init', 'true');
|
|
115
|
-
const htmlCard = card as HTMLElement;
|
|
116
|
-
|
|
117
|
-
card.addEventListener('mousemove', (e: any) => {
|
|
118
|
-
const rect = htmlCard.getBoundingClientRect();
|
|
119
|
-
const x = e.clientX - rect.left;
|
|
120
|
-
const y = e.clientY - rect.top;
|
|
121
|
-
|
|
122
|
-
// Calculate percentages for the glow highlight
|
|
123
|
-
const xPerc = (x / rect.width) * 100;
|
|
124
|
-
const yPerc = (y / rect.height) * 100;
|
|
125
|
-
htmlCard.style.setProperty('--mouse-x', `${xPerc}%`);
|
|
126
|
-
htmlCard.style.setProperty('--mouse-y', `${yPerc}%`);
|
|
127
|
-
|
|
128
|
-
// Calculate rotation
|
|
129
|
-
const rotateY = (x / rect.width - 0.5) * 25;
|
|
130
|
-
const rotateX = (y / rect.height - 0.5) * -25;
|
|
131
|
-
htmlCard.style.transform = `rotateY(${rotateY}deg) rotateX(${rotateX}deg)`;
|
|
132
|
-
});
|
|
133
|
-
|
|
134
|
-
card.addEventListener('mouseleave', () => {
|
|
135
|
-
htmlCard.style.transform = 'rotateY(0deg) rotateX(0deg)';
|
|
136
|
-
htmlCard.style.setProperty('--mouse-x', '50%');
|
|
137
|
-
htmlCard.style.setProperty('--mouse-y', '50%');
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
initTilt();
|
|
143
|
-
document.addEventListener('astro:after-swap', initTilt);
|
|
144
|
-
</script>
|
|
145
|
-
|
package/dist/buttons/index.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as AnimatedIconButton } from './AnimatedIconButton.astro';
|
|
2
|
-
export { default as BorderDrawButton } from './BorderDrawButton.astro';
|
|
3
|
-
export { default as CyberpunkButton } from './CyberpunkButton.astro';
|
|
4
|
-
export { default as DoubleBorderButton } from './DoubleBorderButton.astro';
|
|
5
|
-
export { default as GhostOutlineButton } from './GhostOutlineButton.astro';
|
|
6
|
-
export { default as GlassButton } from './GlassButton.astro';
|
|
7
|
-
export { default as GlowButton } from './GlowButton.astro';
|
|
8
|
-
export { default as LiquidButton } from './LiquidButton.astro';
|
|
9
|
-
export { default as LoadingButton } from './LoadingButton.astro';
|
|
10
|
-
export { default as MagneticButton } from './MagneticButton.astro';
|
|
11
|
-
export { default as MinimalPillButton } from './MinimalPillButton.astro';
|
|
12
|
-
export { default as NeumorphicButton } from './NeumorphicButton.astro';
|
|
13
|
-
export { default as PulseButton } from './PulseButton.astro';
|
|
14
|
-
export { default as RetroArcadeButton } from './RetroArcadeButton.astro';
|
|
15
|
-
export { default as RetroShadowButton } from './RetroShadowButton.astro';
|
|
16
|
-
export { default as ShimmerButton } from './ShimmerButton.astro';
|
|
17
|
-
export { default as ShinyButton } from './ShinyButton.astro';
|
|
18
|
-
export { default as TiltGlowButton } from './TiltGlowButton.astro';
|
|
19
|
-
export { default as ThreeDPushButton } from './3dPushButton.astro';
|
package/dist/buttons/index.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as AnimatedIconButton } from './AnimatedIconButton.astro';
|
|
2
|
-
export { default as BorderDrawButton } from './BorderDrawButton.astro';
|
|
3
|
-
export { default as CyberpunkButton } from './CyberpunkButton.astro';
|
|
4
|
-
export { default as DoubleBorderButton } from './DoubleBorderButton.astro';
|
|
5
|
-
export { default as GhostOutlineButton } from './GhostOutlineButton.astro';
|
|
6
|
-
export { default as GlassButton } from './GlassButton.astro';
|
|
7
|
-
export { default as GlowButton } from './GlowButton.astro';
|
|
8
|
-
export { default as LiquidButton } from './LiquidButton.astro';
|
|
9
|
-
export { default as LoadingButton } from './LoadingButton.astro';
|
|
10
|
-
export { default as MagneticButton } from './MagneticButton.astro';
|
|
11
|
-
export { default as MinimalPillButton } from './MinimalPillButton.astro';
|
|
12
|
-
export { default as NeumorphicButton } from './NeumorphicButton.astro';
|
|
13
|
-
export { default as PulseButton } from './PulseButton.astro';
|
|
14
|
-
export { default as RetroArcadeButton } from './RetroArcadeButton.astro';
|
|
15
|
-
export { default as RetroShadowButton } from './RetroShadowButton.astro';
|
|
16
|
-
export { default as ShimmerButton } from './ShimmerButton.astro';
|
|
17
|
-
export { default as ShinyButton } from './ShinyButton.astro';
|
|
18
|
-
export { default as TiltGlowButton } from './TiltGlowButton.astro';
|
|
19
|
-
export { default as ThreeDPushButton } from './3dPushButton.astro';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="blog-h-card">
|
|
4
|
-
<div class="thumb"></div>
|
|
5
|
-
<div class="content">
|
|
6
|
-
<span class="tag">Tutorial</span>
|
|
7
|
-
<h4>Building with Astro components</h4>
|
|
8
|
-
<p>Learn how to scale your project with modular registry files.</p>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.blog-h-card { display: flex; gap: 1.5rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; }
|
|
13
|
-
.thumb { width: 150px; background: #1e293b; flex-shrink: 0; }
|
|
14
|
-
.content { padding: 1.2rem; }
|
|
15
|
-
h4 { color: #fff; margin: 0.5rem 0; }
|
|
16
|
-
p { font-size: 0.85rem; color: #94a3b8; }
|
|
17
|
-
.tag { font-size: 0.7rem; color: #818cf8; font-weight: 700; text-transform: uppercase; }
|
|
18
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="cyber-card">
|
|
4
|
-
<div class="glitch-line"></div>
|
|
5
|
-
<h3>System Core</h3>
|
|
6
|
-
<p>Advanced neural processing activated.</p>
|
|
7
|
-
</div>
|
|
8
|
-
<style>
|
|
9
|
-
.cyber-card { background: #000; color: #00e0ff; border: 1px solid #ff003c; padding: 1.5rem; clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); position: relative; }
|
|
10
|
-
.glitch-line { position: absolute; height: 1px; width: 100%; background: #ff003c; top: 10%; left: 0; opacity: 0.5; animation: glitch 4s infinite; }
|
|
11
|
-
@keyframes glitch { 0%, 100% { top: 10%; } 50% { top: 90%; } }
|
|
12
|
-
</style>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="prod-card">
|
|
4
|
-
<div class="image"></div>
|
|
5
|
-
<div class="info">
|
|
6
|
-
<div class="meta"><span>New</span><span>5.0 ★</span></div>
|
|
7
|
-
<h4>Premium Headphones</h4>
|
|
8
|
-
<div class="bot">
|
|
9
|
-
<span class="price">$299</span>
|
|
10
|
-
<button>Add</button>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<style>
|
|
15
|
-
.prod-card { background: #0f172a; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; transition: 0.3s; }
|
|
16
|
-
.prod-card:hover { border-color: #6366f1; transform: translateY(-3px); }
|
|
17
|
-
.image { height: 180px; background: #1e293b; }
|
|
18
|
-
.info { padding: 1.25rem; }
|
|
19
|
-
.meta { display: flex; justify-content: space-between; font-size: 0.7rem; color: #818cf8; font-weight: 700; margin-bottom: 0.5rem; }
|
|
20
|
-
h4 { color: #fff; margin: 0; font-size: 1.1rem; }
|
|
21
|
-
.bot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; }
|
|
22
|
-
.price { font-weight: 800; color: #fff; font-size: 1.25rem; }
|
|
23
|
-
button { background: #6366f1; border: none; color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
|
|
24
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
interface Props { title?: string; subtitle?: string; hoverable?: boolean; padding?: 'sm' | 'md' | 'lg'; }
|
|
3
|
-
const { title, subtitle, hoverable = true, padding = 'md' } = Astro.props;
|
|
4
|
-
---
|
|
5
|
-
<div class:list={['glass-card', `glass-card--p${padding}`, { 'glass-card--hoverable': hoverable }]}>
|
|
6
|
-
{title && (<div class="glass-card__header"><h3 class="glass-card__title">{title}</h3>{subtitle && <p class="glass-card__subtitle">{subtitle}</p>}</div>)}
|
|
7
|
-
<div class="glass-card__body"><slot /></div>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.glass-card { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 20px; position: relative; overflow: hidden; transition: 0.3s; }
|
|
11
|
-
.glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); }
|
|
12
|
-
.glass-card--hoverable:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); border-color: rgba(99, 102, 241, 0.25); }
|
|
13
|
-
.glass-card__header { border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 1rem; padding-bottom: 0.75rem; }
|
|
14
|
-
.glass-card__title { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 600; color: #f1f5f9; }
|
|
15
|
-
.glass-card__subtitle { margin: 0; font-size: 0.82rem; color: #64748b; }
|
|
16
|
-
.glass-card--psm { padding: 1rem; } .glass-card--pmd { padding: 1.5rem; } .glass-card--plg { padding: 2rem; }
|
|
17
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="event-card">
|
|
4
|
-
<div class="date-badge"><span>24</span>OCT</div>
|
|
5
|
-
<div class="event-info">
|
|
6
|
-
<h3>Developer Meetup</h3>
|
|
7
|
-
<p>San Francisco, CA · 6:00 PM</p>
|
|
8
|
-
</div>
|
|
9
|
-
<button class="join-btn">+</button>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.event-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: rgba(255,255,255,0.04); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; }
|
|
13
|
-
.date-badge { background: #6366f1; color: #fff; width: 50px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; border-radius: 12px; }
|
|
14
|
-
.date-badge span { font-size: 1.2rem; line-height: 1; }
|
|
15
|
-
.event-info h3 { font-size: 1rem; color: #fff; margin: 0; }
|
|
16
|
-
.event-info p { font-size: 0.8rem; color: #94a3b8; margin: 2px 0 0; }
|
|
17
|
-
.join-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: none; color: #fff; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
|
|
18
|
-
.join-btn:hover { background: #fff; color: #000; }
|
|
19
|
-
</style>
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="glow-wrap">
|
|
4
|
-
<div class="glow-content">
|
|
5
|
-
<h3>Project Title</h3>
|
|
6
|
-
<p>Web design / 2024</p>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.glow-wrap { position: relative; padding: 2px; border-radius: 20px; background: rgba(255,255,255,0.1); overflow: hidden; }
|
|
11
|
-
.glow-wrap::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, #6366f1, transparent); animation: rotate 4s linear infinite; }
|
|
12
|
-
.glow-content { position: relative; background: #080b14; padding: 2rem; border-radius: 18px; z-index: 1; text-align: center; }
|
|
13
|
-
h3 { margin: 0; color: #fff; }
|
|
14
|
-
p { color: #94a3b8; font-size: 0.9rem; }
|
|
15
|
-
@keyframes rotate { 100% { transform: rotate(360deg); } }
|
|
16
|
-
</style>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="tilt-card-wrap">
|
|
4
|
-
<div class="tilt-card-inner">
|
|
5
|
-
<h3>3D Hover</h3>
|
|
6
|
-
<p>Move your mouse over me to see the magic effect.</p>
|
|
7
|
-
</div>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.tilt-card-wrap { perspective: 1000px; width: 100%; max-width: 300px; }
|
|
11
|
-
.tilt-card-inner { background: #1e293b; padding: 3rem; border-radius: 24px; color: #fff; text-align: center; border: 1px solid rgba(255,255,255,0.1); transform-style: preserve-3d; transition: transform 0.1s; }
|
|
12
|
-
h3 { transform: translateZ(50px); font-size: 1.5rem; color: #818cf8; }
|
|
13
|
-
p { transform: translateZ(30px); color: #94a3b8; font-size: 0.9rem; margin-top: 1rem; }
|
|
14
|
-
</style>
|
|
15
|
-
<script>
|
|
16
|
-
document.querySelectorAll('.tilt-card-inner').forEach(card => {
|
|
17
|
-
card.addEventListener('mousemove', e => {
|
|
18
|
-
const rect = card.getBoundingClientRect();
|
|
19
|
-
const x = ((e as MouseEvent).clientX - rect.left - rect.width/2) / 10;
|
|
20
|
-
const y = ((e as MouseEvent).clientY - rect.top - rect.height/2) / -10;
|
|
21
|
-
(card as HTMLElement).style.transform = `rotateY(${x}deg) rotateX(${y}deg)`;
|
|
22
|
-
});
|
|
23
|
-
card.addEventListener('mouseleave', () => (card as HTMLElement).style.transform = 'rotateY(0deg) rotateX(0deg)');
|
|
24
|
-
});
|
|
25
|
-
</script>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="k-item">
|
|
4
|
-
<p>Update site SEO metadata</p>
|
|
5
|
-
<div class="badges"><span class="b-prio">Prio</span><span class="b-opt">SEO</span></div>
|
|
6
|
-
</div>
|
|
7
|
-
<style>
|
|
8
|
-
.k-item { background: #111; border: 1px solid #333; padding: 1rem; border-radius: 8px; cursor: pointer; transition: 0.2s; }
|
|
9
|
-
.k-item:hover { border-color: #6366f1; transform: scale(1.02); }
|
|
10
|
-
p { margin: 0 0 0.75rem; font-size: 0.85rem; color: #fff; font-weight: 500; }
|
|
11
|
-
.badges { display: flex; gap: 4px; }
|
|
12
|
-
.badges span { font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
|
|
13
|
-
.b-prio { background: rgba(245,158,11,0.1); color: #fbbf24; }
|
|
14
|
-
.b-opt { background: rgba(52,211,153,0.1); color: #34d399; }
|
|
15
|
-
</style>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<a href="#" class="link-card">
|
|
4
|
-
<span>Documentation</span>
|
|
5
|
-
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
|
6
|
-
</a>
|
|
7
|
-
<style>
|
|
8
|
-
.link-card { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; text-decoration: none; color: #fff; font-weight: 600; transition: 0.2s; }
|
|
9
|
-
.link-card:hover { background: rgba(255,255,255,0.06); border-color: #6366f1; color: #818cf8; }
|
|
10
|
-
svg { transition: transform 0.2s; }
|
|
11
|
-
.link-card:hover svg { transform: translateX(5px); }
|
|
12
|
-
</style>
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="music-mini">
|
|
4
|
-
<div class="art"></div>
|
|
5
|
-
<div class="track">
|
|
6
|
-
<h4>Moonlight Sonatina</h4>
|
|
7
|
-
<p>Astro Orchestra</p>
|
|
8
|
-
<div class="progress"><div class="bar"></div></div>
|
|
9
|
-
</div>
|
|
10
|
-
<div class="play">▶</div>
|
|
11
|
-
</div>
|
|
12
|
-
<style>
|
|
13
|
-
.music-mini { display: flex; align-items: center; gap: 1rem; background: #111; padding: 0.75rem; border-radius: 14px; border: 1px solid #333; width: 100%; max-width: 320px; }
|
|
14
|
-
.art { width: 50px; height: 50px; background: #818cf8; border-radius: 8px; flex-shrink: 0; }
|
|
15
|
-
.track { flex: 1; }
|
|
16
|
-
h4 { font-size: 0.85rem; color: #fff; margin: 0; }
|
|
17
|
-
p { font-size: 0.7rem; color: #64748b; margin: 0; }
|
|
18
|
-
.progress { height: 3px; background: #222; border-radius: 2px; margin-top: 8px; position: relative; }
|
|
19
|
-
.bar { position: absolute; left: 0; top: 0; height: 100%; width: 40%; background: #6366f1; border-radius: 2px; }
|
|
20
|
-
.play { font-size: 1.2rem; cursor: pointer; color: #fff; }
|
|
21
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="notify-card">
|
|
4
|
-
<div class="dot"></div>
|
|
5
|
-
<div class="msg">
|
|
6
|
-
<strong>Updates Available</strong>
|
|
7
|
-
<p>Version 2.0 is now ready for install.</p>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.notify-card { display: flex; gap: 1rem; padding: 1rem; background: #0f172a; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.4); max-width: 300px; }
|
|
12
|
-
.dot { width: 8px; height: 8px; background: #6366f1; border-radius: 50%; margin-top: 5px; }
|
|
13
|
-
.msg p { margin: 2px 0 0; font-size: 0.82rem; color: #94a3b8; }
|
|
14
|
-
strong { font-size: 0.9rem; color: #fff; }
|
|
15
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
interface Props { plan: string; price: string; featured?: boolean; }
|
|
3
|
-
const { plan, price, featured = false } = Astro.props;
|
|
4
|
-
---
|
|
5
|
-
<div class:list={["price-card", { "featured": featured }]}>
|
|
6
|
-
<span class="plan">{plan}</span>
|
|
7
|
-
<div class="price"><span>$</span>{price}</div>
|
|
8
|
-
<ul class="features"><li>Unlimited Projects</li><li>24/7 Support</li><li>Custom Domain</li></ul>
|
|
9
|
-
<button>Choose Plan</button>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.price-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
|
|
13
|
-
.featured { border-color: #6366f1; background: rgba(99,102,241,0.05); transform: scale(1.05); }
|
|
14
|
-
.price { font-size: 2.5rem; font-weight: 800; color: #fff; }
|
|
15
|
-
.features { list-style: none; padding: 0; font-size: 0.9rem; color: #94a3b8; }
|
|
16
|
-
button { background: #6366f1; color: #fff; border: none; padding: 0.8rem; border-radius: 12px; font-weight: 700; cursor: pointer; }
|
|
17
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="profile-card">
|
|
4
|
-
<div class="banner"></div>
|
|
5
|
-
<div class="avatar"></div>
|
|
6
|
-
<h3>Sarah Jenkins</h3>
|
|
7
|
-
<p>Lead Developer</p>
|
|
8
|
-
<div class="socials"><span>🐦</span><span>💼</span><span>🌐</span></div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.profile-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; text-align: center; overflow: hidden; padding-bottom: 1.5rem; }
|
|
12
|
-
.banner { height: 80px; background: linear-gradient(135deg, #6366f1, #c084fc); }
|
|
13
|
-
.avatar { width: 80px; height: 80px; background: #334155; border: 4px solid #080b14; border-radius: 50%; margin: -40px auto 1rem; }
|
|
14
|
-
h3 { color: #fff; margin: 0; }
|
|
15
|
-
p { font-size: 0.85rem; color: #94a3b8; }
|
|
16
|
-
.socials { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; cursor: pointer; }
|
|
17
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="retro-game">
|
|
4
|
-
<div class="scanlines"></div>
|
|
5
|
-
<div class="screen">LVL 01</div>
|
|
6
|
-
<h3>SUPER ASTRO</h3>
|
|
7
|
-
<div class="score">SCORE: 004820</div>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.retro-game { background: #22c55e; border: 4px solid #000; padding: 1rem; position: relative; box-shadow: 8px 8px 0 #000; font-family: 'Courier New', monospace; }
|
|
11
|
-
.screen { background: #000; color: #22c55e; padding: 1rem; text-align: center; font-weight: 900; margin-bottom: 0.5rem; }
|
|
12
|
-
.scanlines { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0,0,0,0.1) 50%, transparent 50%); background-size: 100% 4px; }
|
|
13
|
-
h3 { margin: 0; font-size: 1rem; color: #000; }
|
|
14
|
-
.score { font-size: 0.75rem; color: #000; margin-top: 0.5rem; }
|
|
15
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="stat-card">
|
|
4
|
-
<div class="icon">📈</div>
|
|
5
|
-
<div>
|
|
6
|
-
<span class="label">Total Revenue</span>
|
|
7
|
-
<span class="value">$124,590</span>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.stat-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; background: rgba(99,102,241,0.06); border: 1px solid rgba(99,102,241,0.2); border-radius: 16px; }
|
|
12
|
-
.icon { font-size: 1.5rem; background: rgba(99,102,241,0.1); width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; }
|
|
13
|
-
.label { display: block; font-size: 0.8rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
|
|
14
|
-
.value { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
|
|
15
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="task-card">
|
|
4
|
-
<div class="tags"><span class="tag-high">High</span></div>
|
|
5
|
-
<p>Implement authentication middleware for the API.</p>
|
|
6
|
-
<div class="task-footer">
|
|
7
|
-
<span class="date">📅 Oct 24</span>
|
|
8
|
-
<div class="assign">MJ</div>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.task-card { background: #1e293b; padding: 1rem; border-radius: 10px; border: 1px solid #334155; }
|
|
13
|
-
.tag-high { background: rgba(239,68,68,0.1); color: #f87171; font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
|
|
14
|
-
p { font-size: 0.85rem; color: #e2e8f0; margin: 0.75rem 0; font-weight: 500; }
|
|
15
|
-
.task-footer { display: flex; justify-content: space-between; align-items: center; }
|
|
16
|
-
.date { font-size: 0.75rem; color: #64748b; }
|
|
17
|
-
.assign { width: 24px; height: 24px; background: #6366f1; color: #fff; font-size: 0.65rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
|
|
18
|
-
</style>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="testi-card">
|
|
4
|
-
<div class="quote">"This component library transformed our workflow. The best Astro-first UI kit we've found."</div>
|
|
5
|
-
<div class="author">
|
|
6
|
-
<div class="pic"></div>
|
|
7
|
-
<div>
|
|
8
|
-
<h5>Alex Rivera</h5>
|
|
9
|
-
<span>CTO at TechFlow</span>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<style>
|
|
14
|
-
.testi-card { background: rgba(255,255,255,0.03); padding: 2rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
|
|
15
|
-
.quote { font-size: 1rem; color: #e2e8f0; font-style: italic; line-height: 1.6; margin-bottom: 2rem; }
|
|
16
|
-
.author { display: flex; align-items: center; gap: 1rem; }
|
|
17
|
-
.pic { width: 40px; height: 40px; background: #334155; border-radius: 50%; }
|
|
18
|
-
h5 { margin: 0; color: #fff; }
|
|
19
|
-
span { font-size: 0.75rem; color: #64748b; }
|
|
20
|
-
</style>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="weather-card">
|
|
4
|
-
<div class="temp">24°</div>
|
|
5
|
-
<div class="city">
|
|
6
|
-
<h4>Sunnyvale</h4>
|
|
7
|
-
<p>Partly Cloudy</p>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="icon">☀️</div>
|
|
10
|
-
</div>
|
|
11
|
-
<style>
|
|
12
|
-
.weather-card { display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem; background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(192,132,252,0.2)); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; color: #fff; }
|
|
13
|
-
.temp { font-size: 2.2rem; font-weight: 800; }
|
|
14
|
-
.city h4 { margin: 0; font-size: 1rem; }
|
|
15
|
-
.city p { margin: 0; font-size: 0.8rem; opacity: 0.7; }
|
|
16
|
-
.icon { font-size: 2.5rem; margin-left: auto; }
|
|
17
|
-
</style>
|
package/dist/cards/index.mjs
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as BlogHorizontalCard } from './BlogHorizontalCard.astro';
|
|
2
|
-
export { default as CyberFeatureCard } from './CyberFeatureCard.astro';
|
|
3
|
-
export { default as EcommerceProductCard } from './EcommerceProductCard.astro';
|
|
4
|
-
export { default as GlassCard } from './GlassCard.astro';
|
|
5
|
-
export { default as GlassEventCard } from './GlassEventCard.astro';
|
|
6
|
-
export { default as GlowPortfolioCard } from './GlowPortfolioCard.astro';
|
|
7
|
-
export { default as InteractiveTiltCard } from './InteractiveTiltCard.astro';
|
|
8
|
-
export { default as KanbanItemCard } from './KanbanItemCard.astro';
|
|
9
|
-
export { default as MinimalLinkCard } from './MinimalLinkCard.astro';
|
|
10
|
-
export { default as MusicPlayerMini } from './MusicPlayerMini.astro';
|
|
11
|
-
export { default as NeumorphicCard } from './NeumorphicCard.astro';
|
|
12
|
-
export { default as NotificationCard } from './NotificationCard.astro';
|
|
13
|
-
export { default as PricingCard } from './PricingCard.astro';
|
|
14
|
-
export { default as ProfileCard } from './ProfileCard.astro';
|
|
15
|
-
export { default as RetroGameCard } from './RetroGameCard.astro';
|
|
16
|
-
export { default as StatCard } from './StatCard.astro';
|
|
17
|
-
export { default as TaskKanbanCard } from './TaskKanbanCard.astro';
|
|
18
|
-
export { default as TestimonialCardClean } from './TestimonialCardClean.astro';
|
|
19
|
-
export { default as WeatherWidgetCard } from './WeatherWidgetCard.astro';
|
package/dist/cards/index.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export { default as BlogHorizontalCard } from './BlogHorizontalCard.astro';
|
|
2
|
-
export { default as CyberFeatureCard } from './CyberFeatureCard.astro';
|
|
3
|
-
export { default as EcommerceProductCard } from './EcommerceProductCard.astro';
|
|
4
|
-
export { default as GlassCard } from './GlassCard.astro';
|
|
5
|
-
export { default as GlassEventCard } from './GlassEventCard.astro';
|
|
6
|
-
export { default as GlowPortfolioCard } from './GlowPortfolioCard.astro';
|
|
7
|
-
export { default as InteractiveTiltCard } from './InteractiveTiltCard.astro';
|
|
8
|
-
export { default as KanbanItemCard } from './KanbanItemCard.astro';
|
|
9
|
-
export { default as MinimalLinkCard } from './MinimalLinkCard.astro';
|
|
10
|
-
export { default as MusicPlayerMini } from './MusicPlayerMini.astro';
|
|
11
|
-
export { default as NeumorphicCard } from './NeumorphicCard.astro';
|
|
12
|
-
export { default as NotificationCard } from './NotificationCard.astro';
|
|
13
|
-
export { default as PricingCard } from './PricingCard.astro';
|
|
14
|
-
export { default as ProfileCard } from './ProfileCard.astro';
|
|
15
|
-
export { default as RetroGameCard } from './RetroGameCard.astro';
|
|
16
|
-
export { default as StatCard } from './StatCard.astro';
|
|
17
|
-
export { default as TaskKanbanCard } from './TaskKanbanCard.astro';
|
|
18
|
-
export { default as TestimonialCardClean } from './TestimonialCardClean.astro';
|
|
19
|
-
export { default as WeatherWidgetCard } from './WeatherWidgetCard.astro';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="acc-wrap">
|
|
4
|
-
<details open>
|
|
5
|
-
<summary>How do I install the components?</summary>
|
|
6
|
-
<div class="content">Simply copy the Astro and CSS code into your project.</div>
|
|
7
|
-
</details>
|
|
8
|
-
<details>
|
|
9
|
-
<summary>Is this open source?</summary>
|
|
10
|
-
<div class="content">Yes, Astro Components is free under the MIT license.</div>
|
|
11
|
-
</details>
|
|
12
|
-
</div>
|
|
13
|
-
<style>
|
|
14
|
-
.acc-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
15
|
-
details { background: rgba(255,255,255,0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; overflow: hidden; }
|
|
16
|
-
summary { padding: 1rem 1.5rem; cursor: pointer; color: #fff; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }
|
|
17
|
-
summary:hover { background: rgba(255,255,255,0.02); }
|
|
18
|
-
summary::after { content: "+"; font-size: 1.25rem; transition: transform 0.3s; }
|
|
19
|
-
details[open] summary::after { transform: rotate(45deg); }
|
|
20
|
-
.content { padding: 0 1.5rem 1rem; color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }
|
|
21
|
-
</style>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="av-group">
|
|
4
|
-
<div class="av" style="background:#6366f1">AJ</div>
|
|
5
|
-
<div class="av" style="background:#8b5cf6">MK</div>
|
|
6
|
-
<div class="av" style="background:#ec4899">SL</div>
|
|
7
|
-
<div class="av more">+4</div>
|
|
8
|
-
</div>
|
|
9
|
-
<style>
|
|
10
|
-
.av-group { display: flex; align-items: center; }
|
|
11
|
-
.av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #080b14; margin-left: -10px; display: grid; place-items: center; font-size: 0.65rem; font-weight: 800; color: #fff; position: relative; transition: 0.2s; cursor: pointer; }
|
|
12
|
-
.av:first-child { margin-left: 0; }
|
|
13
|
-
.av:hover { transform: translateY(-4px); z-index: 10; }
|
|
14
|
-
.more { background: #1e293b; color: #94a3b8; border-style: dashed; }
|
|
15
|
-
</style>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
---
|
|
3
|
-
<div class="cal-card">
|
|
4
|
-
<div class="cal-head"><h4>October 2024</h4></div>
|
|
5
|
-
<div class="cal-grid">
|
|
6
|
-
<span>Mo</span><span>Tu</span><span>We</span><span>Th</span><span>Fr</span><span>Sa</span><span>Su</span>
|
|
7
|
-
{[...Array(31)].map((_, i) => <div class:list={[{ "today": i+1 === 24 }]}>{i+1}</div>)}
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|
|
10
|
-
<style>
|
|
11
|
-
.cal-card { background: #111; border: 1px solid #333; border-radius: 16px; padding: 1.25rem; width: fit-content; }
|
|
12
|
-
.cal-head { text-align: center; margin-bottom: 1rem; color: #fff; }
|
|
13
|
-
.cal-grid { display: grid; grid-template-columns: repeat(7, 35px); text-align: center; font-size: 0.75rem; color: #64748b; }
|
|
14
|
-
.cal-grid span { font-weight: 800; padding: 5px 0; color: #818cf8; }
|
|
15
|
-
.cal-grid div { padding: 8px 0; cursor: pointer; transition: 0.2s; }
|
|
16
|
-
.cal-grid div:hover { color: #fff; background: rgba(255,255,255,0.05); border-radius: 5px; }
|
|
17
|
-
.today { background: #6366f1; color: #fff !important; border-radius: 5px; box-shadow: 0 0 10px rgba(99,102,241,0.4); }
|
|
18
|
-
</style>
|