Skip to content

Commit 4704dbe

Browse files
"Added more templated mediocrity to Spindle. Because why not?"
1 parent 29c8cd8 commit 4704dbe

File tree

10 files changed

+632
-2
lines changed

10 files changed

+632
-2
lines changed

public_html/app/controller/common/home.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class Home extends Controller
1818

1919
public function index ()
2020
{
21-
$data['testing'] = 'This is the homepage';
21+
$data['header'] = $this->load->controller('common/header');
22+
$data['content_top'] = $this->load->controller('common/content_top');
2223

2324
$this->response->setOutput($this->load->view('common/home', $data));
2425
}
Lines changed: 91 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,91 @@
1-
Testing Home Page: {{ testing }}
1+
{{ header }}
2+
3+
<body>
4+
<!-- Header -->
5+
6+
{{ content_top }}
7+
8+
<!-- Hero Section -->
9+
<main>
10+
<section class="hero">
11+
<div class="content-container">
12+
<h1>OpenCart Without The Cart</h1>
13+
<p class="hero-tagline">
14+
A lightweight, modular CMS repurposed from OpenCart for content management. Websites, wikis, docs, admin
15+
interfaces — no ecommerce bloat.
16+
</p>
17+
<a href="#" class="cta-button">Clean. Familiar. Yours.</a>
18+
</div>
19+
</section>
20+
21+
<!-- Features Section -->
22+
<section class="features">
23+
<div class="container">
24+
<h2>Why Spindle?</h2>
25+
<div class="features-grid">
26+
<article class="feature-card">
27+
<div class="feature-icon">⚡</div>
28+
<h3>No Composer Required</h3>
29+
<p>Full access to the codebase without dependency hell. Optional Composer support when you need
30+
it.</p>
31+
</article>
32+
33+
<article class="feature-card">
34+
<div class="feature-icon">🏗️</div>
35+
<h3>Proven MVC Structure</h3>
36+
<p>OpenCart's battle-tested architecture and file layout, but entirely content-first. Familiar yet
37+
modern.</p>
38+
</article>
39+
40+
<article class="feature-card">
41+
<div class="feature-icon">🔧</div>
42+
<h3>Full Control</h3>
43+
<p>No black boxes or hidden magic. Perfect for developers and hobbyists who want complete
44+
customization.</p>
45+
</article>
46+
47+
<article class="feature-card">
48+
<div class="feature-icon">🌐</div>
49+
<h3>Dynamic Subdomains</h3>
50+
<p>Built-in subdomain mapping with folder-based routing. Multi-site and multi-tenant environments
51+
made simple.</p>
52+
</article>
53+
</div>
54+
</div>
55+
</section>
56+
57+
<!-- Philosophy Section -->
58+
<section class="philosophy">
59+
<div class="content-container">
60+
<h2>The Spindle Philosophy</h2>
61+
<div class="philosophy-content">
62+
<p>
63+
We took OpenCart's proven foundation and asked a simple question: <em>"What if we removed all the
64+
cart stuff?"</em>
65+
</p>
66+
<p>
67+
The result? A clean, familiar CMS that doesn't require you to learn Yet Another Framework™.
68+
No mysterious black boxes, no composer dependency nightmares, no bloated admin panels filled with
69+
payment gateways you'll never use.
70+
</p>
71+
<p>
72+
Plus, we added dynamic subdomain generation that OpenCart and most CMS platforms completely lack.
73+
Want <code>blog.yoursite.com</code> to serve different content? Just create a folder. No complex
74+
routing, no configuration files.
75+
</p>
76+
<p class="philosophy-highlight">
77+
Just pure content management. The way it should be.
78+
</p>
79+
</div>
80+
</div>
81+
</section>
82+
</main>
83+
84+
<!-- Footer -->
85+
<footer class="footer">
86+
<div class="container">
87+
<p>© 2025 Spindle CMS. Visit <a href="https://spindle.website" target="_blank" rel="noopener noreferrer">spindle.website</a>
88+
for more information.</p>
89+
</div>
90+
</footer>
91+
</body>

0 commit comments

Comments
 (0)