1.4 KiB
1.4 KiB
catcrafts.net
This is the source code for catcrafts.net, a website built entirely in C++ using the Crafter.CppDOM library.
Features
- 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
Project Structure
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
Blog Implementation Details
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
Individual Blog Pages
Each blog post has its own URL:
/blog/0- First blog post/blog/1- Second blog post- And so on...
When visiting these URLs, users see the complete blog post content.
Building and Running
To build and run the project:
./run.sh
This will compile the project and serve it locally.
Contributing
This project is open-source and made available for viewing purposes only. No permission is granted to copy, modify, distribute, or create derivative works.