import Image, { type ImageProps } from 'next/image' import Link from 'next/link' import clsx from 'clsx' import { Button } from '@/components/Button' import { Card } from '@/components/Card' import { Container } from '@/components/Container' import logoFacebook from '@/images/logos/facebook.svg' import logoLookbook from '@/images/logos/lookbook.png' import logoFormat from '@/images/logos/format.png' import logoZed from '@/images/logos/zed.png' import { type ArticleWithSlug, getAllArticles } from '@/lib/articles' import { ArrowRightIcon } from '@heroicons/react/24/outline' function BriefcaseIcon(props: React.ComponentPropsWithoutRef<'svg'>) { return ( ) } function Article({ article }: { article: ArticleWithSlug }) { return ( {article.title} {article.description} ) } function SocialLink({ icon: Icon, ...props }: React.ComponentPropsWithoutRef & { icon: React.ComponentType<{ className?: string }> }) { return ( ) } interface Role { company: string title: string logo: ImageProps['src'] start: string | { label: string; dateTime: string } end: string | { label: string; dateTime: string } } function Role({ role }: { role: Role }) { let startLabel = typeof role.start === 'string' ? role.start : role.start.label let startDate = typeof role.start === 'string' ? role.start : role.start.dateTime let endLabel = typeof role.end === 'string' ? role.end : role.end.label let endDate = typeof role.end === 'string' ? role.end : role.end.dateTime return (
  • Company
    {role.company}
    Role
    {role.title}
    Date
    {' '} {' '}
  • ) } function Resume() { let resume: Array = [ { company: 'Zed Industries', title: 'Lead Designer', logo: logoZed, start: '2021', end: { label: 'Present', dateTime: new Date().getFullYear().toString(), }, }, { company: 'Facebook', title: 'Product Designer', logo: logoFacebook, start: '2015', end: '2021', }, { company: 'LOOKBOOK', title: 'Designer & Front-end Developer', logo: logoLookbook, start: '2013', end: '2014', }, { company: 'Format', title: 'Design Consultant & Developer', logo: logoFormat, start: '2014', end: '2014', }, ] return (

    Work

      {resume.map((role, roleIndex) => ( ))}
    ) } const socialLinks: Readonly[] = [ { label: 'Find me on Twitter', href: 'https://twitter.com/iamnbutler', emoji: '🐦', }, { label: 'Find me on GitHub', href: 'https://github.com/iamnbutler', emoji: '🐱' }, { label: 'Find me on Linkedin', href: 'https://www.linkedin.com/in/imnate/', emoji: '💼', }, { label: 'Find me on Read.cv', href: 'https://read.cv/natebutler', emoji: '🗒️', }, ] type SocialLink = { label: string href: string emoji: string } const SocialItem = ({ label, href, emoji }: SocialLink) => { return (
  • {emoji}
  • ) } export default async function Home() { let articles = (await getAllArticles()).slice(0, 4) return ( <>

    Vision and Prototyping for Software Experiences

    I’m a Nate, a Vision Designer & Design Engineer living in Toronto, Canada. I’ve helped millions of people create things and express themselves through some delightful experiences.

    My career has flourished around long range vision design and building products that help people create things on their own.I love working on teams that solve ambitious problems and create value for people every day.

      {socialLinks.map((socialLink) => ( ))}
    {articles.map((article) => (
    ))}
    {/* */}
    ) }