Skip to content

Commit 4c715e8

Browse files
committed
More Page implemented
1 parent 9143332 commit 4c715e8

File tree

10 files changed

+1040
-6
lines changed

10 files changed

+1040
-6
lines changed

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
build/
33
public/
4-
src/constants/posts/
4+
src/constants/posts/
5+
src/constants/more/

src/constants/Footer.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export const socialLinks = [
5151
];
5252

5353
export const resourceLinks = [
54-
{ to: '/culture-pedagogy', text: 'Culture and pedagogy' },
55-
{ to: '/students', text: 'For Students' },
56-
{ to: '/school-administrators', text: 'For School Administrators' },
57-
{ to: '/parents', text: 'For Parents' },
54+
{ to: '/more/culture', text: 'Culture and pedagogy' },
55+
{ to: '/more/students', text: 'For Students' },
56+
{ to: '/more/school-admin', text: 'For School Administrators' },
57+
{ to: '/more/parents', text: 'For Parents' },
5858
{ to: '/join-development', text: 'For Developers' },
5959
{ to: '/news/sugar-stories', text: 'Sugar Stories' },
6060
{ to: '/music-blocks', text: 'Music Blocks' },
@@ -81,7 +81,6 @@ export const developmentLinks = [
8181
href: 'https://wiki.sugarlabs.org/go/Welcome_to_the_Sugar_Labs_wiki',
8282
text: 'Sugar Labs Wiki',
8383
},
84-
{ to: '/contributor-profiles', text: 'Contributor Profiles' },
8584
];
8685

