{"id":43480269,"url":"https://github.com/geops/alma-website","last_synced_at":"2026-02-03T08:15:32.107Z","repository":{"id":329399533,"uuid":"1098145139","full_name":"geops/alma-website","owner":"geops","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-26T12:00:10.000Z","size":7452,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T01:39:41.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://alma-website-geops.vercel.app","language":"Astro","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-17T10:08:51.000Z","updated_at":"2026-01-26T12:00:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/geops/alma-website","commit_stats":null,"previous_names":["geops/alma-website"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geops/alma-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Falma-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Falma-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Falma-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Falma-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geops","download_url":"https://codeload.github.com/geops/alma-website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geops%2Falma-website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29038110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T06:39:36.383Z","status":"ssl_error","status_checked_at":"2026-02-03T06:39:32.787Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-03T08:15:31.593Z","updated_at":"2026-02-03T08:15:32.102Z","avatar_url":"https://github.com/geops.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# alma Website\n\nOfficial website for **alma** – the modern, web-based solution for managing polluted sites (Kataster belasteter Standorte).\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- Node.js 20 or higher\n- pnpm\n\n### Installation\n\n```bash\npnpm install\n```\n\n### Development\n\n```bash\nnpm run dev\n```\n\nOpen [http://localhost:4321](http://localhost:4321) in your browser.\n\n### Build\n\n```bash\nnpm run build\n```\n\n## 🏗️ Project Structure\n\n```\n/\n├── public/          # Static assets (favicon, images, etc.)\n├── src/\n│   ├── components/  # Reusable Astro components\n│   │   ├── graphics/      # Vector graphics used in components\n│   │   ├── icons/         # Vector icons used in components\n│   │   ├── images/        # Raster images used in components\n│   │   └── Button.astro\n│   ├── fonts/       # Local font files (Satoshi)\n│   ├── pages/       # Page routes\n│   │   ├── [locale].astro # Localized version\n│   │   └── index.astro    # Default page (redirects to browser or default locale)\n│   ├── lib.ts       # Utility functions (i18n, etc.)\n│   ├── tailwind.css # Tailwind CSS configuration\n│   └── translations.json  # All translatable content\n└── package.json\n```\n\n## 🌍 Internationalization (i18n)\n\nThe website supports three languages: **German (de)**, **French (fr)**, and **Italian (it)**.\n\n### How Translation Works\n\nAll translatable content is stored in `src/translations.json` using a flat structure with dot notation:\n\n```json\n{\n  \"de\": {\n    \"navigation.about\": \"Über alma\",\n    \"header.heading\": \"Einfach. Sicher. Gemeinsam entwickelt.\"\n  }\n}\n```\n\n### Using Translations in Components\n\n```astro\n---\nimport { useTranslations } from \"../lib.ts\";\n\nconst t = useTranslations(Astro.currentLocale);\n---\n\n\u003ch1\u003e{t(\"header.heading\")}\u003c/h1\u003e\n```\n\n### Translation Key Convention\n\nKeys follow a hierarchical naming pattern:\n\n- `navigation.*` - Navigation items\n- `header.*` - Header section content\n- `about.*` - About section content\n- `feature.*` - Feature section content\n  - `feature.data.*` - Data management feature\n  - `feature.geodata.*` - Geodata feature\n  - `feature.workflow.*` - Workflow feature\n  - `feature.export.*` - Export feature\n\n## 📝 Content Management\n\n### For Content Managers\n\nAll website content can be edited in a single file: **`src/translations.json`**\n\n#### Editing Text Content\n\n1. Open `src/translations.json`\n2. Find the key you want to edit (e.g., `\"header.heading\"`)\n3. Update the text for each language (`de`, `fr`, `it`)\n4. Save the file\n\n#### HTML in Translations\n\nSome content includes HTML tags for formatting:\n\n```json\n\"header.description\": \"alma unterstützt Behörden bei \u003cstrong\u003eder Führung des Katasters\u003c/strong\u003e\"\n\"feature.data.list\": \"\u003cli\u003e\u003cstrong\u003eItem 1\u003c/strong\u003e\u003c/li\u003e\u003cli\u003eItem 2\u003c/li\u003e\"\n```\n\n- `\u003cstrong\u003e` - Bold text\n- `\u003cli\u003e` - List items\n- `\u003cbr /\u003e` - Line break\n\n### Adding New Content\n\n1. Add a new key in `src/translations.json` for all three languages\n2. Use the key in your Astro component with `t(\"your.new.key\")`\n\n## 🎨 Styling\n\nThe project uses **Tailwind CSS v4** with custom configuration:\n\n- Custom colors defined in `src/tailwind.css`\n- Satoshi font family (locally hosted)\n\n### Custom Theme\n\n```css\n@theme {\n  --color-gray-500: #d0d5dd;\n  /* Add more custom colors here */\n}\n```\n\n## 🛠️ Tech Stack\n\n- **Framework:** [Astro 5](https://astro.build/) - Static site generator\n- **Styling:** [Tailwind CSS v4](https://tailwindcss.com/) - Utility-first CSS\n- **Fonts:** Satoshi (locally hosted)\n- **Package Manager:** pnpm\n- **Formatting:** Prettier with Astro and Tailwind plugins\n\n## 🤝 Contributing\n\n### For Developers\n\n1. Create a new branch from `main`\n2. Make your changes\n3. Run `pnpm format` to format code\n4. Test locally with `pnpm dev`\n5. Create a pull request\n\n### Code Style\n\n- Use Prettier for formatting (run `pnpm format`)\n- Follow existing component patterns\n- Use TypeScript for type safety\n- Keep components small and reusable\n\n## 📄 License\n\n[Add license information here]\n\n## 🔗 Links\n\n- [alma Demo](https://demo.alma-os.ch/)\n- [Repository](https://github.com/geops/alma-website)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeops%2Falma-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeops%2Falma-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeops%2Falma-website/lists"}