@@ -12,55 +12,75 @@ import { whiteLabel } from "../../utils";
12
12
13
13
const { showBreakingNews } = whiteLabel ;
14
14
15
- const covidResources = [
16
- { name : "Food" , icon : "food" , categorySlug : "food-resources" } ,
15
+ export const coreCategories = [
17
16
{
17
+ algoliaCategoryName : "Covid-food" ,
18
+ name : "Food" ,
19
+ icon : "food" ,
20
+ categorySlug : "food-resources" ,
21
+ } ,
22
+ {
23
+ algoliaCategoryName : "Covid-health" ,
18
24
name : "Health and COVID-19" ,
19
25
icon : "hospital" ,
20
26
categorySlug : "medical-services-resources" ,
21
27
} ,
22
28
{
29
+ algoliaCategoryName : "Covid-hygiene" ,
23
30
name : "Showers, Hygiene and other Services" ,
24
31
icon : "shower" ,
25
32
categorySlug : "hygiene-resources" ,
26
33
} ,
27
- { name : "Shelters" , icon : "bed" , categorySlug : "shelter-resources" } ,
28
34
{
35
+ algoliaCategoryName : "Covid-shelter" ,
36
+ name : "Shelters" ,
37
+ icon : "bed" ,
38
+ categorySlug : "shelter-resources" ,
39
+ } ,
40
+ {
41
+ algoliaCategoryName : "Covid-longtermhousing" ,
29
42
name : "Long-term Housing" ,
30
43
icon : "longterm-housing" ,
31
44
categorySlug : "longterm-housing-resources" ,
32
45
} ,
33
46
{
47
+ algoliaCategoryName : "Covid-housing" ,
34
48
name : "Rental Assistance and Eviction Prevention" ,
35
49
icon : "housing-heart" ,
36
50
categorySlug : "rental-assistance-resources" ,
37
51
} ,
38
52
{
53
+ algoliaCategoryName : "Covid-finance" ,
39
54
name : "Financial Assistance" ,
40
55
icon : "wallet" ,
41
56
categorySlug : "financial-resources" ,
42
57
} ,
43
58
{
59
+ algoliaCategoryName : "Covid-jobs" ,
44
60
name : "Jobs" ,
45
61
icon : "employment" ,
46
62
categorySlug : "job-assistance-resources" ,
47
63
} ,
48
64
{
65
+ algoliaCategoryName : "Covid-internet" ,
49
66
name : "Internet, Devices & Technology Training" ,
50
67
icon : "devices" ,
51
68
categorySlug : "internet-access-resources" ,
52
69
} ,
53
70
{
71
+ algoliaCategoryName : "Covid-lgbtqa" ,
54
72
name : "LGBTQ+ Resources" ,
55
73
icon : "community" ,
56
74
categorySlug : "lgbtq-resources" ,
57
75
} ,
58
76
{
77
+ algoliaCategoryName : "Covid-domesticviolence" ,
59
78
name : "Resources for Domestic Violence Survivors" ,
60
79
icon : "warning" ,
61
80
categorySlug : "domestic-violence-resources" ,
62
81
} ,
63
82
{
83
+ algoliaCategoryName : "Covid-substanceuse" ,
64
84
name : "Substance Use Resources" ,
65
85
icon : "substance-use" ,
66
86
categorySlug : "substance-use-resources" ,
@@ -87,7 +107,7 @@ export const HomePage = () => {
87
107
< >
88
108
{ showBreakingNews && < NewsArticles /> }
89
109
< HomePageSection title = "Find essential services in San Francisco" >
90
- < ResourceList resources = { covidResources } />
110
+ < ResourceList resources = { coreCategories } />
91
111
</ HomePageSection >
92
112
< HomePageSection
93
113
title = "Browse Directory"
0 commit comments