This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Design system components for layout and prose styling. | |
| // Provides reusable components for structuring pages and formatting rich text content. | |
| import { cn } from "@/lib/utils"; | |
| type DSProps = { | |
| className?: string; | |
| children?: React.ReactNode; | |
| id?: string; | |
| style?: React.CSSProperties; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import LogoLightMode from "@/public/logo.svg"; | |
| import LogoDarkMode from "@/public/logo-white.svg"; | |
| import Image from "next/image"; | |
| import Link from "next/link"; | |
| export const Logo = ({ | |
| href = "/", | |
| width = 72, | |
| className, | |
| }: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Thank you for helping me build better applications. As a design engineer, I have specific preferences for how I like to work. Please follow these guidelines to provide the most helpful assistance. | |
| ## Technology Stack | |
| - Next.js 15+ with App Router | |
| - TypeScript (strict mode) | |
| - shadcn/ui components | |
| - Tailwind CSS | |
| ## Code Style Preferences | |
| - Please use TypeScript with proper typing - avoid `any` types when possible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use client"; | |
| import React, { useState, useEffect } from "react"; | |
| import { cn } from "@/lib/utils"; | |
| interface AsyncImageProps extends React.ImgHTMLAttributes<HTMLImageElement> { | |
| width: number; | |
| height: number; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as React from "react"; | |
| import { cn } from "@/lib/utils"; | |
| import { Card } from "./card"; | |
| import { Project } from "@/lib/data"; | |
| export type GridProps = React.HTMLAttributes<HTMLElement> & { | |
| columns?: 1 | 2 | 3 | 4; | |
| projects: Project[]; | |
| animation?: boolean; | |
| }; |