Files
such.software/packages/ui/src/procedural/data-grid.tsx
T
jwinterm 717a3be1c8 feat: Initial Monorepo Setup for Such Software
- **Architecture**: Initialized Turborepo monorepo with pnpm workspace.
- **Frontend**: Scaffolding for Next.js 14 app (apps/web) with Tailwind CSS v4 configuration.
- **UI System**: Created shared UI package (@repo/ui) with Shadcn/UI primitives (Card, Button).
- **Procedural Design**:
  - Implemented 'NebulaField' organic background animation for Home.
  - Implemented 'DataGrid' isometric background for Services.
  - Added 'DynamicBackground' for theme-aware transitions.
- **Features**:
  - Responsive 'ThemeToggle' with View Transitions API support.
  - 'PortfolioGrid' component showcasing key projects (r/CryptoCurrency, etc.).
  - 'FounderSignature' component detailing accessibility focus.
  - 'ContactForm' with Zod validation + turnstile integration stub.
- **Pages**:
  - Landing page with parallax/procedural visuals.
  - Services page highlighting Medusa v2 development capabilities.
- **Clean Up**: Removed initial Medusa backend scaffold to focus on frontend delivery first.
2026-01-15 15:43:47 -05:00

35 lines
1.0 KiB
TypeScript

'use client';
import { motion } from "framer-motion";
export const DataGrid = () => {
const gridLines = Array.from({ length: 10 }).map((_, i) => i * 10);
return (
<svg className="absolute inset-0 w-full h-full [mask-image:linear-gradient(to_bottom,transparent,black)] pointer-events-none z-0">
{gridLines.map((pos, i) => (
<motion.line
key={`h-${i}`}
x1="0" y1={`${pos}%`} x2="100%" y2={`${pos}%`}
stroke="currentColor"
strokeWidth="1"
className="text-gray-200 dark:text-slate-800"
initial={{ pathLength: 0 }}
animate={{ pathLength: 1 }}
transition={{ duration: 2, delay: i * 0.1 }}
/>
))}
{/* Animated "Data Packets" travelling lines */}
<motion.rect
width="2" height="2" fill="currentColor"
className="text-blue-500 dark:text-blue-400"
>
<motion.animateMotion
path="M 0 50 H 100"
dur="5s"
repeatCount="indefinite"
/>
</motion.rect>
</svg>
);
};