8786
export const quickLinks = [

src/constants/more/culture.md

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
---
2+
title: Culture and Pedagogy
3+
slug: culture
4+
author: Sugar Labs Team
5+
lastUpdated: 2025-03-07
6+
category: Education
7+
---
8+
9+
<!-- markdownlint-disable -->
10+
11+
# The Ultimate Markdown Test Document (NOTE: THIS IS AI GENERATED)
12+
13+
This document demonstrates all the features of our custom Markdown renderer. The first paragraph has special styling with a drop cap first letter. Let's explore everything this renderer can do!
14+
15+
## Basic Formatting
16+
17+
This text is **bold** and this is _italic_. You can also have ~~strikethrough text~~ and ==highlighted text== for emphasis.
18+
19+
You can add super^script^ and sub~script~ text when needed.
20+
21+
## Links and Code
22+
23+
Visit [our website](https://example.com) for more information.
24+
25+
Here's some `inline code` within a paragraph.
26+
27+
## Lists
28+
29+
### Unordered Lists
30+
31+
- First item
32+
- Second item
33+
34+
### Ordered Lists
35+
36+
1. First ordered item
37+
2. Second ordered item
38+
39+
### Task Lists
40+
41+
- [ ] Uncompleted task
42+
- [x] Completed task
43+
- [ ] Another pending task
44+
45+
## Tables
46+
47+
| Feature | Support | Notes |
48+
| ----------- | ------- | ------------------------- |
49+
| Headers || With anchor links |
50+
| Bold/Italic || Basic formatting |
51+
| Code blocks || With language support |
52+
| Tables || This one! |
53+
| Lists || Ordered, unordered, tasks |
54+
55+
## Blockquotes with Proper Nesting
56+
57+
> This is a simple blockquote
58+
>
59+
> With multiple paragraphs
60+
61+
>> This is a second-level blockquote
62+
>> Which continues on a second line
63+
64+
>>> And this is a third-level blockquote
65+
>>> With another line
66+
67+
> This is a multi-line blockquote
68+
> that continues on the next line
69+
>
70+
> And even has an empty line in between
71+
72+
## Images with Captions
73+
74+
![A beautiful landscape](https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=600 'Beautiful mountain landscape')
75+
76+
## Horizontal Rules
77+
78+
Above this text is regular content.
79+
80+
---
81+
82+
Below this is separated by a horizontal rule.
83+
84+
## Special Features
85+
86+
### Collapsible Sections
87+
88+
:::details Click to see hidden content
89+
This content is hidden by default until the user clicks on the summary.
90+
91+
- You can include lists
92+
- And other formatting inside
93+
![A beautiful landscape](https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=600)
94+
:::
95+
96+
### YouTube Embed
97+
98+
[youtube: MM-H69cHYMk]
99+
100+
### Emoji Support
101+
102+
:smile: I'm happy to see this working!
103+
:rocket: Let's launch this feature!
104+
:warning: Be careful with this syntax.
105+
:thumbsup: Looks good to me!
106+
:heart: Love this feature!
107+
:fire: This is awesome!
108+
:star: Five-star quality!
109+
:info: Here's some information.
110+
:check: This is correct.
111+
:x: This is wrong.
112+
113+
## Combined Examples
114+
115+
> This blockquote contains **bold text**.
116+
> It also has a [link](https://example.com).
117+
118+
- List item with **bold** and _italic_ text
119+
- Item with a [link](https://example.com) and `inline code`
120+
- Item with ==highlighted text== that stands out
121+
122+
## Advanced Typography Test
123+
124+
H~2~O is water and 5^th^ is an ordinal number.
125+
126+
This paragraph has ~~strikethrough text~~ to show deleted content and ==highlighted text== to show important information.
127+
128+
## Paragraphs with Line Breaks
129+
130+
This is a paragraph with
131+
line breaks that should be
132+
preserved as spaces within
133+
the paragraph.
134+
135+
This is another paragraph
136+
after a blank line.
137+
138+
---
139+
140+
Thanks for reviewing this Markdown test document! :heart:
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
---
2+
title: 'Markdown Test Page'
3+
slug: 'markdown-test'
4+
category: 'MarkdownaData'
5+
---
6+
7+
<!-- markdownlint-disable -->
8+
9+
# The Ultimate Markdown Test Document (NOTE: THIS IS AI GENERATED)
10+
11+
This document demonstrates all the features of our custom Markdown renderer. The first paragraph has special styling with a drop cap first letter. Let's explore everything this renderer can do!
12+
13+
## Basic Formatting
14+
15+
This text is **bold** and this is _italic_. You can also have ~~strikethrough text~~ and ==highlighted text== for emphasis.
16+
17+
You can add super^script^ and sub~script~ text when needed.
18+
19+
## Links and Code
20+
21+
Visit [our website](https://example.com) for more information.
22+
23+
Here's some `inline code` within a paragraph.
24+
25+
## Lists
26+
27+
### Unordered Lists
28+
29+
- First item
30+
- Second item
31+
32+
### Ordered Lists
33+
34+
1. First ordered item
35+
2. Second ordered item
36+
37+
### Task Lists
38+
39+
- [ ] Uncompleted task
40+
- [x] Completed task
41+
- [ ] Another pending task
42+
43+
## Tables
44+
45+
| Feature | Support | Notes |
46+
| ----------- | ------- | ------------------------- |
47+
| Headers || With anchor links |
48+
| Bold/Italic || Basic formatting |
49+
| Code blocks || With language support |
50+
| Tables || This one! |
51+
| Lists || Ordered, unordered, tasks |
52+
53+
## Blockquotes with Proper Nesting
54+
55+
> This is a simple blockquote
56+
>
57+
> With multiple paragraphs
58+
59+
>> This is a second-level blockquote
60+
>> Which continues on a second line
61+
62+
>>> And this is a third-level blockquote
63+
>>> With another line
64+
65+
> This is a multi-line blockquote
66+
> that continues on the next line
67+
>
68+
> And even has an empty line in between
69+
70+
## Images with Captions
71+
72+
![A beautiful landscape](https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=600 'Beautiful mountain landscape')
73+
74+
## Horizontal Rules
75+
76+
Above this text is regular content.
77+
78+
---
79+
80+
Below this is separated by a horizontal rule.
81+
82+
## Special Features
83+
84+
### Collapsible Sections
85+
86+
:::details Click to see hidden content
87+
This content is hidden by default until the user clicks on the summary.
88+
89+
- You can include lists
90+
- And other formatting inside
91+
![A beautiful landscape](https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=600)
92+
:::
93+
94+
### YouTube Embed
95+
96+
[youtube: MM-H69cHYMk]
97+
98+
### Emoji Support
99+
100+
:smile: I'm happy to see this working!
101+
:rocket: Let's launch this feature!
102+
:warning: Be careful with this syntax.
103+
:thumbsup: Looks good to me!
104+
:heart: Love this feature!
105+
:fire: This is awesome!
106+
:star: Five-star quality!
107+
:info: Here's some information.
108+
:check: This is correct.
109+
:x: This is wrong.
110+
111+
## Combined Examples
112+
113+
> This blockquote contains **bold text**.
114+
> It also has a [link](https://example.com).
115+
116+
- List item with **bold** and _italic_ text
117+
- Item with a [link](https://example.com) and `inline code`
118+
- Item with ==highlighted text== that stands out
119+
120+
## Advanced Typography Test
121+
122+
H~2~O is water and 5^th^ is an ordinal number.
123+
124+
This paragraph has ~~strikethrough text~~ to show deleted content and ==highlighted text== to show important information.
125+
126+
## Paragraphs with Line Breaks
127+
128+
This is a paragraph with
129+
line breaks that should be
130+
preserved as spaces within
131+
the paragraph.
132+
133+
This is another paragraph
134+
after a blank line.
135+
136+
---
137+
138+
Thanks for reviewing this Markdown test document! :heart:

0 commit comments

Comments
 (0)