Skip to content

Commit ba8ffcb

Browse files
committed
update
1 parent 2804876 commit ba8ffcb

File tree

26 files changed

+420
-100
lines changed

26 files changed

+420
-100
lines changed

public/styles.css

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
/* Global Styles */
22
:root {
3-
--primary-color: #4a7c59;
4-
--primary-light: #8d9f87;
5-
--primary-dark: #2d503a;
6-
--secondary-color: #8bc34a;
7-
--accent-color: #c8e6c9;
8-
--background-color: #f5f9f5;
9-
--sidebar-bg: #2e4b3c;
3+
--primary-color: #76b900; /* NVIDIA Green */
4+
--primary-light: #a5d600;
5+
--primary-dark: #5d9e00;
6+
--secondary-color: #00b0ff;
7+
--accent-color: #e6f7d4;
8+
--background-color: #f9f9f9;
9+
--sidebar-bg: #0a0a0a;
1010
--card-bg: #ffffff;
1111
--text-primary: #2d3748;
1212
--text-secondary: #4a5568;
13-
--border-color: #c8e6c9;
14-
--hover-bg: #e8f5e9;
15-
--chip-rk3568: #66bb6a;
13+
--border-color: #e0e0e0;
14+
--hover-bg: #f1f8e9;
15+
--chip-rk3568: #76b900;
1616
--chip-rk1820: #ffb74d;
1717
}
1818

1919
* {
2020
box-sizing: border-box;
21+
outline: none;
2122
}
2223

