Skip to content

Commit 80ab6a7

Browse files
committed
refactor: separate about page content into static file
1 parent b56a9fb commit 80ab6a7

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
export const ContactSectionLinks = [
2+
{
3+
label: 'About.Github',
4+
href: 'https://github.com/processing/p5.js-web-editor'
5+
},
6+
{
7+
label: 'About.Instagram',
8+
href: 'https://www.instagram.com/p5xjs'
9+
},
10+
{
11+
label: 'About.Youtube',
12+
href: 'https://www.youtube.com/@ProcessingFoundation'
13+
},
14+
{ label: 'About.X', href: 'https://x.com/p5xjs' },
15+
{
16+
label: 'About.Discord',
17+
href: 'https://discord.gg/SHQ8dH25r9'
18+
},
19+
{
20+
label: 'About.Forum',
21+
href: 'https://forum.processing.org/'
22+
}
23+
];
24+
25+
export const AboutSectionInfo = [
26+
{
27+
header: 'About.NewP5',
28+
items: [
29+
{
30+
url: 'https://p5js.org/',
31+
title: 'About.Home',
32+
description: 'About.LinkDescriptions.Home'
33+
},
34+
{
35+
url: 'https://p5js.org/examples/',
36+
title: 'About.Examples',
37+
description: 'About.LinkDescriptions.Examples'
38+
},
39+
{
40+
url: '/code-of-conduct',
41+
title: 'About.CodeOfConduct',
42+
description: 'About.LinkDescriptions.CodeOfConduct'
43+
}
44+
]
45+
},
46+
{
47+
header: 'About.Resources',
48+
items: [
49+
{
50+
url: 'https://p5js.org/libraries/',
51+
title: 'About.Libraries',
52+
description: 'About.LinkDescriptions.Libraries'
53+
},
54+
{
55+
url: 'https://p5js.org/reference/',
56+
title: 'About.Reference',
57+
description: 'About.LinkDescriptions.Reference'
58+
}
59+
]
60+
},
61+
{
62+
header: 'About.GetInvolved',
63+
items: [
64+
{
65+
url: 'https://p5js.org/donate/',
66+
title: 'About.Donate',
67+
description: 'About.LinkDescriptions.Donate'
68+
},
69+
{
70+
url: 'https://github.com/processing/p5.js-web-editor',
71+
title: 'About.Contribute',
72+
description: 'About.LinkDescriptions.Contribute'
73+
},
74+
{
75+
url: 'https://github.com/processing/p5.js-web-editor/issues/new',
76+
title: 'About.Report',
77+
description: 'About.LinkDescriptions.Report'
78+
},
79+
{
80+
url: 'https://discourse.processing.org/',
81+
title: 'About.ForumCTA',
82+
description: 'About.LinkDescriptions.Forum'
83+
},
84+
{
85+
url: 'https://discord.com/invite/SHQ8dH25r9',
86+
title: 'About.DiscordCTA',
87+
description: 'About.LinkDescriptions.Discord'
88+
}
89+
]
90+
}
91+
];

0 commit comments

Comments
 (0)