@agilant/toga-blox 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/Dockerfile +9 -0
  2. package/README.md +69 -0
  3. package/assets/Logo.png +0 -0
  4. package/assets/compass-card-image-2.png +0 -0
  5. package/assets/compass-card-image-3.png +0 -0
  6. package/assets/compass-card-image-4.png +0 -0
  7. package/assets/compass-card-image.png +0 -0
  8. package/assets/compass-logo.png +0 -0
  9. package/assets/compass-tech-hero-bg.png +0 -0
  10. package/assets/contact-image.png +0 -0
  11. package/assets/green-laptop.png +0 -0
  12. package/assets/heroImage.png +0 -0
  13. package/assets/placeholder-no-image-available.png +0 -0
  14. package/assets/team.png +0 -0
  15. package/declarations.d.ts +4 -0
  16. package/docker-compose.yml +22 -0
  17. package/global.css +4 -0
  18. package/index.js +4 -0
  19. package/nodemon.json +5 -0
  20. package/package.json +70 -0
  21. package/postcss.config.js +6 -0
  22. package/src/components/Badge/Badge.stories.tsx +284 -0
  23. package/src/components/Badge/Badge.test.tsx +185 -0
  24. package/src/components/Badge/Badge.tsx +137 -0
  25. package/src/components/Badge/Badge.types.tsx +28 -0
  26. package/src/components/Badge/badgeClassNames.tsx +152 -0
  27. package/src/components/Badge/index.ts +2 -0
  28. package/src/components/Card/Card.stories.tsx +91 -0
  29. package/src/components/Card/Card.test.tsx +53 -0
  30. package/src/components/Card/Card.tsx +30 -0
  31. package/src/components/Card/Card.types.ts +11 -0
  32. package/src/components/Card/DUMMYPRODUCTDATA.json +670 -0
  33. package/src/components/Card/cardClassNames.ts +49 -0
  34. package/src/components/Card/index.ts +3 -0
  35. package/src/components/Card/templates/CompassCardTemplate.tsx +58 -0
  36. package/src/components/Card/templates/HorizontalCardTemplate.tsx +184 -0
  37. package/src/components/Card/templates/VerticalCardTemplate.tsx +154 -0
  38. package/src/components/Footer/ContactInfoItem.tsx +20 -0
  39. package/src/components/Footer/DUMMYFOOTERDATA.json +132 -0
  40. package/src/components/Footer/Footer.stories.tsx +292 -0
  41. package/src/components/Footer/Footer.test.tsx +90 -0
  42. package/src/components/Footer/Footer.tsx +159 -0
  43. package/src/components/Footer/Footer.types.tsx +61 -0
  44. package/src/components/Footer/footerClassNames.tsx +57 -0
  45. package/src/components/FormButton/FormButton.stories.tsx +199 -0
  46. package/src/components/FormButton/FormButton.test.tsx +73 -0
  47. package/src/components/FormButton/FormButton.tsx +116 -0
  48. package/src/components/FormButton/FormButton.types.ts +32 -0
  49. package/src/components/FormButton/formButtonClassNames.tsx +153 -0
  50. package/src/components/FormButton/index.ts +2 -0
  51. package/src/components/GenericList/DUMMYLISTDATA.json +560 -0
  52. package/src/components/GenericList/GenericList.stories.tsx +104 -0
  53. package/src/components/GenericList/GenericList.test.tsx +29 -0
  54. package/src/components/GenericList/GenericList.tsx +146 -0
  55. package/src/components/GenericList/genericListClassNames.tsx +8 -0
  56. package/src/components/GenericList/templates/DummyDataList.tsx +23 -0
  57. package/src/components/GenericList/templates/DynamicIconList.tsx +74 -0
  58. package/src/components/HamburgerButton/HamburgerButton.tsx +68 -0
  59. package/src/components/HamburgerButton/HamburgerButton.types.tsx +6 -0
  60. package/src/components/HamburgerButton/index.ts +2 -0
  61. package/src/components/Header/DUMMYICONDATA.json +136 -0
  62. package/src/components/Header/Header.stories.tsx +521 -0
  63. package/src/components/Header/Header.test.tsx +323 -0
  64. package/src/components/Header/Header.tsx +289 -0
  65. package/src/components/Header/Header.types.ts +52 -0
  66. package/src/components/Header/headerClassNames.tsx +50 -0
  67. package/src/components/Header/headerContext.tsx +125 -0
  68. package/src/components/Header/index.ts +2 -0
  69. package/src/components/Hero/Hero.stories.tsx +69 -0
  70. package/src/components/Hero/Hero.test.tsx +109 -0
  71. package/src/components/Hero/Hero.tsx +58 -0
  72. package/src/components/Hero/Hero.types.ts +9 -0
  73. package/src/components/Hero/index.ts +2 -0
  74. package/src/components/Icon/Icon.stories.tsx +227 -0
  75. package/src/components/Icon/Icon.test.tsx +53 -0
  76. package/src/components/Icon/Icon.tsx +208 -0
  77. package/src/components/Icon/Icon.types.ts +24 -0
  78. package/src/components/Icon/iconClassNames.ts +79 -0
  79. package/src/components/Icon/index.ts +2 -0
  80. package/src/components/Image/Image.stories.tsx +79 -0
  81. package/src/components/Image/Image.test.tsx +87 -0
  82. package/src/components/Image/Image.tsx +49 -0
  83. package/src/components/Image/Image.types.ts +11 -0
  84. package/src/components/Image/index.ts +2 -0
  85. package/src/components/Input/Input.stories.tsx +651 -0
  86. package/src/components/Input/Input.test.tsx +90 -0
  87. package/src/components/Input/Input.tsx +226 -0
  88. package/src/components/Input/Input.types.ts +52 -0
  89. package/src/components/Input/InputMemoTypes.tsx +32 -0
  90. package/src/components/Input/index.ts +2 -0
  91. package/src/components/Input/inputClassNames.tsx +169 -0
  92. package/src/components/MobileMenu/MobileMenu.tsx +41 -0
  93. package/src/components/MobileMenu/MobileMenu.types.tsx +30 -0
  94. package/src/components/MobileMenu/index.ts +2 -0
  95. package/src/components/Nav/DUMMYNAVDATA.json +234 -0
  96. package/src/components/Nav/Nav.stories.tsx +181 -0
  97. package/src/components/Nav/Nav.test.tsx +89 -0
  98. package/src/components/Nav/Nav.tsx +242 -0
  99. package/src/components/Nav/Nav.types.tsx +35 -0
  100. package/src/components/Nav/index.ts +2 -0
  101. package/src/components/Nav/navClassNames.tsx +192 -0
  102. package/src/components/Page/TableDataDummy.tsx +216 -0
  103. package/src/components/Page/ViewPageTemplate.stories.tsx +546 -0
  104. package/src/components/Page/ViewPageTemplate.test.tsx +361 -0
  105. package/src/components/Page/ViewPageTemplate.tsx +10 -0
  106. package/src/components/Page/ViewPageTemplate.types.ts +6 -0
  107. package/src/components/Page/index.ts +2 -0
  108. package/src/components/PageSection/PageSection.stories.tsx +114 -0
  109. package/src/components/PageSection/PageSection.tsx +12 -0
  110. package/src/components/PageSection/PageSection.types.ts +6 -0
  111. package/src/components/PageSection/PageSections.test.tsx +88 -0
  112. package/src/components/PageSection/index.ts +2 -0
  113. package/src/components/Text/Text.stories.tsx +60 -0
  114. package/src/components/Text/Text.test.tsx +52 -0
  115. package/src/components/Text/Text.tsx +80 -0
  116. package/src/components/Text/Text.types.ts +12 -0
  117. package/src/components/Text/index.ts +2 -0
  118. package/src/components/Toaster/Toaster.stories.tsx +122 -0
  119. package/src/components/Toaster/Toaster.test.tsx +61 -0
  120. package/src/components/Toaster/Toaster.tsx +80 -0
  121. package/src/components/Toaster/Toaster.types.ts +12 -0
  122. package/src/components/Toaster/index.ts +2 -0
  123. package/src/hoc/index.ts +2 -0
  124. package/src/hoc/styling/withStoryBook.tsx +19 -0
  125. package/src/main.css +3 -0
  126. package/src/setupTests.ts +1 -0
  127. package/src/userHoc/index.ts +1 -0
  128. package/src/userHoc/withMemo.tsx +20 -0
  129. package/src/utils/assertTagName.tsx +7 -0
  130. package/src/utils/generateAccordionItem.tsx +102 -0
  131. package/src/utils/generateFooterContacts.tsx +75 -0
  132. package/src/utils/generateNavMenu.tsx +54 -0
  133. package/src/utils/generateSocialList.tsx +34 -0
  134. package/src/utils/getFontAwesomeIcon.tsx +25 -0
  135. package/src/utils/inputValidation.tsx +26 -0
  136. package/tailwind.config.js +32 -0
  137. package/tsconfig.json +25 -0
  138. package/vite.config.ts +33 -0