2324
body {
@@ -46,13 +47,14 @@ body {
4647
font-weight: 500;
4748
position: relative;
4849
overflow: hidden;
50+
outline: none;
4951
}
5052

5153
.chip-folder::before {
5254
content: '>';
5355
margin-right: 10px;
5456
font-size: 1rem;
55-
color: var(--secondary-color);
57+
color: var(--primary-color);
5658
transition: transform 0.3s ease;
5759
}
5860

@@ -61,50 +63,52 @@ body {
6163
}
6264

6365
.chip-folder[data-chip="rk3568"] {
64-
background: linear-gradient(to right, rgba(102, 187, 106, 0.2), transparent);
65-
border-left: 3px solid var(--chip-rk3568);
66+
background: linear-gradient(to right, rgba(118, 185, 0, 0.15), transparent);
67+
border-left: none; /* Remove the green border */
6668
}
6769

6870
.chip-folder[data-chip="rk1820"] {
69-
background: linear-gradient(to right, rgba(255, 183, 77, 0.2), transparent);
70-
border-left: 3px solid var(--chip-rk1820);
71+
background: linear-gradient(to right, rgba(255, 183, 77, 0.15), transparent);
72+
border-left: none; /* Remove the orange border */
7173
}
7274

7375
.chip-folder:hover {
7476
transform: translateX(5px);
75-
background: linear-gradient(to right, rgba(102, 187, 106, 0.3), transparent) !important;
77+
background: linear-gradient(to right, rgba(118, 185, 0, 0.25), transparent) !important;
7678
}
7779

7880
.chip-folder[data-chip="rk3568"]:hover {
79-
background: linear-gradient(to right, rgba(102, 187, 106, 0.3), transparent);
81+
background: linear-gradient(to right, rgba(118, 185, 0, 0.25), transparent);
8082
}
8183

8284
.chip-folder[data-chip="rk1820"]:hover {
83-
background: linear-gradient(to right, rgba(255, 183, 77, 0.3), transparent);
85+
background: linear-gradient(to right, rgba(255, 183, 77, 0.25), transparent);
8486
}
8587

8688
.chip-submenu {
87-
background: rgba(46, 75, 60, 0.85);
89+
background: rgba(26, 26, 26, 0.9);
8890
padding: 0.6rem 0;
8991
border-radius: 6px;
9092
margin: 0.3rem 0.8rem 0.5rem 1.8rem;
9193
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
92-
border: 1px solid rgba(139, 195, 74, 0.2);
94+
border: none; /* Remove green border */
9395
}
9496

9597
.chip-submenu a {
9698
display: block;
97-
color: #a0d2b8;
99+
color: #a0d280;
98100
text-decoration: none;
99101
padding: 0.6rem 1.5rem;
100102
transition: all 0.3s ease;
101103
font-size: 0.9rem;
102104
margin: 0 0.5rem;
103105
border-radius: 4px;
106+
outline: none;
107+
border: none; /* Remove any potential border */
104108
}
105109

106110
.chip-submenu a:hover {
107-
background: rgba(102, 187, 106, 0.25);
111+
background: rgba(118, 185, 0, 0.25);
108112
color: white;
109113
transform: translateX(5px);
110114
}
@@ -125,7 +129,7 @@ body {
125129
box-shadow: 3px 0 15px rgba(0, 0, 0, 0.1);
126130
overflow-y: auto;
127131
transition: all 0.3s ease;
128-
background: linear-gradient(to bottom, #2e4b3c, #3d5d4d);
132+
background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
129133
}
130134

131135
.nav-menu {
@@ -142,7 +146,7 @@ body {
142146
.nav-link {
143147
display: flex;
144148
align-items: center;
145-
color: #cbd5e0;
149+
color: #e0e0e0;
146150
text-decoration: none;
147151
padding: 0.9rem 1.2rem;
148152
border-radius: 8px;
@@ -152,6 +156,7 @@ body {
152156
overflow: hidden;
153157
background: rgba(255, 255, 255, 0.05);
154158
margin: 0.2rem 0.8rem;
159+
outline: none;
155160
}
156161

157162
.nav-link::before {
@@ -161,7 +166,7 @@ body {
161166
left: -100%;
162167
width: 100%;
163168
height: 100%;
164-
background: linear-gradient(90deg, transparent, rgba(139, 195, 74, 0.2), transparent);
169+
background: linear-gradient(90deg, transparent, rgba(118, 185, 0, 0.2), transparent);
165170
transition: 0.5s;
166171
}
167172

@@ -170,16 +175,16 @@ body {
170175
}
171176

172177
.nav-link:hover {
173-
background: rgba(139, 195, 74, 0.15);
178+
background: rgba(118, 185, 0, 0.15);
174179
color: white;
175180
transform: translateX(5px);
176181
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
177182
}
178183

179184
.nav-link.active-page {
180-
background: rgba(74, 124, 89, 0.3);
185+
background: rgba(118, 185, 0, 0.2);
181186
color: white;
182-
border-left: 3px solid var(--primary-color);
187+
border-left: none; /* Remove green border */
183188
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
184189
}
185190

@@ -192,29 +197,31 @@ body {
192197

193198
/* Sub-menu for showing MD files */
194199
.sub-menu {
195-
background: rgba(46, 75, 60, 0.95);
200+
background: rgba(26, 26, 26, 0.95);
196201
padding: 0.8rem 0;
197202
border-radius: 8px;
198203
margin-top: 0.5rem;
199204
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
200205
position: relative;
201206
z-index: 10;
202-
border: 1px solid rgba(139, 195, 74, 0.2);
207+
border: none; /* Remove green border */
203208
}
204209

205210
.sub-menu a {
206211
display: block;
207-
color: #a0d2b8;
212+
color: #a0d280;
208213
text-decoration: none;
209214
padding: 0.6rem 1.5rem;
210215
transition: all 0.3s ease;
211216
font-size: 0.95rem;
212217
margin: 0 0.5rem;
213218
border-radius: 6px;
219+
outline: none;
220+
border: none; /* Remove any potential border */
214221
}
215222

216223
.sub-menu a:hover {
217-
background: rgba(102, 187, 106, 0.2);
224+
background: rgba(118, 185, 0, 0.2);
218225
color: white;
219226
transform: translateX(5px);
220227
}
@@ -232,7 +239,7 @@ body {
232239
padding: 2rem;
233240
overflow-y: auto;
234241
background: var(--card-bg);
235-
background: linear-gradient(to bottom right, #ffffff, #f8faf5);
242+
background: linear-gradient(to bottom right, #ffffff, #f8fff8);
236243
}
237244

238245
.page {
@@ -365,22 +372,22 @@ body {
365372

366373
#cv-content strong, #llm-content strong, #vlm-content strong, #ui-content strong {
367374
font-weight: 600;
368-
color: var(--text-primary);
375+
color: var(--primary-dark);
369376
background: linear-gradient(to right, transparent 50%, var(--accent-color) 50%);
370377
background-size: 4px 100%;
371378
padding: 0 2px;
372379
}
373380

374381
#cv-content em, #llm-content em, #vlm-content em, #ui-content em {
375382
font-style: italic;
376-
color: var(--text-secondary);
383+
color: var(--primary-dark);
377384
background-color: var(--accent-color);
378385
padding: 0 4px;
379386
border-radius: 3px;
380387
}
381388

382389
#cv-content code, #llm-content code, #vlm-content code, #ui-content code {
383-
background-color: #e8f5e9;
390+
background-color: #e6f7d4;
384391
padding: 0.3rem 0.5rem;
385392
border-radius: 6px;
386393
font-family: 'Fira Code', 'Consolas', monospace;
@@ -427,15 +434,15 @@ body {
427434
border-radius: 12px;
428435
padding: 1.8rem;
429436
margin: 1.5rem 0;
430-
box-shadow: 0 4px 12px rgba(74, 124, 89, 0.1);
437+
box-shadow: 0 4px 12px rgba(118, 185, 0, 0.1);
431438
border: 1px solid var(--border-color);
432439
transition: transform 0.3s ease, box-shadow 0.3s ease;
433440
border-left: 4px solid var(--primary-color);
434441
}
435442

436443
.content-section:hover {
437444
transform: translateY(-3px);
438-
box-shadow: 0 6px 16px rgba(74, 124, 89, 0.15);
445+
box-shadow: 0 6px 16px rgba(118, 185, 0, 0.15);
439446
}
440447

441448
/* Responsive adjustments */

src/content/help/demo1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Demo Page 1
2+
3+
This is a demo page for demonstration purposes.
4+
5+
## Section 1
6+
7+
This is the first section of the demo page.
8+
9+
## Section 2
10+
11+
This is the second section of the demo page.

src/content/help/demo2.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Demo Page 2
2+
3+
This is another demo page for demonstration purposes.
4+
5+
## Features
6+
7+
- Feature 1
8+
- Feature 2
9+
- Feature 3
10+
11+
## Usage
12+
13+
Instructions on how to use the features.

src/content/help/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Help Center
2+
3+
Welcome to the Rockchip AI Lab Help Center. Here you'll find resources and documentation for our processors.
4+
5+
## Getting Started
6+
7+
- [Quick Start Guide](quick-start.md)
8+
- [Hardware Specifications](specifications.md)
9+
- [Development Tools](tools.md)
10+
11+
## Tutorials
12+
13+
- [Setting up Development Environment](setup.md)
14+
- [Running AI Models](ai-models.md)
15+
- [Performance Optimization](optimization.md)
16+
17+
## Support
18+
19+
For additional support, please contact our team or check our FAQ section.

src/content/help/quick-start.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Quick Start Guide
2+
3+
This guide will help you get started with Rockchip processors.
4+
5+
## What You'll Need
6+
7+
- Rockchip development board
8+
- Power supply
9+
- USB cable
10+
- Computer with development tools installed
11+
12+
## First Steps
13+
14+
1. Connect your Rockchip board to your computer
15+
2. Install the necessary drivers
16+
3. Download the development tools
17+
4. Run your first example

src/content/rk1820.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
11
{
22
"cv": [
33
"index.md",
4-
"image-recognition.md",
5-
"object-detection.md",
6-
"scene-understanding.md"
4+
"demo1.md",
5+
"demo2.md"
76
],
87
"llm": [
98
"index.md",
10-
"model-optimization.md",
11-
"hardware-acceleration.md",
12-
"edge-deployment.md"
9+
"demo1.md",
10+
"demo2.md"
1311
],
1412
"vlm": [
1513
"index.md",
16-
"multimodal-understanding.md",
17-
"cross-modal-learning.md",
18-
"efficient-architectures.md"
14+
"demo1.md",
15+
"demo2.md"
1916
],
2017
"ui": [
2118
"index.md",
22-
"ai-enhanced-interfaces.md",
23-
"responsive-design.md",
24-
"performance-optimization.md"
19+
"demo1.md",
20+
"demo2.md"
2521
]
2622
}

src/content/rk1820/cv/demo1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Demo 1 for RK1820
2+
3+
This is the first demo page for RK1820 processor.
4+
5+
## Features
6+
7+
- RK1820 specific features
8+
- Performance characteristics
9+
- Development tools

src/content/rk1820/cv/demo2.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Demo 2 for RK1820
2+
3+
This is the second demo page for RK1820 processor.
4+
5+
## Specifications
6+
7+
- Technical specifications
8+
- Usage scenarios
9+
- Performance benchmarks

src/content/rk1820/llm/demo1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Demo 1 for RK1820 LLM
2+
3+
This is the first demo page for RK1820 LLM.
4+
5+
## Features
6+
7+
- RK1820 LLM specific features
8+
- Performance characteristics
9+
- Development tools

0 commit comments

Comments
 (0)