Skip to content

Commit cad8253

Browse files
committed
docs(homepage): add English feature cards and hero section
- Add feature cards for routing, middleware, templates, and hot reload - Add hero section with tagline and action buttons
1 parent eb8c8f7 commit cad8253

2 files changed

Lines changed: 66 additions & 1 deletion

File tree

docs/en/index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
layout: home
3+
4+
hero:
5+
name: "Deserve"
6+
text: "Web Framework"
7+
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
8+
image:
9+
src: /image.png
10+
alt: Deserve
11+
12+
actions:
13+
- theme: brand
14+
text: Get Started
15+
link: /en/getting-started/installation
16+
17+
- theme: alt
18+
text: View on GitHub
19+
link: https://github.com/NeaByteLab/Deserve
20+
21+
features:
22+
- icon:
23+
title: Lightning Fast
24+
details: Built for performance with Deno's native HTTP capabilities. Zero overhead, maximum speed.
25+
link: /en/core-concepts/philosophy
26+
27+
- icon: 📁
28+
title: File-Based Routing
29+
details: Your file structure becomes your API structure. Intuitive and maintainable.
30+
link: /en/core-concepts/file-based-routing
31+
32+
- icon: 🎯
33+
title: Zero Configuration
34+
details: Drop files in folders and get instant API endpoints. No complex setup required.
35+
link: /en/core-concepts/route-patterns
36+
37+
- icon: 🛡️
38+
title: Built-in Middleware
39+
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
40+
link: /en/middleware/global
41+
42+
- icon: 🖼️
43+
title: Template Engine
44+
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
45+
link: /en/rendering/
46+
47+
- icon: 🔄
48+
title: Hot Reload
49+
details: Routes and templates auto-reload on file changes. No server restart needed.
50+
link: /en/core-concepts/hot-reload

docs/index.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ layout: home
44
hero:
55
name: "Deserve"
66
text: "Web Framework"
7-
tagline: "Build HTTP server effortlessly with zero configuration for productivity."
7+
tagline: "Build HTTP servers effortlessly with zero configuration for maximum productivity."
88
image:
99
src: /image.png
1010
alt: Deserve
@@ -33,3 +33,18 @@ features:
3333
title: Zero Configuration
3434
details: Drop files in folders and get instant API endpoints. No complex setup required.
3535
link: /en/core-concepts/route-patterns
36+
37+
- icon: 🛡️
38+
title: Built-in Middleware
39+
details: CORS, sessions, body limits, security headers, and basic auth out of the box.
40+
link: /en/middleware/global
41+
42+
- icon: 🖼️
43+
title: Template Engine
44+
details: DVE template engine with conditionals, loops, includes, and streaming rendering.
45+
link: /en/rendering/
46+
47+
- icon: 🔄
48+
title: Hot Reload
49+
details: Routes and templates auto-reload on file changes. No server restart needed.
50+
link: /en/core-concepts/hot-reload

0 commit comments

Comments
 (0)