-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.ts
108 lines (89 loc) · 2.97 KB
/
constants.ts
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
// Defaults
export const DEFAULT_SITE_NAME = "CRRU";
export const DEFAULT_SITE_ALTERNATE_NAME = "Cetacean Research & Rescue Unit";
export const DEFAULT_SITE_DOMAIN = "https://crru.org.uk";
export const DEFAULT_SITE_DESCRIPTION =
"The Cetacean Research & Rescue Unit (CRRU) is dedicated to the research, conservation and protection of cetaceans (whales, dolphins, and porpoises) in northeast Scotland.";
export const DEFAULT_SEO_OPTIONS = {
twitter: {
handle: "@CRRU",
site: "@CRRU",
cardType: "summary_large_image",
},
openGraph: {
type: "website",
locale: "en_GB",
url: DEFAULT_SITE_DOMAIN,
siteName: DEFAULT_SITE_NAME,
},
};
export const DEFAULT_SEO_IMAGE = [
{
url: "https://images.ctfassets.net/xe1w9sqtia79/6zrbOLcLyjChTaNt2DpO4S/761c5daf4bc9a577ceaeaf0c33a05072/Default_SEO_Image.jpg",
width: 1200,
height: 630,
},
];
// General
export const PAYPAL_BUSINESS_ID = "TDCEPPBXUZGMA";
export const AMAZON_REFERRAL_LINK =
"https://www.amazon.co.uk/exec/obidos/redirect-home?tag=cetaceresearr-21&site=amazon";
export const SOCIAL_MEDIA_ACCOUNTS = [
"https://instagram.com/crru.org.uk",
"https://facebook.com/crru.org.uk",
"https://bsky.app/profile/crru.org.uk",
"https://twitter.com/CRRU",
"https://youtube.com/@crruorguk",
"https://linkedin.com/company/cetacean-research-&-rescue-unit-crru-",
];
// Contentful
export const LOCALE = "en-GB";
export enum ContentTypes {
Homepage = "homepage",
PageContent = "page",
PageModule = "pageModule",
NewsArticle = "newsArticle",
SpeciesPage = "speciesPage",
ScientificPublication = "scientificPublication",
CatalogueBottlenoseDolphin = "catalogueBottlenoseDolphin",
CatalogueMinkeWhale = "catalogueMinkeWhale",
People = "people",
Sponsor = "sponsor",
UsefulLink = "usefulLink",
}
export enum ScientificPublicationCategories {
ResearchPaper = "Research Paper",
Report = "Report",
Conference = "Conference",
Thesis = "Thesis",
}
export enum UsefulLinksCategories {
WelfareGroups = "Animal Welfare / Marine Conservation Groups",
EnvironmentalJobs = "Environmental Jobs",
CetaceanOrganisations = "International Cetacean Organisations",
RescueGroups = "Marine Mammal Rescue Groups",
MarineSites = "Other Miscellaneous Marine Sites",
Photography = "Photography Links",
ConservationOrganisations = "Scottish Conservation Organisations",
ResearchOrganisations = "UK-based Research Organisations",
}
export enum EmbeddedContentEntries {
Gallery = "pageComponentGallery",
ImageRow = "pageComponentImageRow",
Highlight = "pageComponentHighlight",
Columns = "pageComponentColumns",
Video = "pageComponentVideo",
Module = "pageModule",
People = "people",
Sponsor = "sponsor",
}
export enum InlineContentEntries {
Page = ContentTypes.PageContent,
Species = ContentTypes.SpeciesPage,
News = ContentTypes.NewsArticle,
}
export enum Catalogues {
BottlenoseDolphin = "bottlenose-dolphin",
MinkeWhale = "minke-whale",
}
export const CATALOGUE_RESULTS_LIMIT = 30;