CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a Jekyll-based static website for CodeStove (코드스토브), an IT solutions company. The site is built using the OneFlow Jekyll theme, which is designed for creating one-page websites with multiple sections. The site is primarily in Korean (locale: ko-KR) and showcases services in Enterprise Software, AIoT, and IoT Business.
Live URL: https://codestove.io Repository: ryoostar/codestove.io
Development Commands
Local Development with Docker
docker compose up
The site will be available at http://0.0.0.0:4000/
JavaScript Build Commands
# Minify and build JavaScript
npm run build:js
# Watch JavaScript files for changes and rebuild
npm run watch:js
# Uglify JavaScript manually
npm run uglify
Jekyll/Ruby Setup (if not using Docker)
bundle install
bundle exec jekyll serve
Architecture and Structure
Site Configuration
- _config.yml: Main Jekyll configuration file containing:
- Theme skin selection (default, air, aqua, contrast, dark, dirt, neon, mint, plum, sunrise)
- Site metadata (title, locale, URL, repository)
- Masthead settings (sticky navigation, opacity, background images)
- Footer links and copyright
- Jekyll plugins configuration
Content Structure
- _pages/: Contains main page content
index.html: Homepage with multiple sections (Enterprise Software, AIoT, IoT Business, Contact Us)imprint.md: Legal/imprint information- Sections are defined inline using
<section>tags with IDs matching navigation anchors
- _data/navigation.yml: Navigation menu configuration
- Defines anchor links to sections on the homepage
- Each entry has title (Korean), URL (anchor link), and description
Layout System
- _layouts/: Jekyll layout templates
default.html: Base layout wrapperpage.html: Extends default layout for pages
- _includes/: Reusable components
masthead.html: Site header and navigationfooter.html: Site footer with linkspage__hero.html: Hero section with overlay imagesimage-text-row: Component for image+text rowsgallery: Gallery component for showcasing imagespopup.html: Cookie/CDN consent banner (controlled byshow-popupin _config.yml)cs-hero.html: Typographic homepage hero (rolling keyword, floating tags, gradient blobs). Included from_pages/index.html; the theme’spage__hero.htmlis no longer used on the homepage.head/custom.html: Favicons + Pretendard webfont + AOS CSS (CDN)scripts.html: Loadsmain.min.js, then AOS JS (CDN) andassets/js/codestove.jseditables/: Custom editable components
Styling
- _sass/oneflow/: SCSS source files organized by component
_variables.scss: Theme variables and colors_sections.scss: Section-specific styles_boxes.scss: Box/card component stylesskins/: Color scheme variations (10 themes available)- Main entry point:
oneflow.scss
- _sass/_custom-styles.scss: Custom overrides (imported by
assets/css/main.scss). This is the ACTIVE file.assets/css/custom-styles.cssis a stale, unused copy — do not edit it. - _sass/_codestove.scss: CodeStove design system (design tokens, glass masthead, typographic hero, AOS helpers, reduced-motion). Imported last in
main.scss. - _sass/oneflow/skins/_codestove.scss: Active skin (
oneflow-skin: "codestove"). Sets Pretendard as the global font and brand colors.
JavaScript
- assets/js/:
_main.js: Main JavaScript source (unminified)main.min.js: Production minified bundle (generated)codestove.js: Not part of the bundle. Initializes AOS (once: true, 800ms) and runs the hero rolling keyword. Honorsprefers-reduced-motion.plugins/: jQuery plugins (fitvids, magnific-popup, greedy-navigation, smooth-scroll, gumshoe, etc.)vendor/jquery/: jQuery library- Build process concatenates and minifies all JS files into
main.min.js
Assets
- assets/images/: Site images (header backgrounds, logos, content images)
- assets/fonts/: Custom web fonts
- assets/webfonts/: Font Awesome icon fonts
Content Management
Adding New Sections
- Add section markup in
_pages/index.htmlwith unique ID - Add navigation link in
_data/navigation.ymlpointing to section ID - Use front matter variables for reusable content (gallery, image-text-row, etc.)
Image Text Rows
Define in page front matter:
image-text-row:
- header: "Section Title"
excerpt: "Description text"
image-url: "/assets/images/example.webp"
image-width: "500px"
image-right: false # or true to position image on right
Include in page: `
`
Galleries
Define in page front matter:
gallery:
- url: /assets/images/full-size.webp
image_path: /assets/images/thumb.webp
alt: "Alt text"
title: "Title"
Include in page: `
`
Theme Customization
- Change color scheme: Edit
oneflow-skinin_config.yml - Modify masthead behavior: Set
sticky-mastheadandmasthead-opacityin_config.yml - Add/remove footer links: Edit
footer.linksarray in_config.yml
Jekyll Plugins
Active plugins (github-pages compatible):
- jekyll-sitemap: Generates sitemap.xml
- jekyll-gist: Embed GitHub gists
- jekyll-feed: Generates RSS/Atom feed
- jekyll-include-cache: Caches include files for performance
- jekyll-algolia: Search integration (configured but may not be active)
- jemoji: GitHub-style emoji support
Deployment Configuration
Git Remotes
This checkout has a single remote, and it is the production repository:
origin https://github.com/ryoostar/codestove.io # Production repo (GitHub Pages)
Older notes mentioned a separate codestove.io remote for production and origin
pointing at a development repo (shine-codestove/codestove-site). That is no longer the
case here — run git remote -v before deploying and push to whichever remote points at
ryoostar/codestove.io.
Deployment Process
# 1. Test locally (Docker, or the `jekyll` config in .claude/launch.json)
docker compose up
# 2. Commit changes on your working branch
git add -A
git commit -m "Your commit message"
# 3. Fast-forward main (from the main checkout) and push to the production repository
git merge --ff-only <your-branch>
git push origin main
# 4. GitHub Pages builds and deploys automatically (1-2 minutes);
# check with: gh run list --repo ryoostar/codestove.io --limit 1
Deploying is pushing main to ryoostar/codestove.io. Feature branches are not built.
_config.yml Production Settings
url: "https://codestove.io"
baseurl: "" # Empty for root domain
repository: "ryoostar/codestove.io"
show-popup: false # Cookie banner disabled
GitHub Pages Configuration
- Custom Domain: www.codestove.io (defined in CNAME file)
- HTTPS Enforcement: Enabled
- Source Branch: main
- Build: Automatic via GitHub Actions
DNS Configuration
Domain registrar settings for codestove.io:
Apex Domain (A Records):
Type: A
Name: @ (or leave empty)
Values:
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
www Subdomain (CNAME):
Type: CNAME
Name: www
Value: ryoostar.github.io
URL Behavior:
- codestove.io → redirects to → https://www.codestove.io
- www.codestove.io → https://www.codestove.io
- All HTTP requests → redirects to → HTTPS
Custom Design Features
Active stylesheets (compiled via assets/css/main.scss):
_sass/_codestove.scss– the CodeStove design system (redesign started 2026-10-29): CSS tokens (--cs-*), glass masthead, typographic hero, section layout (--cs-maxreading width, centeredh1/mutedh2,.cs-section-intro),.cs-featurecards, image rows, contact cards,.cs-badge,.cs-legalpage, responsive + reduced-motion rules. Put new styles here._sass/_custom-styles.scss– the few older customizations still active (smooth scroll, gallery hover, section separator, itr hover). Everything else (highlight boxes, contact cards, IoT ad grid, the whole portfolio page) moved to_codestove.scss.assets/css/custom-styles.cssis an old, unused copy. Do not edit it.
Design Components (index page, top to bottom):
- Hero (
_includes/cs-hero.html): eyebrow pill, title with rolling gradient keyword (.cs-roll), lead, dark/ghost CTAs, proof strip (.cs-hero__proof– numbers count up viadata-count; keep them in sync with the portfolio stats), floating tags, blurred gradient blobs, dot grid, scroll indicator. - Clients marquee (
_includes/cs-clients.html, data in_data/clients.yml): full-bleed band under the hero; two identical.cs-marquee__tracklists (second isaria-hidden) scroll with a CSS keyframe, pause on hover, wrap statically under reduced motion. - Enterprise:
.cs-featurecards (AI / full-stack) +.cs-valuecards (성능 · 안정성 · 확장성). The oldfigure.thirdstock-image tiles were removed (files still inassets/images/software-*.webp). - AIoT: image rows (
.itr-container); the image containers carrydata-parallax="0.1".codestove.jswrites a--pycustom property on them and the stylesheet applies it to.itr-image, so the measured rect never includes the offset. Disabled under 768px and under reduced motion. - IoT Business:
.cs-notice(legal obligation callout), three.cs-strengthcards, the.cs-processstepper (five.cs-stepitems; one is.is-active, auto-advances every 3s while in view, pauses on hover, click/Enter/Space selects) and the.cs-iot-contactpill (phone + iot@codestove.io). This replaced the twoiot-advertise-*.pngimages; their text content was moved into the markup. - Portfolio preview (
#projects):.cs-carouselwith a scroll-snap.cs-carousel__trackof.cs-projectcards rendered from_data/featured_projects.yml(keep it in sync with_pages/portfolio.html), prev/next buttons, and a link to/portfolio/. - Contact: dark
.cs-contactblock (same look as the portfolio CTA) holding the three.contact-card.contact-card--glasscards.
Portfolio page (_pages/portfolio.html): compact typographic hero (.cs-page-hero, no stock photo), a live apps block (.cs-apps > .cs-app cards for 하하하 바이블 탐험, NWBW, 에코브리티 with App Store / Google Play / website .cs-store-btn links; icons in assets/images/apps/*.webp, 256px squares copied from each app repo), pill filter buttons, alternating timeline with white cards and black year pills, white stat cards whose numbers count up (.stat-number[data-count][data-suffix]), and a dark CTA block (.portfolio-cta, .cs-btn--light). Timeline cards may carry a .timeline-links row of store buttons (2026 app launches, 2023 에코브리티). The timeline/stat reveal uses the page’s own IntersectionObserver (.visible), not AOS; the count-up lives in codestove.js. All portfolio styles are in _codestove.scss.
Motion (assets/js/codestove.js, loaded after AOS in _includes/scripts.html):
AOS.init(once, 700ms, offset 60); hero keyword rolls every 3s;.masthead.is-scrolledis toggled after 12px of scroll (adds a shadow); any[data-count]element counts up when scrolled into view (data-suffix, optionaldata-count-delayin ms);[data-parallax]images drift on scroll;.cs-processauto-highlights steps;.cs-carouselbuttons scroll by one card.- No GSAP/Swiper: parallax, the stepper and the carousel are small vanilla implementations in
codestove.js, so the only third-party scripts are jQuery (bundled) and AOS (CDN). - Put
data-aoson elements INSIDE asection.site-section, never on the section itself (the theme positions sections withtranslateX(-50%); AOS would override that transform)._codestove.scssalso force-neutralizes anysection.site-section[data-aos]. body { overflow-x: hidden }is required becausefade-left/rightslide elements in from off-canvas.- All decorative motion is disabled under
prefers-reduced-motion.
Cache busting: main.css and codestove.js are linked with ?v=1794216555 (_includes/head.html, _includes/scripts.html), so every build gets a fresh URL. Without this the browser kept serving stale JS during local development.
Local dev without Docker: .claude/launch.json defines a jekyll config (bundle exec jekyll serve --livereload on port 4000). _config.yml changes still need a server restart.
Content notes:
/imprint(_pages/imprint.md) is a Korean site notice / privacy page, linked from the footer copyright line. It lists the CDNs the site loads from; update it if you add or remove third-party resources.- Portfolio “년간 운영” stat is computed from 2022 at build time (
site.time). - Footer social links come from
footer.linksin_config.yml; entries withouturlare skipped by_includes/footer.html.
Data files: _data/clients.yml (marquee), _data/featured_projects.yml (homepage carousel: title, year, category iot|web|platform|marketing, category_label, icon, client, summary).
Important Design Notes:
- Images use
.webpformat for optimal performance - Color palette:
--cs-blue #3b9cba,--cs-purple #6f42c1,--cs-orange #ff7a45, ink#14191f - All text content is in Korean
Troubleshooting
Images not loading:
- Ensure images are pushed to the repository
- Verify paths start with
/assets/images/ - Check file extensions (.webp, .png, etc.)
- Wait for GitHub Pages build to complete
HTTPS not working:
- Check CNAME file exists and contains correct domain
- Verify DNS settings point to GitHub Pages IPs
- In GitHub Settings → Pages, remove and re-add custom domain
- Wait up to 24 hours for SSL certificate provisioning
Changes not appearing:
- Make sure
mainwas pushed to the remote that points atryoostar/codestove.io(here:origin); feature branches are not deployed - Check GitHub Actions for build status
- Clear browser cache (Cmd+Shift+R on Mac, Ctrl+Shift+R on Windows)
- _config.yml changes require Docker restart:
docker compose restart
Important Notes
- This is a fork of the OneFlow theme, not a gem-based theme, so theme files are directly editable
- Site uses webp image format for performance
- Korean language content throughout
- Background images and overlays configured in both
_config.ymland page front matter - Masthead is sticky by default with 0.85 opacity
- HTML compression is enabled for production builds (disabled in development env)
- Docker is the recommended development environment (no local Ruby/Jekyll setup needed)
- Cookie consent banner is disabled (
show-popup: falsein _config.yml)