DEV Community

ri ki
ri ki

Posted on • Edited on

Umemura Farm Website – Devlog #19: Organizing the Directory Before Building Seasonal Pages

Today's Task: Preparing to Build Seasonal Pages

Today, I planned to start creating pages that showcase asparagus across different seasons. However, before diving into development, I realized the project directory needed some serious reorganization.

components/
  shared/                     
    CTAButton.tsx
    FAQSection.tsx
    Header.tsx
    Footer.tsx
    Navigation.tsx
    TestimonialSection.tsx
    CompanyInfoSection.tsx

  seasonal/
    spring-l/                
      HeroSection.tsx
      ProductSection.tsx
      FeatureSection.tsx
    spring-m/                 
      HeroSection.tsx
      ProductSection.tsx
      FeatureSection.tsx
    summer-l/                 
      HeroSection.tsx
      ProductSection.tsx
      FeatureSection.tsx
    summer-m/                 
      HeroSection.tsx
      ProductSection.tsx
      FeatureSection.tsx
    off-season/               
      HeroSection.tsx
      ProductSection.tsx
      FeatureSection.tsx

pages/
  index.tsx                  
  spring-l.tsx               
  spring-m.tsx
  summer-l.tsx
  summer-m.tsx
  off-season.tsx

lib/
  season.ts                   
  seasonConfig.ts            
  types.ts                   

data/
  content/
    spring-l.json            
    spring-m.json
    summer-l.json
    summer-m.json
    off-season.json                

styles/
  globals.css
  components.css
  seasonal/
    spring-l.css
    spring-m.css
    summer-l.css
    summer-m.css
    off-season.css

utils/
  analytics.ts               
  seo.ts                    
  validation.ts             

hooks/
  useSeasonDetection.ts     
  useAnalytics.ts           

config/
  env.ts                    
  constants.ts              

public/
  favicon.ico
  robots.txt
  sitemap.xml
  images/                   
Enter fullscreen mode Exit fullscreen mode

Unexpected Complexity in Directory Structure

The task of cleaning up and structuring the directories turned out to be more complicated and time-consuming than I initially expected. As a result, the entire day was spent on this.

Continuing Tomorrow

Since this is a foundational task, I will continue the directory organization tomorrow before moving on to building the seasonal pages.


Date: June 28, 2025
tags: portfolio, webdev, projectmanagement

Top comments (0)