Skip to content

Commit 607d9ca

Browse files
committed
client/modules/About/statics/aboutData: define types
1 parent 2db568d commit 607d9ca

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

client/modules/About/statics/aboutData.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
export const ContactSectionLinks = [
1+
export interface ContactSectionLink {
2+
label: string;
3+
href: string;
4+
}
5+
export const ContactSectionLinks: ContactSectionLink[] = [
26
{
37
label: 'About.Github',
48
href: 'https://github.com/processing/p5.js-web-editor'
@@ -22,6 +26,15 @@ export const ContactSectionLinks = [
2226
}
2327
];
2428

29+
export interface AboutSectionInfoItem {
30+
url: string;
31+
title: string;
32+
description: string;
33+
}
34+
export interface AboutSectionInfoSections {
35+
header: string;
36+
items: AboutSectionInfoItem[];
37+
}
2538
export const AboutSectionInfo = [
2639
{
2740
header: 'About.NewP5',

0 commit comments

Comments
 (0)