import React, { useState } from "react"; // Single‑file React site that recreates the structure of matthewsitu.com // (landing + About Me + Projects + Socials) and adds a simple Shop section. // Styling uses Tailwind (preconfigured in this preview). Replace placeholder // text/images/links with your real content. You can export this as a single // index.html by building with a bundler, or copy the JSX into a React app. export default function Site() { const [mobileOpen, setMobileOpen] = useState(false); const nav = [ { id: "about", label: "ABOUT ME" }, { id: "projects", label: "PROJECTS" }, { id: "socials", label: "SOCIALS" }, { id: "shop", label: "SHOP" }, ]; const projects = [ { title: "Convertible Tote → Picnic Blanket", blurb: "Patent‑pending soft‑goods concept. Modular straps, quick‑fold pattern.", img: "https://images.unsplash.com/photo-1520975916090-3105956dac38?w=1200", href: "#", tags: ["soft goods", "prototype"], }, { title: "Solar Arduino Counter", blurb: "Low‑power logger: capacitive touch, DFPlayer Mini, SD data capture.", img: "https://images.unsplash.com/photo-1518770660439-4636190af475?w=1200", href: "#", tags: ["electronics", "arduino"], }, { title: "Shadow Lamp Studies", blurb: "Folded sheet experiments—controllable penumbra patterns with a single LED.", img: "https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1200", href: "#", tags: ["lighting", "materials"], }, ]; const products = [ { id: "sku_tote_01", name: "Convertible Tote v1", price: 45, img: "https://images.unsplash.com/photo-1520975916090-3105956dac38?w=1000", desc: "Everyday tote that unfolds into a picnic blanket. Pre‑order batch.", // Replace checkout link with your Stripe Checkout (or Shopify) URL checkout: "https://buy.stripe.com/test_12345", // ← placeholder }, { id: "sku_lamp_01", name: "Shadow Lamp Study A", price: 90, img: "https://images.unsplash.com/photo-1524758631624-e2822e304c36?w=1000", desc: "CNC‑cut sheet lamp—limited run of 10.", checkout: "https://buy.stripe.com/test_67890", // ← placeholder }, { id: "sku_print_01", name: "Poster: Crow Nest Concept", price: 25, img: "https://images.unsplash.com/photo-1483721310020-03333e577078?w=1000", desc: "A2 risograph print on recycled stock.", checkout: "https://buy.stripe.com/test_abcdEfgHi", // ← placeholder }, ]; return (
{/* Header / Nav */}
MATTHEW SITU
{mobileOpen && (
{nav.map(n => ( setMobileOpen(false)}>{n.label} ))}
)}
{/* Hero */}

MATTHEW SITU

Industrial designer · prototyper · traveler. Scroll down.

See Projects Visit Shop
{/* About */}

ABOUT ME

Designer focused on functional, joyful objects.

I’m an industrial design student at Emily Carr/Lund (exchange). I prototype quickly across soft goods, electronics, and 3D printing. I like making things people actually use.

Contact Portfolio
Workshop Prototype
{/* Projects */}

PROJECTS

Download CV
{projects.map(p => (
{p.title}

{p.title}

{p.blurb}

{p.tags.map(t => ( {t} ))}
))}
{/* Shop */}

SHOP

Payments via Stripe/Shopify links.

{products.map(prod => (
{prod.name}

{prod.name}

{prod.desc}

${'{'}prod.price{'}'} Buy
))}

Tip: replace the placeholder checkout URLs with Stripe Checkout links (one per product) or Shopify product links. For a full cart experience on a static site, integrate Snipcart or Lemon Squeezy.

{/* Socials */}

SOCIALS

Say hi for collabs or commissions.

{/* Footer */} {/* Smooth scroll (native behavior is fine; this is a small enhancement) */}
); }