2025-11-12 21:24:23 +01:00
# catcrafts.net
2025-11-12 21:56:18 +01:00
This is the source code for catcrafts.net, a website built entirely in C++ using the Crafter.CppDOM library.
2025-11-12 21:24:23 +01:00
## Features
2025-11-12 21:56:18 +01:00
- **Responsive Design**: Works on all device sizes
- **Modern UI**: Clean and contemporary design with smooth animations
- **Blog System**:
- Blog posts displayed with previews on the main blog page
- Individual blog post pages with full content
- Navigation between posts
2025-11-12 21:24:23 +01:00
## Project Structure
```
2025-11-12 21:56:18 +01:00
project.json - Build configuration
interfaces/ - Interface definitions
implementations/ - Implementation files
styles/styles.css - Styling
run.sh - Run script
README.md - This file
LICENSE - License information
2025-11-12 21:24:23 +01:00
```
2025-11-12 21:56:18 +01:00
## Blog Implementation Details
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
### Blog Previews
On the main `/blog` page, each blog post is displayed with:
- Title and date
- Preview of the content (first 200 characters)
- "Read Full Post" button to view the complete article
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
### Individual Blog Pages
Each blog post has its own URL:
- `/blog/0` - First blog post
- `/blog/1` - Second blog post
- And so on...
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
When visiting these URLs, users see the complete blog post content.
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
## Building and Running
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
To build and run the project:
2025-11-12 21:24:23 +01:00
```bash
2025-11-12 21:56:18 +01:00
./run.sh
2025-11-12 21:24:23 +01:00
```
2025-11-12 21:56:18 +01:00
This will compile the project and serve it locally.
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
## Contributing
2025-11-12 21:24:23 +01:00
2025-11-12 21:56:18 +01:00
This project is open-source and made available for viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works.