CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

This is a Turkish law firm website (Akkuş Avukatlık) built with Eleventy (11ty) static site generator, based on the high-performance blog template from Google. The site is optimized for performance, accessibility, and SEO with extensive Tailwind CSS customization.

Development Commands

Primary Development

Individual Tasks

Testing

Content Management

Architecture & Key Patterns

Directory Structure

├── _11ty/           # Eleventy plugins and custom functionality
├── _data/           # Global data files (metadata.json, settings.js)
├── _includes/       # Nunjucks templates and layouts
├── _site/           # Generated static site (build output)
├── admin/           # Netlify CMS configuration
├── css/             # Compiled CSS output
├── img/             # Images (optimized with srcset generation)
├── js/              # JavaScript source files
├── pages/           # Markdown pages for legal service descriptions
├── posts/           # Blog posts (articles about legal topics)
├── services/        # Legal service category pages
├── taxonomy/        # Tag/category pages for organizing content
├── tailwindcss/     # Tailwind source files and SCSS components
└── test/            # Test files

Content Types

  1. Services (services/) - Legal practice areas (e.g., criminal law, family law)
  2. Pages (pages/) - General content pages and lawyer profiles
  3. Posts (posts/) - Blog articles about legal topics
  4. Taxonomy (taxonomy/) - Category and tag pages
  5. Reviews (reviews/) - Client testimonials

Performance Optimizations

Custom 11ty Plugins (_11ty/)

Styling System

Data Management

Turkish Language Features

SEO & Schema Markup

Development Notes

Testing

Custom Markdown Containers

The site uses custom markdown-it containers for rich content formatting:
Container NameUse CaseSyntax
summaryTocTable of contents - collapsible navigation for long legal documents::: summaryToc İçindekiler
kanunLegal provisions - displaying law articles, regulations, and statutes::: kanun 2547 Sayılı Yükseköğretim Kanunu
youtubeVideo embeds - legal education videos, case study explanations::: youtube dQw4w9WgXcQ
summaryFAQ sections - collapsed questions about legal procedures::: summary Dava açmak için süre sınırı var mı?
summaryOpenImportant FAQ - expanded questions that should be visible by default::: summaryOpen Uzman avukat desteği neden önemli?

Container Examples:

::: summaryToc İçindekiler
- Dava Süreci
- Gerekli Belgeler  
- Mahkeme Kararları
:::

::: kanun 2547 Sayılı Yükseköğretim Kanunu
Üniversitelerin akademik kadro ilanları...
:::

::: summary Dava açmak için süre sınırı var mı?
60 gün içinde dava açılmalıdır...
:::

::: summaryOpen Uzman avukat desteği neden önemli?
Akademik hukuk karmaşık bir alandır...
:::

All containers render as accessible <details>/<summary> HTML elements with appropriate CSS classes for styling.

Deployment