Skip to main content
Sunflower Capital Hero

Welcome to Sunflower Capital

Sunflower Capital is a modern, interactive venture capital website built with Next.js 14. The site showcases a beautiful full-page scrolling experience with animated flower visuals, portfolio filtering, and testimonials carousel.
From Seed to Sunflower - This website represents Sunflower Capital’s mission to partner at the earliest stage with companies building foundational infrastructure for modern enterprises, critical industries, and the physical world.

Key features

This Next.js application combines cutting-edge web technologies with thoughtful UX design:

Full-page scrolling

Built with ReactPageScroller for seamless vertical navigation through content sections

Interactive animations

Animated sunflower visuals with hover effects, growth animations, and breathing effects

Dynamic portfolio

Filterable portfolio table with 56+ companies across AI/ML, Fintech, Security, and more

Responsive design

Adaptive layouts for portrait/landscape orientations with device detection

Architecture

The website is built as a client-side React application using Next.js 14 with the App Router. Here’s how the main components are structured:

Page structure

The application uses a full-page scroller with six distinct sections:
src/app/page.tsx
<ReactPageScroller
  customPageNumber={currentPage}
  blockScrollUp={!scrollEnabled && !scrollUpEnabled} 
  blockScrollDown={!scrollEnabled && !scrollDownEnabled}
  onBeforePageScroll={beforePageChange}
  renderAllPagesOnFirstRender={true}
>
  {/* Hero section with animated flowers */}
  <div id="hero" className="...">
    {/* Sunflower Capital title and flower animations */}
  </div>
  
  {/* Mission statement */}
  <div id="statement1" className="...">
    {/* Company mission */}
  </div>
  
  {/* Ethos section */}
  <div id="statement2" className="...">
    {/* Investment philosophy */}
  </div>
  
  {/* Portfolio table */}
  <div id="portfolio" className="...">
    <PortfolioTable />
  </div>
  
  {/* Testimonials carousel */}
  <div id="testimonials" className="...">
    <Testimonials />
  </div>
  
  {/* Contact footer */}
  <div id="footer" className="...">
    {/* Contact information and social links */}
  </div>
</ReactPageScroller>

Custom brand colors

Sunflower Capital uses a distinctive color palette defined in Tailwind config:
tailwind.config.ts
colors: {
  'offwhite': '#FFF9DE',
  'offblack': '#010101',
  'dark-brown': '#4F3A26',
  'dark-green': '#03351A',  // Primary brand color
  'white': '#FFFFFF',
  'darkish-brown': '#704F38',
  'light-grey': '#B9A89A',
}

Animations

The hero section features multiple animated sunflower SVGs with different interaction patterns:

Breathing center flower

The central flower has a continuous breathing animation:
src/app/globals.css
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.breathe {
  animation: breathe 3s ease-in-out infinite; 
}

Interactive expand effect

Clicking the center flower triggers a dramatic expand animation:
src/app/page.tsx
const expandFlower = () => {
  if (!breatheEnabled) return;
  setBreatheEnabled(false);
  const centerflower = document.getElementById("center-flower");
  
  setTimeout(() => {
    centerflower.style.transition = "transform 2s ease-in-out";
    if (window.innerHeight > window.innerWidth) {
      centerflower.style.transform = "scale(160)";
    } else {
      centerflower.style.transform = "scale(80)";
    }
  }, 10);
  
  // Show message "From Seed to Sunflower"
  // Reset after animation completes
};

Portfolio system

The portfolio table manages 56+ portfolio companies with dynamic filtering:
interface Company {
  company: string;
  industry: string;
  description: string;
  link: string;
}

Sample portfolio companies

  • Cohere - LLMs and RAG capabilities for enterprises
  • Ollama - Easiest way to get up and running with LLMs
  • Roboflow - Build and deploy computer vision models faster
  • Tecton - Abstracting away data engineering for AI
  • Vercel - The frontend cloud for a faster, personalized web
  • Retool - Fastest way to build internal software
  • Warp - The modern terminal, reimagined with AI
  • VoidZero - Unified toolchain for Javascript
  • Temporal - Open source durable execution
  • Railway - Deploy software instantly at scale
  • Cal - Open source scheduling infrastructure
  • Xata - Serverless data platform for PostgreSQL

Responsive approach

The site uses a sophisticated responsive system based on aspect ratios and device detection:
src/app/page.tsx
const [mobile, setMobile] = useState(true);
const [lg, setLg] = useState(false);

useEffect(() => {
  const handleResize = () => {
    setLg(window.innerWidth >= 1024);
  };
  setMobile(isMobile);
  setLg(window.innerWidth >= 1024);
  
  window.addEventListener("resize", handleResize);
  return () => window.removeEventListener("resize", handleResize);
}, []);

Breakpoints

Custom screen breakpoints ensure perfect display across devices:
tailwind.config.ts
screens: {
  'xs': '425px',
  'sm': '640px',
  'md': '768px',
  'lg': '1024px',
  'xl': '1440px',
  '2xl': '1920px',
}

Typography

The site uses two custom font families:

Arya

Used for headings and the main title. Bold, distinctive, perfect for brand identity.
font-family: 'Arya', system-ui

Bitter

Used for body text and descriptions. Variable font with weights from 100-900.
font-family: 'Bitter', system-ui

Tech stack

1

Next.js 14

Modern React framework with App Router, Image optimization, and font loading
2

React 18

Latest React with hooks, concurrent features, and client components
3

TypeScript 5

Type-safe development with modern TypeScript features
4

Tailwind CSS 3.4

Utility-first CSS with custom configuration for brand colors and typography
5

ReactPageScroller 3.0

Full-page scrolling library for seamless section navigation
6

Glide.js 3.6

Lightweight carousel for testimonials with touch support
7

Vercel Analytics

Built-in analytics for tracking user behavior and performance

Next steps

Ready to get started? Follow the quickstart guide to set up your development environment and run the site locally.

Quickstart

Clone the repository and start the development server in minutes

Deployment

Deploy to Vercel with automatic CI/CD and preview deployments

Build docs developers (and LLMs) love