summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2026-02-08 19:32:46 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2026-02-08 19:32:46 +0100
commit5e380b79c507fcda27c2e39cc478565cbb069094 (patch)
tree23a62e78cc4af627eb5e80fe1ef5e92c041f41e8
parent2817c30729011021bd8d6e508484eae9242e9a80 (diff)
Add Claude Code setup and update privacy policy hosting
- Update privacy policy: replace Cloudflare Pages with statichost.eu - Add CLAUDE.md and AGENTS.md for Claude Code project configuration - Update .gitignore with Claude Code local files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
-rw-r--r--.gitignore6
-rw-r--r--AGENTS.md78
-rw-r--r--CLAUDE.md1
-rw-r--r--src/pages/polityka-prywatnosci.md7
4 files changed, 88 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 33741a8..03c6bc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,4 +21,8 @@ pnpm-debug.log*
pnpm-lock.yaml
-.astro \ No newline at end of file
+.astro
+
+# Claude Code
+.claude/settings.local.json
+SPRINT.md \ No newline at end of file
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..4316c8e
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,78 @@
+# AGENTS.md
+
+## Project Overview
+
+**gres-tech.com** — Official website for Gres-Tech, a professional tiling and glazing services company based in Rokitki, Poland. Static site built with Astro 5 and Tailwind CSS, hosted on statichost.eu.
+
+## Commands
+
+| Command | Description |
+|----------------------|--------------------------------------|
+| `npm run dev` | Start dev server (localhost:4321) |
+| `npm run build` | Build for production to `dist/` |
+| `npm run preview` | Preview production build |
+| `npm run check` | Run all checks (astro, eslint, prettier) |
+| `npm run check:astro`| Type-check Astro files |
+| `npm run check:eslint`| Lint with ESLint |
+| `npm run check:prettier`| Check formatting with Prettier |
+| `npm run fix` | Auto-fix eslint + prettier |
+| `npm run fix:eslint` | Auto-fix ESLint issues |
+| `npm run fix:prettier`| Auto-fix formatting |
+
+## Architecture
+
+```
+src/
+├── assets/ # Images, styles
+├── components/
+│ ├── blog/ # Blog-related components
+│ ├── common/ # Header, footer, shared components
+│ ├── ui/ # Base UI components
+│ ├── widgets/ # Page section widgets
+│ ├── CustomStyles.astro
+│ ├── Favicons.astro
+│ └── Logo.astro
+├── config.yaml # Site-wide configuration (metadata, i18n, etc.)
+├── content/ # Content collections
+├── layouts/
+│ ├── Layout.astro # Base layout
+│ ├── PageLayout.astro # Standard page layout
+│ ├── LandingLayout.astro # Landing page layout
+│ └── MarkdownLayout.astro # Markdown content layout
+├── navigation.ts # Navigation structure
+├── pages/
+│ ├── index.astro # Homepage
+│ ├── 404.astro # 404 page
+│ └── polityka-prywatnosci.md # Privacy policy (Polish)
+├── utils/ # Utility functions (frontmatter plugins, etc.)
+├── env.d.ts
+└── types.d.ts
+```
+
+**Key integrations** (astro.config.ts):
+- `@astrojs/tailwind` — Styling
+- `@astrojs/sitemap` — SEO sitemap generation
+- `@astrojs/mdx` — MDX support
+- `astro-icon` — Icon system (tabler + flat-color-icons)
+- `astro-compress` — HTML/CSS/JS compression
+- `vendor/integration` (astrowind) — Custom integration loading config.yaml
+
+**Path alias**: `~` resolves to `src/`
+
+## Conventions
+
+- **Language**: Website content is in Polish. Code/config in English.
+- **Styling**: Tailwind CSS utility classes. Custom styles in `CustomStyles.astro`.
+- **Pages**: Astro components (`.astro`) or Markdown (`.md`). Privacy policy uses Markdown with `MarkdownLayout.astro`.
+- **Config**: Site metadata, contact info, and i18n settings live in `src/config.yaml`.
+- **Output**: Static site (`output: 'static'`), built to `dist/`.
+- **Images**: Optimized via Astro's built-in image processing (sharp). No compression via astro-compress for images.
+
+## Commit Rules
+
+**IMPORTANT:** Before completing any task, you MUST run `/commit` to commit your changes.
+
+- Only commit files YOU modified in this session — never commit unrelated changes
+- Use atomic commits with descriptive messages
+- If there are no changes to commit, skip this step
+- Do not push unless explicitly asked
diff --git a/CLAUDE.md b/CLAUDE.md
new file mode 100644
index 0000000..43c994c
--- /dev/null
+++ b/CLAUDE.md
@@ -0,0 +1 @@
+@AGENTS.md
diff --git a/src/pages/polityka-prywatnosci.md b/src/pages/polityka-prywatnosci.md
index 3a5cb53..8361c20 100644
--- a/src/pages/polityka-prywatnosci.md
+++ b/src/pages/polityka-prywatnosci.md
@@ -17,10 +17,11 @@ Administratorem danych dla tej strony internetowej (**gres-tech.com**) jest wła
### Hosting
-Ta strona internetowa jest hostowana na **Cloudflare Pages**, bezpiecznej i zgodnej z RODO platformie. Podczas gdy Cloudflare może tymczasowo przetwarzać dane techniczne (takie jak adresy IP) w celu dostarczania i ochrony strony internetowej, domyślnie nie ma miejsca śledzenie ani profilowanie odwiedzających.
+Ta strona internetowa jest hostowana na **statichost.eu**, platformie hostingowej skoncentrowanej na prywatności, która nie przechowuje żadnych danych osobowych. Adresy IP są przetwarzane jedynie tymczasowo w celu dostarczenia stron internetowych do Twojej przeglądarki — jest to niezbędny wymóg techniczny do funkcjonowania każdej strony internetowej.
-Polityka prywatności Cloudflare jest dostępna tutaj:
-[https://www.cloudflare.com/privacypolicy/](https://www.cloudflare.com/privacypolicy/)
+statichost.eu nie używa plików cookie, nie przechowuje logów i przetwarza wszystkie dane w obrębie EOG/UE zgodnie z RODO.
+
+Pełne informacje: [https://www.statichost.eu/privacy/](https://www.statichost.eu/privacy/)
### Twoje Prawa Zgodnie z RODO