|
1 | 1 | // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html |
2 | 2 |
|
3 | 3 | exports[`ColorSection > should render with required props 1`] = ` |
4 | | -<Content |
5 | | - columns={ |
6 | | - [ |
7 | | - <Swatch |
8 | | - colorName="primary" |
9 | | - hexCode="#3ed6f0" |
10 | | - />, |
11 | | - <Swatch |
12 | | - colorName="secondary" |
13 | | - hexCode="#252e3e" |
14 | | - />, |
15 | | - <Swatch |
16 | | - colorName="gray" |
17 | | - hexCode="#e2e2e2" |
18 | | - />, |
19 | | - <Swatch |
20 | | - colorName="white" |
21 | | - hexCode="#f7f7f7" |
22 | | - />, |
23 | | - <Swatch |
24 | | - colorName="burnt orange" |
25 | | - hexCode="#b25134" |
26 | | - />, |
27 | | - ] |
28 | | - } |
29 | | - hasTitleUnderline={true} |
30 | | - theme="white" |
31 | | - title="Colors" |
32 | | -/> |
| 4 | +<div> |
| 5 | + <div |
| 6 | + class="bg-center bg-no-repeat bg-cover flex items-center justify-between w-full px-4 md:px-0 fill-current min-h-[250px] bg-white text-secondary" |
| 7 | + > |
| 8 | + <div |
| 9 | + class="flex flex-col items-center justify-center mx-auto w-full my-[3.5rem] max-w-[1400px] sm:w-[85%]" |
| 10 | + > |
| 11 | + <div |
| 12 | + class="flex justify-center relative" |
| 13 | + > |
| 14 | + <h3 |
| 15 | + class="group flex uppercase text-center my-4 mx-0 border-b-4 border-b-primary" |
| 16 | + id="colors-link" |
| 17 | + > |
| 18 | + <div |
| 19 | + class="relative h-full" |
| 20 | + data-testid="Heading Content colors-link" |
| 21 | + > |
| 22 | + <a |
| 23 | + class="sm:visible absolute top-0 -left-8 opacity-0 h-full flex items-center justify-center group-hover:opacity-100 focus-visible:opacity-100 transition-opacity w-0 focus-visible:w-5 group-hover:w-5" |
| 24 | + data-testid="Hash Link" |
| 25 | + href="#colors-link" |
| 26 | + > |
| 27 | + <span |
| 28 | + class="sr-only" |
| 29 | + data-testid="SCREEN_READER_ONLY" |
| 30 | + > |
| 31 | + Scroll to |
| 32 | + Colors |
| 33 | + </span> |
| 34 | + <svg |
| 35 | + class="w-full h-5" |
| 36 | + viewBox="0 0 512 512" |
| 37 | + > |
| 38 | + <symbol |
| 39 | + id="_d456e9ce" |
| 40 | + viewBox="0 0 512 512" |
| 41 | + xmlns="http://www.w3.org/2000/svg" |
| 42 | + > |
| 43 | + <title> |
| 44 | + Link Icon |
| 45 | + </title> |
| 46 | + <path |
| 47 | + d="M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z" |
| 48 | + /> |
| 49 | + </symbol> |
| 50 | + <use |
| 51 | + href="#_d456e9ce" |
| 52 | + /> |
| 53 | + </svg> |
| 54 | + </a> |
| 55 | + </div> |
| 56 | + Colors |
| 57 | + </h3> |
| 58 | + </div> |
| 59 | + <div |
| 60 | + class="flex justify-center items-center flex-wrap w-full *:m-4" |
| 61 | + > |
| 62 | + <figure |
| 63 | + class="border border-solid border-theme-gray-800 p-4 m-6 w-56" |
| 64 | + > |
| 65 | + <span |
| 66 | + class="sr-only" |
| 67 | + data-testid="SCREEN_READER_ONLY" |
| 68 | + > |
| 69 | + A block of the color primary |
| 70 | + </span> |
| 71 | + <div |
| 72 | + class="h-56 mb-4 border border-solid border-theme-gray-800" |
| 73 | + style="background-color: rgb(62, 214, 240);" |
| 74 | + /> |
| 75 | + <figcaption> |
| 76 | + <h6> |
| 77 | + PRIMARY |
| 78 | + </h6> |
| 79 | + #3ED6F0 |
| 80 | + </figcaption> |
| 81 | + </figure> |
| 82 | + <figure |
| 83 | + class="border border-solid border-theme-gray-800 p-4 m-6 w-56" |
| 84 | + > |
| 85 | + <span |
| 86 | + class="sr-only" |
| 87 | + data-testid="SCREEN_READER_ONLY" |
| 88 | + > |
| 89 | + A block of the color secondary |
| 90 | + </span> |
| 91 | + <div |
| 92 | + class="h-56 mb-4 border border-solid border-theme-gray-800" |
| 93 | + style="background-color: rgb(37, 46, 62);" |
| 94 | + /> |
| 95 | + <figcaption> |
| 96 | + <h6> |
| 97 | + SECONDARY |
| 98 | + </h6> |
| 99 | + #252E3E |
| 100 | + </figcaption> |
| 101 | + </figure> |
| 102 | + <figure |
| 103 | + class="border border-solid border-theme-gray-800 p-4 m-6 w-56" |
| 104 | + > |
| 105 | + <span |
| 106 | + class="sr-only" |
| 107 | + data-testid="SCREEN_READER_ONLY" |
| 108 | + > |
| 109 | + A block of the color gray |
| 110 | + </span> |
| 111 | + <div |
| 112 | + class="h-56 mb-4 border border-solid border-theme-gray-800" |
| 113 | + style="background-color: rgb(226, 226, 226);" |
| 114 | + /> |
| 115 | + <figcaption> |
| 116 | + <h6> |
| 117 | + GRAY |
| 118 | + </h6> |
| 119 | + #E2E2E2 |
| 120 | + </figcaption> |
| 121 | + </figure> |
| 122 | + <figure |
| 123 | + class="border border-solid border-theme-gray-800 p-4 m-6 w-56" |
| 124 | + > |
| 125 | + <span |
| 126 | + class="sr-only" |
| 127 | + data-testid="SCREEN_READER_ONLY" |
| 128 | + > |
| 129 | + A block of the color white |
| 130 | + </span> |
| 131 | + <div |
| 132 | + class="h-56 mb-4 border border-solid border-theme-gray-800" |
| 133 | + style="background-color: rgb(247, 247, 247);" |
| 134 | + /> |
| 135 | + <figcaption> |
| 136 | + <h6> |
| 137 | + WHITE |
| 138 | + </h6> |
| 139 | + #F7F7F7 |
| 140 | + </figcaption> |
| 141 | + </figure> |
| 142 | + <figure |
| 143 | + class="border border-solid border-theme-gray-800 p-4 m-6 w-56" |
| 144 | + > |
| 145 | + <span |
| 146 | + class="sr-only" |
| 147 | + data-testid="SCREEN_READER_ONLY" |
| 148 | + > |
| 149 | + A block of the color burnt orange |
| 150 | + </span> |
| 151 | + <div |
| 152 | + class="h-56 mb-4 border border-solid border-theme-gray-800" |
| 153 | + style="background-color: rgb(178, 81, 52);" |
| 154 | + /> |
| 155 | + <figcaption> |
| 156 | + <h6> |
| 157 | + BURNT ORANGE |
| 158 | + </h6> |
| 159 | + #B25134 |
| 160 | + </figcaption> |
| 161 | + </figure> |
| 162 | + </div> |
| 163 | + </div> |
| 164 | + </div> |
| 165 | +</div> |
33 | 166 | `; |
0 commit comments