Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ export function FeatureDemo({
}: FeatureDemoProps) {
return (
<div
className={`relative w-full aspect-4/3 rounded-2xl overflow-hidden ${className}`}
className={`relative w-full min-h-[300px] lg:aspect-4/3 rounded overflow-hidden ${className}`}
>
{/* Background gradient */}
<MeshGradient
colors={colors}
className="absolute inset-0 w-full h-full"
className="absolute inset-0 w-full h-full rounded"
/>

{/* Content overlay */}
<div className="relative z-10 w-full h-full flex items-center justify-center p-6">
<div className="relative z-10 w-full h-full flex items-center justify-start sm:justify-center p-4 sm:p-6">
{children}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function IsolationDemo() {
return (
<motion.div
ref={ref}
className="w-full max-w-2xl bg-[#1a1a1a]/90 backdrop-blur-sm rounded-lg border border-white/10 shadow-2xl overflow-hidden"
className="w-full min-w-[500px] max-w-2xl bg-[#1a1a1a]/90 backdrop-blur-sm rounded-lg border border-white/10 shadow-2xl overflow-hidden"
Comment thread
Kitenite marked this conversation as resolved.
initial={{ opacity: 0, y: 20 }}
animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
transition={{ duration: 0.5 }}
Expand All @@ -117,10 +117,10 @@ export function IsolationDemo() {
components/HeroSection/HeroSection.tsx
</span>
</div>
<div className="flex items-center gap-2">
<div className="flex items-center gap-2 mx-2">
<button
type="button"
className="px-2 py-1 text-xs text-white/60 hover:text-white/80 bg-white/5 rounded transition-colors"
className="px-2 py-1 text-xs text-white/60 hover:text-white/80 bg-white/5 rounded transition-colors whitespace-nowrap"
>
Side by Side
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export function ParallelExecutionDemo() {
return (
<motion.div
ref={ref}
className="w-full max-w-2xl bg-[#1a1a1a]/90 backdrop-blur-sm rounded-lg border border-white/10 shadow-2xl overflow-hidden"
className="w-full min-w-[500px] max-w-2xl bg-[#1a1a1a]/90 backdrop-blur-sm rounded-lg border border-white/10 shadow-2xl overflow-hidden"
Comment thread
Kitenite marked this conversation as resolved.
initial={{ opacity: 0, y: 20 }}
animate={isInView ? { opacity: 1, y: 0 } : { opacity: 0, y: 20 }}
transition={{ duration: 0.5 }}
Expand Down
Loading