Skip to content

Commit 39c80f2

Browse files
committed
chore: improve home page
1 parent 2204fab commit 39c80f2

2 files changed

Lines changed: 13 additions & 23 deletions

File tree

src/css/home/_features.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
padding: 40px;
1010
}
1111

12-
.features__item h3 {
13-
font-size: 1.4rem;
14-
}
15-
1612
.features__item p {
1713
margin: 0;
1814
}

src/modules/featureList.ts

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,29 @@ import type { FeatureItem } from '@site/src/types'
22

33
const featureList: FeatureItem[] = [
44
{
5-
title: 'Security',
6-
description:
7-
'Built with security-first design, Textwire prevents code injection and common vulnerabilities by default',
5+
title: '🚀 Performance',
6+
description: `Templates parsed at app startup, evaluated on page visit. Use Go's embed package to bundle templates in final binary`,
87
},
98
{
10-
title: 'Flexibility',
11-
description:
12-
'Textwire allows you to define custom functions, components, layouts, and custom error pages, giving you the flexibility to create complex templates with ease',
9+
title: '🔒 Security',
10+
description: `Built with security-first design, Textwire prevents code injection and common vulnerabilities by default`,
1311
},
1412
{
15-
title: 'Performance',
16-
description:
17-
'Textwire is fast and has a low memory footprint, making it load pages quickly. The parsing is done at application startup, so there is no overhead during runtime',
13+
title: '🎨 Template Customization',
14+
description: 'Define custom functions, components, layouts, and error pages with full control over template structure',
1815
},
1916
{
20-
title: 'Error Handling',
21-
description:
22-
'Textwire provides detailed error messages with line numbers and file names, making it easier to debug your templates',
17+
title: '🐛 Error Handling',
18+
description: `Detailed error messages with line numbers and file names for efficient template debugging`,
2319
},
2420
{
25-
title: 'Syntax Highlighting',
26-
description:
27-
'You get syntax highlighting and other features for Textwire using the Neovim plugin and VSCode extension',
21+
title: '🖋‍ Editor Integration',
22+
description: 'Neovim and VSCode extensions provide syntax highlighting and editor integration',
2823
},
2924
{
30-
title: 'Perfect Docs',
31-
description:
32-
'We have a comprehensive documentation that covers all the features and provides examples to help you get started',
33-
},
25+
title: '📚 Documentation',
26+
description: 'Comprehensive documentation with examples covering all features and getting started guides',
27+
}
3428
]
3529

3630
export default featureList

0 commit comments

Comments
 (0)