@@ -0,0 +1,521 @@
1
+ import { Meta, StoryFn } from "@storybook/react";
2
+ import Header from "./Header";
3
+ import Nav from "../Nav/Nav";
4
+ import Image from "../Image/Image";
5
+ import Badge from "../Badge/Badge";
6
+ import Text from "../Text/Text";
7
+ import Input from "../Input/Input";
8
+ import FormButton from "../FormButton/FormButton";
9
+ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
10
+ import { faSquarePhone } from "@fortawesome/free-solid-svg-icons";
11
+ import DUMMYICONDATA from "./DUMMYICONDATA.json";
12
+ import { DUMMYCOMPASSNAVDATA, DUMMYNAVDATA } from "../Nav/DUMMYNAVDATA.json";
13
+ import { HeaderTypes } from "./Header.types";
14
+ import { getFontAwesomeIcon } from "../../utils/getFontAwesomeIcon";
15
+ import DynamicIconList from "../GenericList/templates/DynamicIconList";
16
+ import GenericList from "../GenericList/GenericList";
17
+
18
+ export default {
19
+ title: "Headers/Header",
20
+ argTypes: {
21
+ iconsData: {
22
+ table: {
23
+ disable: true,
24
+ },
25
+ },
26
+ nav: {
27
+ table: {
28
+ disable: true,
29
+ },
30
+ },
31
+ input: {
32
+ table: {
33
+ disable: true,
34
+ },
35
+ },
36
+ logo: {
37
+ table: {
38
+ disable: true,
39
+ },
40
+ },
41
+ badge: {
42
+ table: {
43
+ disable: true,
44
+ },
45
+ },
46
+ icons: {
47
+ table: {
48
+ disable: true,
49
+ },
50
+ },
51
+ mobileCloseIcon: {
52
+ table: {
53
+ disable: true,
54
+ },
55
+ },
56
+ mobileOpenIcon: {
57
+ table: {
58
+ disable: true,
59
+ },
60
+ },
61
+ hasAnimatedHamburgerButton: {
62
+ control: "boolean",
63
+ description: "Whether the hamburger menu button is animated .",
64
+ },
65
+ logoBorderRadius: {
66
+ control: "boolean",
67
+ description: "Whether the logo has a border radius.",
68
+ },
69
+ logoHoverColor: {
70
+ control: "select",
71
+ options: ["red", "green", "blue", "none"],
72
+ description: "Whether the logo has a background color on hover.",
73
+ },
74
+ backgroundColor: {
75
+ control: "select",
76
+ options: ["red", "green", "gray", "none"],
77
+ description: "Whether the header has a background color.",
78
+ },
79
+ bottomBorderColor: {
80
+ control: "select",
81
+ options: ["green", "blue", "black", "none"],
82
+ description: "Whether the header has a background color.",
83
+ },
84
+ hasNavItems: {
85
+ control: "boolean",
86
+ description: "Whether the header has navigation items.",
87
+ },
88
+ hasSearchBar: {
89
+ control: "boolean",
90
+ description: "Whether the header has a search bar.",
91
+ },
92
+ mobileRight: {
93
+ control: "boolean",
94
+ description: "Whether the mobile menu is on the right.",
95
+ },
96
+ mobileLeft: {
97
+ control: "boolean",
98
+ description: "Whether the mobile menu is on the left.",
99
+ },
100
+ logoOrder: {
101
+ control: false,
102
+ description:
103
+ "This prop will change the order of the logo section. It is set internally and should not be modified.",
104
+ },
105
+ navOrder: {
106
+ control: false,
107
+ description:
108
+ "This prop will change the order of the navigation section. It is set internally and should not be modified.",
109
+ },
110
+ inputOrder: {
111
+ control: false,
112
+ description:
113
+ "This prop will change the order of the input section. It is set internally and should not be modified.",
114
+ },
115
+ badgeOrder: {
116
+ control: false,
117
+ description:
118
+ "This prop will change the order of the badge section. It is set internally and should not be modified.",
119
+ },
120
+ iconsOrder: {
121
+ control: false,
122
+ description:
123
+ "This prop will change the order of the icons section. It is set internally and should not be modified.",
124
+ },
125
+ },
126
+ tags: ["autodocs"],
127
+ } as Meta<HeaderTypes>;
128
+
129
+ const Template: StoryFn<HeaderTypes> = (args) => <Header {...args} />;
130
+
131
+ export const Default = Template.bind({});
132
+ Default.args = {
133
+ mobileMenuBackground: "gray",
134
+ hasAnimatedHamburgerButton: true,
135
+ logo: (
136
+ <Image
137
+ src="../../../assets/Logo.png"
138
+ alt="Generic Company Logo."
139
+ background={false}
140
+ additionalClasses=" w-40 p-2"
141
+ />
142
+ ),
143
+ icons: (
144
+ <GenericList
145
+ hasVirtualization={false}
146
+ listDirection="horizontal"
147
+ containerClasses=""
148
+ listType="unordered"
149
+ data={DUMMYICONDATA.DUMMYICONTOGADATA}
150
+ renderItem={(item) => <DynamicIconList item={item} />}
151
+ />
152
+ ),
153
+ badge: (
154
+ <Badge
155
+ type="href"
156
+ to="#"
157
+ hoverColor="blue"
158
+ borderColor="none"
159
+ tagStyle={false}
160
+ mobileIcon={<FontAwesomeIcon icon={faSquarePhone} />}
161
+ mobileIconLabel="Contact Us"
162
+ onClick={() => alert("Redirect to Contact Us page")}
163
+ image={
164
+ <Image
165
+ src="../../../assets/contact-image.png"
166
+ alt=""
167
+ background={false}
168
+ additionalClasses="flex justify-center w-8 h-8 max-md:hidden"
169
+ />
170
+ }
171
+ text={
172
+ <>
173
+ <Text
174
+ size="sm"
175
+ color="primary"
176
+ fontFamily="serif"
177
+ text="Contact Us"
178
+ tag="h2"
179
+ additionalClasses="pl-2 pb-0 font-bold"
180
+ />
181
+ <Text
182
+ size="xs"
183
+ color="primary"
184
+ fontFamily="serif"
185
+ text="1-800-800-8000"
186
+ tag="p"
187
+ additionalClasses="pl-2 pt-0"
188
+ />
189
+ </>
190
+ }
191
+ />
192
+ ),
193
+ nav: (
194
+ <Nav
195
+ navData={DUMMYNAVDATA}
196
+ navBackgroundColor={"#FFFFF"}
197
+ parentHoverBackground={"blue"}
198
+ parentHoverFontColor={"white"}
199
+ parentHoverUnderline={true}
200
+ parentHoverBorderColor={"none"}
201
+ parentShape={"cornered"}
202
+ parentBackground={"none"}
203
+ parentBorderColor={"none"}
204
+ submenuBackgroundColor={"blue"}
205
+ submenuHoverBackground={"white"}
206
+ submenuHoverBorderStyle={"bottom"}
207
+ submenuHoverBorderColor={"black"}
208
+ mobileBreakpoint={"extraLarge"}
209
+ accordionParentStyle={
210
+ "cornered p-2 w-full border-b-2 border-b-blue-700 text-black"
211
+ }
212
+ accordionExpandedStyle={"pl-2 py-3"}
213
+ />
214
+ ),
215
+ input: (
216
+ <Input
217
+ labelVisible={false}
218
+ label={undefined}
219
+ inputType={"text"}
220
+ inputName={"search"}
221
+ hasPlaceholder
222
+ placeholder={"Search"}
223
+ borderColor="gray"
224
+ hasButton
225
+ backgroundColor="white"
226
+ additionalClasses="bg-blue-500"
227
+ button={
228
+ <FormButton
229
+ icon={getFontAwesomeIcon("search")}
230
+ color="blue"
231
+ fontColor="white"
232
+ hoverBackground="black"
233
+ hoverFontColor="white"
234
+ additionalClasses="h-full w-8 justify-center"
235
+ shape="none"
236
+ />
237
+ }
238
+ inputWidth="w-full"
239
+ />
240
+ ),
241
+
242
+ logoBorderRadius: true,
243
+ logoHoverColor: "blue",
244
+ hasIcons: false,
245
+ hasSearchBar: true,
246
+ hasBadge: false,
247
+ hasNavItems: true,
248
+ hasMobileMenu: true,
249
+ backgroundColor: "gray",
250
+ mobileLeft: true,
251
+ mobileRight: false,
252
+ bottomBorderColor: "blue",
253
+ mobileOpenIcon: getFontAwesomeIcon("hamburger"),
254
+ mobileCloseIcon: getFontAwesomeIcon("x"),
255
+ hasMobileIcons: false,
256
+ hasMobileNavItems: true,
257
+ hasMobileBadge: true,
258
+ hasMobileSearchBar: true,
259
+ };
260
+
261
+ export const TogaSupply = Template.bind({});
262
+ TogaSupply.args = {
263
+ hasIcons: true,
264
+ logoBorderRadius: true,
265
+ logoHoverColor: "blue",
266
+ backgroundColor: "gray",
267
+ bottomBorderColor: "blue",
268
+ hasMobileMenu: false,
269
+ logo: (
270
+ <Image
271
+ src="../../../assets/Logo.png"
272
+ alt="Generic Company Logo."
273
+ background={false}
274
+ additionalClasses=" w-40 p-2"
275
+ />
276
+ ),
277
+ hasMobileIcons: false,
278
+ hasMobileNavItems: false,
279
+ hasMobileBadge: false,
280
+ hasMobileSearchBar: false,
281
+ hasAnimatedHamburgerButton: true,
282
+ };
283
+
284
+ export const Compass = Template.bind({});
285
+ Compass.args = {
286
+ icons: (
287
+ <GenericList
288
+ hasVirtualization={false}
289
+ listDirection="horizontal"
290
+ containerClasses=""
291
+ listType="unordered"
292
+ data={DUMMYICONDATA.DUMMYICONCOMPASSDATA}
293
+ renderItem={(item) => <DynamicIconList item={item} />}
294
+ />
295
+ ),
296
+ hasIcons: true,
297
+ hasSearchBar: true,
298
+ hasBadge: true,
299
+ hasNavItems: true,
300
+ hasMobileMenu: true,
301
+ hasAnimatedHamburgerButton: true,
302
+
303
+ logoBorderRadius: true,
304
+ logoHoverColor: "green",
305
+ backgroundColor: "gray",
306
+ bottomBorderColor: "green",
307
+
308
+ mobileOpenIcon: getFontAwesomeIcon("hamburger"),
309
+ mobileCloseIcon: getFontAwesomeIcon("x"),
310
+ mobileMenuBackground: "green",
311
+
312
+ hasMobileIcons: true,
313
+ hasMobileNavItems: true,
314
+ hasMobileBadge: false,
315
+ hasMobileSearchBar: true,
316
+
317
+ badge: (
318
+ <Badge
319
+ type="href"
320
+ to="#"
321
+ color="green"
322
+ hoverColor="green"
323
+ borderColor="none"
324
+ tagStyle={false}
325
+ mobileIcon={<FontAwesomeIcon icon={faSquarePhone} />}
326
+ mobileIconLabel="Contact Us"
327
+ onClick={() => alert("Redirect to Contact Us page")}
328
+ image={
329
+ <Image
330
+ src="../../../assets/contact-image.png"
331
+ alt=""
332
+ background={false}
333
+ additionalClasses="flex justify-center w-8 h-8 max-md:hidden"
334
+ />
335
+ }
336
+ text={
337
+ <>
338
+ <Text
339
+ size="sm"
340
+ color="primary"
341
+ fontFamily="serif"
342
+ text="Contact Us"
343
+ tag="h2"
344
+ additionalClasses="pl-2 pb-0 font-bold"
345
+ />
346
+ <Text
347
+ size="xs"
348
+ color="primary"
349
+ fontFamily="serif"
350
+ text="1-800-800-8000"
351
+ tag="p"
352
+ additionalClasses="pl-2 pt-0"
353
+ />
354
+ </>
355
+ }
356
+ />
357
+ ),
358
+ logo: (
359
+ <Image
360
+ src="../../../assets/compass-logo.png"
361
+ alt="Generic Company Logo."
362
+ background={false}
363
+ additionalClasses=" w-40 p-2"
364
+ />
365
+ ),
366
+ nav: (
367
+ <Nav
368
+ navData={DUMMYCOMPASSNAVDATA}
369
+ navBackgroundColor={"#FFFFF"}
370
+ parentHoverBackground={"none"}
371
+ parentHoverFontColor={"black"}
372
+ parentHoverUnderline={true}
373
+ parentHoverBorderColor={"none"}
374
+ parentShape={"cornered"}
375
+ parentBackground={"none"}
376
+ parentBorderColor={"none"}
377
+ submenuBackgroundColor={"white"}
378
+ submenuHoverBackground={"green"}
379
+ submenuHoverBorderStyle={"top-bottom"}
380
+ submenuHoverBorderColor={"green"}
381
+ includeSubmenuImages={true}
382
+ mobileBreakpoint={"extraLarge"}
383
+ accordionParentStyle={
384
+ "cornered p-2 w-full border-b-2 border-b-teal-700 text-black"
385
+ }
386
+ accordionExpandedStyle={"pl-2 py-3"}
387
+ />
388
+ ),
389
+ input: (
390
+ <Input
391
+ labelVisible={false}
392
+ label={undefined}
393
+ inputType={"text"}
394
+ inputName={"search"}
395
+ borderColor="gray"
396
+ hasPlaceholder
397
+ placeholder={"Search"}
398
+ hasButton
399
+ backgroundColor="white"
400
+ additionalClasses="bg-blue-500"
401
+ button={
402
+ <FormButton
403
+ icon={getFontAwesomeIcon("search")}
404
+ color="green"
405
+ hoverBackground="black"
406
+ hoverFontColor="white"
407
+ additionalClasses="h-full w-8 justify-center"
408
+ shape="none"
409
+ />
410
+ }
411
+ inputWidth="w-full"
412
+ />
413
+ ),
414
+ };
415
+
416
+ export const NoSearchOrBadge = Template.bind({});
417
+ NoSearchOrBadge.args = {
418
+ icons: (
419
+ <GenericList
420
+ hasVirtualization={false}
421
+ listDirection="horizontal"
422
+ containerClasses=""
423
+ listType="unordered"
424
+ data={DUMMYICONDATA.DUMMYICONCOMPASSDATA}
425
+ renderItem={(item) => <DynamicIconList item={item} />}
426
+ />
427
+ ),
428
+ hasIcons: true,
429
+ hasSearchBar: false,
430
+ hasBadge: false,
431
+ hasNavItems: true,
432
+ hasMobileMenu: true,
433
+ mobileRight: true,
434
+ mobileLeft: false,
435
+
436
+ logoBorderRadius: true,
437
+ logoHoverColor: "green",
438
+ backgroundColor: "gray",
439
+ bottomBorderColor: "green",
440
+
441
+ mobileMenuBackground: "green",
442
+ hasAnimatedHamburgerButton: true,
443
+
444
+ hasMobileIcons: true,
445
+ hasMobileNavItems: true,
446
+ hasMobileBadge: false,
447
+ hasMobileSearchBar: true,
448
+
449
+ badge: (
450
+ <Badge
451
+ type="href"
452
+ to="#"
453
+ color="green"
454
+ hoverColor="green"
455
+ borderColor="none"
456
+ tagStyle={false}
457
+ mobileIcon={<FontAwesomeIcon icon={faSquarePhone} />}
458
+ mobileIconLabel="Contact Us"
459
+ onClick={() => alert("Redirect to Contact Us page")}
460
+ image={
461
+ <Image
462
+ src="../../../assets/contact-image.png"
463
+ alt=""
464
+ background={false}
465
+ additionalClasses="flex justify-center w-8 h-8 max-md:hidden"
466
+ />
467
+ }
468
+ text={
469
+ <>
470
+ <Text
471
+ size="sm"
472
+ color="primary"
473
+ fontFamily="serif"
474
+ text="Contact Us"
475
+ tag="h2"
476
+ additionalClasses="pl-2 pb-0 font-bold"
477
+ />
478
+ <Text
479
+ size="xs"
480
+ color="primary"
481
+ fontFamily="serif"
482
+ text="1-800-800-8000"
483
+ tag="p"
484
+ additionalClasses="pl-2 pt-0"
485
+ />
486
+ </>
487
+ }
488
+ />
489
+ ),
490
+ logo: (
491
+ <Image
492
+ src="../../../assets/compass-logo.png"
493
+ alt="Generic Company Logo."
494
+ background={false}
495
+ additionalClasses=" w-40 p-2"
496
+ />
497
+ ),
498
+ nav: (
499
+ <Nav
500
+ navData={DUMMYNAVDATA}
501
+ navBackgroundColor={"#FFFFF"}
502
+ parentHoverBackground={"none"}
503
+ parentHoverFontColor={"black"}
504
+ parentHoverUnderline={true}
505
+ parentHoverBorderColor={"none"}
506
+ parentShape={"cornered"}
507
+ parentBackground={"none"}
508
+ parentBorderColor={"none"}
509
+ submenuBackgroundColor={"white"}
510
+ submenuHoverBackground={"green"}
511
+ submenuHoverBorderStyle={"top-bottom"}
512
+ submenuHoverBorderColor={"green"}
513
+ includeSubmenuImages={true}
514
+ mobileBreakpoint={"extraLarge"}
515
+ accordionParentStyle={
516
+ "cornered p-2 w-full border-b-2 border-b-teal-700 text-black"
517
+ }
518
+ accordionExpandedStyle={"pl-2 py-3"}
519
+ />
520
+ ),
521
+ };