The source for the catcrafts.net website
Find a file
2025-11-12 22:11:56 +01:00
implementations dark mode 2025-11-12 22:11:56 +01:00
interfaces SPA 2025-11-12 21:56:18 +01:00
styles dark mode 2025-11-12 22:11:56 +01:00
.gitignore inital commit 2025-11-12 20:58:07 +01:00
LICENSE inital commit 2025-11-12 20:58:07 +01:00
project.json SPA 2025-11-12 21:56:18 +01:00
README.md SPA 2025-11-12 21:56:18 +01:00
run.sh inital commit 2025-11-12 20:58:07 +01:00

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.