-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php
158 lines (156 loc) · 5.03 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?php
return [
'production' => false,
'siteName' => 'Youth Empowerment Platform',
'siteDescription' => 'Youth Empowerment Platform (YEP) is a youth-orientated non-governmental organization, located in Gostivar.',
'baseUrl' => '',
'menu' => [
[
'name' => 'Home',
'url' => '/',
],
[
'name' => 'About Us',
'url' => '/about/',
],
[
'name' => 'Projects',
'url' => '/projects/',
],
[
'name' => 'Contact',
'url' => '/contact/',
],
],
'values' => [
[
'title' => 'Mission',
'image' => '/assets/images/icons/mission.png',
'image_lg' => '/assets/images/icons/[email protected]',
'desc' => 'Encouraging youth empowerment and potential fulfillment through different activities',
],
[
'title' => 'Vision',
'image' => '/assets/images/icons/vision.png',
'image_lg' => '/assets/images/icons/[email protected]',
'desc' => 'Intellectually Empowered Youth',
],
[
'title' => 'Goals',
'image' => '/assets/images/icons/goal.png',
'image_lg' => '/assets/images/icons/[email protected]',
'desc' => 'Inspiring young people to take an active role in their futures, and teaching them that their voices are strong and vital to the decision-making process;',
],
],
'impact' => [
[
'number' => '50',
'title' => 'completed activities',
],
[
'number' => '600+',
'title' => 'students impacted',
],
[
'number' => '200',
'title' => 'youth engaged in 2018-19 alone',
],
[
'number' => '1st',
'title' => 'youth NGO in the region',
],
],
'sponsors' => [
[
'image' => '/assets/images/sponsors/komuna.jpg',
'image_lg' => '/assets/images/sponsors/[email protected]',
'alt' => 'Komuna e Gostivarit',
],
[
'image' => '/assets/images/sponsors/usembskopje.jpg',
'image_lg' => '/assets/images/sponsors/[email protected]',
'alt' => 'US Embassy Skopje',
],
[
'image' => '/assets/images/sponsors/peacecorps.jpg',
'image_lg' => '/assets/images/sponsors/[email protected]',
'alt' => 'Peace Corps',
],
[
'image' => '/assets/images/sponsors/usaid.jpg',
'image_lg' => '/assets/images/sponsors/[email protected]',
'alt' => 'USAID',
],
[
'image' => '/assets/images/sponsors/undp.jpg',
'image_lg' => '/assets/images/sponsors/[email protected]',
'alt' => 'UNDP',
],
],
'contact' => [
[
'icon' => '/assets/images/icons/location.png',
'icon_lg' => '/assets/images/icons/[email protected]',
'name' => 'Borce Jovanoski 32, <br> Gostivar 1230, <br> North Macedonia',
'href' => 'https://goo.gl/maps/sgGQGHWp8KQih8kP8'
],
[
'icon' => '/assets/images/icons/time.png',
'icon_lg' => '/assets/images/icons/[email protected]',
'name' => 'Monday - Saturday: <br> 10:00 - 18:00',
'href' => ''
],
[
'icon' => '/assets/images/icons/phone.png',
'icon_lg' => '/assets/images/icons/[email protected]',
'name' => '+389 70 692 549',
'href' => 'tel:+389 70 682 549'
],
[
'icon' => '/assets/images/icons/mail.png',
'icon_lg' => '/assets/images/icons/[email protected]',
'name' => '[email protected]',
'href' => 'mailto:[email protected]'
],
],
'social_media' => [
[
'name' => 'facebook',
'url' => 'https://www.facebook.com/YEPmk/',
],
[
'name' => 'instagram',
'url' => 'https://www.instagram.com/yep.mk/',
],
[
'name' => 'youtube',
'url' => 'https://www.youtube.com/channel/UCftepR6yOGtMu5ysdET73SA',
],
[
'name' => 'linkedin',
'url' => 'https://www.linkedin.com/company/yepmk/',
],
],
'getDescription' => function($page)
{
return strip_tags($page->getContent());
},
'isActive' => function ($page, $path) {
return ends_with(trimPath($page->getPath()), trimPath($path));
},
'getStartDate' => function ($page) {
return Datetime::createFromFormat('Y-m-d', $page->start_date)->format('F j, Y');
},
'getEndDate' => function ($page) {
if ($page->end_date == 'ongoing')
return $page->end_date;
else
return Datetime::createFromFormat('Y-m-d', $page->end_date)->format('F j, Y');
},
'collections' => [
'projects' => [
'path' => 'projects/{filename}',
'extends' => '_layouts.project',
],
],
];