Skip to content

Commit 9d2fb43

Browse files
authored
Merge pull request #5 from data-preservation-programs/cleanup-unused-directories
feat: code cleanup
2 parents 6b33e04 + 4c84033 commit 9d2fb43

15 files changed

+63
-301
lines changed

components/accordion/accordion-content.vue

-69
This file was deleted.

components/accordion/accordion-header.vue

-42
This file was deleted.

components/accordion/accordion-section.vue

-62
This file was deleted.

components/accordion/accordion.vue

-77
This file was deleted.

components/blocks/accordion-block.vue

+6-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
<component :is="getIconComponent(section.icon)" class="icon" />
1616

17-
<h3 class="h3">{{ section.heading }}</h3>
17+
<h3 class="h3">
18+
{{ section.heading }}
19+
</h3>
1820

1921
<PlusMinusIcon :active="active[index]" />
2022

@@ -150,11 +152,11 @@ const getIconComponent = (icon) => {
150152
padding: toRem(1);
151153
@include transitionDefault;
152154
background: linear-gradient(80deg, rgba($siam, 1) 0%, rgba($chardonnay, 1) 100%);
153-
-webkit-mask:
154-
linear-gradient(#fff 0 0) content-box,
155+
-webkit-mask:
156+
linear-gradient(#fff 0 0) content-box,
155157
linear-gradient(#fff 0 0);
156158
-webkit-mask-composite: xor;
157-
mask-composite: exclude;
159+
mask-composite: exclude;
158160
}
159161
&.open {
160162
.accordion-content {

components/icon/branch-icon.vue

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<template>
2-
<svg width="32" height="30" viewBox="0 0 32 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3-
<path d="M24.0401 25.5003L14.2798 15.7057V1.76471C14.2798 0.794118 15.0712 0 16.0384 0C17.0056 0 17.797 0.794118 17.797 1.76471V14.2943L26.5022 23.0299L30.3711 19.1472C30.7229 18.7943 31.2505 18.7943 31.6022 19.1472C31.7781 19.3237 31.866 19.5003 31.866 19.7651V29.1176C31.866 29.6471 31.5143 30 30.9867 30H21.666C21.1384 30 20.7867 29.6471 20.7867 29.1176C20.7867 28.5882 20.8746 28.6763 21.0505 28.4998L24.0401 25.5003Z" fill="#CBDDBB"/>
4-
<path opacity="0.3" d="M8.11867 24.7966L11.591 28.4478C11.7647 28.6303 11.8515 28.8131 11.8515 29.0869C11.8515 29.6346 11.5042 29.9997 10.9834 29.9997H1.69475C1.1739 29.9997 0.82666 29.6346 0.82666 29.0869V19.3197C0.82666 19.0459 0.913512 18.864 1.08713 18.6815C1.43437 18.3164 1.95519 18.3164 2.30243 18.6815L5.68802 22.2409L10.9834 17.5859L13.2404 20.4153L8.20546 24.8884L8.11867 24.7966Z" fill="#CBDDBB"/>
5-
</svg>
2+
<svg
3+
width="32"
4+
height="30"
5+
viewBox="0 0 32 30"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg">
8+
<path d="M24.0401 25.5003L14.2798 15.7057V1.76471C14.2798 0.794118 15.0712 0 16.0384 0C17.0056 0 17.797 0.794118 17.797 1.76471V14.2943L26.5022 23.0299L30.3711 19.1472C30.7229 18.7943 31.2505 18.7943 31.6022 19.1472C31.7781 19.3237 31.866 19.5003 31.866 19.7651V29.1176C31.866 29.6471 31.5143 30 30.9867 30H21.666C21.1384 30 20.7867 29.6471 20.7867 29.1176C20.7867 28.5882 20.8746 28.6763 21.0505 28.4998L24.0401 25.5003Z" fill="#CBDDBB" />
9+
<path opacity="0.3" d="M8.11867 24.7966L11.591 28.4478C11.7647 28.6303 11.8515 28.8131 11.8515 29.0869C11.8515 29.6346 11.5042 29.9997 10.9834 29.9997H1.69475C1.1739 29.9997 0.82666 29.6346 0.82666 29.0869V19.3197C0.82666 19.0459 0.913512 18.864 1.08713 18.6815C1.43437 18.3164 1.95519 18.3164 2.30243 18.6815L5.68802 22.2409L10.9834 17.5859L13.2404 20.4153L8.20546 24.8884L8.11867 24.7966Z" fill="#CBDDBB" />
10+
</svg>
611
</template>

components/icon/chevron.vue

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<template>
2-
<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg">
3-
<path d="M1 1L5.76285 6.19583C6.15918 6.6282 6.84082 6.6282 7.23715 6.19583L12 1" stroke="#CBDDBB" stroke-width="2" stroke-linecap="round"/>
2+
<svg
3+
width="13"
4+
height="8"
5+
viewBox="0 0 13 8"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg">
8+
<path
9+
d="M1 1L5.76285 6.19583C6.15918 6.6282 6.84082 6.6282 7.23715 6.19583L12 1"
10+
stroke="#CBDDBB"
11+
stroke-width="2"
12+
stroke-linecap="round" />
413
</svg>
514
</template>

components/icon/discord-icon.vue

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<template>
2-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
3-
<path d="M25.5504 6.82496C23.6699 5.96608 21.6857 5.35309 19.6471 5.00125C19.6286 4.99816 19.6097 5.00083 19.5928 5.00891C19.5759 5.01698 19.562 5.03006 19.5529 5.04635C19.2973 5.49732 19.0146 6.08718 18.817 6.54897C16.6196 6.21708 14.3844 6.21708 12.1869 6.54897C11.9666 6.03454 11.7173 5.53288 11.4402 5.04635C11.4309 5.03024 11.4169 5.01731 11.4001 5.00926C11.3833 5.00121 11.3644 4.99842 11.3459 5.00125C9.30691 5.3512 7.32224 5.96452 5.4427 6.82496C5.42661 6.83107 5.41316 6.84255 5.40463 6.85743C1.64555 12.4476 0.614248 17.9007 1.11993 23.2853C1.12174 23.3105 1.13805 23.3358 1.15799 23.352C3.34697 24.9658 5.79539 26.1979 8.39885 26.9958C8.41723 27.0016 8.43699 27.0014 8.45524 26.9952C8.47349 26.9891 8.4893 26.9773 8.50035 26.9615C9.0586 26.2039 9.55522 25.4048 9.98296 24.5642C9.99188 24.5469 9.99493 24.5272 9.99166 24.508C9.9884 24.4888 9.97899 24.4712 9.96484 24.4578C9.95547 24.449 9.94436 24.4422 9.93221 24.4379C9.15132 24.1392 8.39504 23.7804 7.67024 23.3646C7.64999 23.3532 7.63494 23.3345 7.62819 23.3123C7.62144 23.2902 7.62352 23.2663 7.63399 23.2456C7.64015 23.2321 7.64948 23.2204 7.66117 23.2113C7.81342 23.0977 7.96567 22.9786 8.11067 22.8595C8.12348 22.8493 8.13885 22.8427 8.15513 22.8405C8.17141 22.8383 8.188 22.8405 8.20311 22.8469C12.95 25.0043 18.0884 25.0043 22.7773 22.8469C22.7929 22.8402 22.8101 22.8378 22.8271 22.84C22.844 22.8422 22.86 22.849 22.8733 22.8595C23.0183 22.9786 23.1706 23.0977 23.3228 23.2113C23.3352 23.2203 23.3451 23.2322 23.3517 23.2459C23.3583 23.2596 23.3613 23.2747 23.3606 23.2899C23.3599 23.3051 23.3554 23.3199 23.3476 23.3329C23.3397 23.346 23.3287 23.3569 23.3156 23.3646C22.5924 23.7842 21.8352 24.1426 21.0518 24.4361C21.0393 24.4406 21.0279 24.4478 21.0185 24.4572C21.0091 24.4665 21.0019 24.4778 20.9974 24.4902C20.9932 24.5023 20.9915 24.5151 20.9925 24.5278C20.9934 24.5405 20.9969 24.5529 21.0028 24.5642C21.4378 25.403 21.9363 26.2039 22.4836 26.9615C22.4947 26.9773 22.5105 26.9891 22.5288 26.9952C22.547 27.0014 22.5668 27.0016 22.5851 26.9958C25.193 26.2004 27.6454 24.9681 29.8369 23.352C29.8479 23.3444 29.857 23.3345 29.8636 23.323C29.8702 23.3114 29.874 23.2985 29.8749 23.2853C30.4803 17.0601 28.8618 11.6521 25.5866 6.85924C25.5833 6.85132 25.5784 6.84418 25.5721 6.83828C25.5659 6.83237 25.5585 6.82784 25.5504 6.82496ZM10.6916 20.0058C9.26159 20.0058 8.08529 18.6998 8.08529 17.098C8.08529 15.4944 9.23985 14.1884 10.6916 14.1884C12.1543 14.1884 13.3197 15.5052 13.298 17.098C13.298 18.6998 12.1434 20.0058 10.6916 20.0058ZM20.3268 20.0058C18.8986 20.0058 17.7204 18.6998 17.7204 17.098C17.7204 15.4944 18.875 14.1884 20.3268 14.1884C21.7895 14.1884 22.9567 15.5052 22.9331 17.098C22.9331 18.6998 21.7895 20.0058 20.3268 20.0058Z" fill="#D3D3D3"/>
4-
</svg>
2+
<svg
3+
width="32"
4+
height="32"
5+
viewBox="0 0 32 32"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg">
8+
<path d="M25.5504 6.82496C23.6699 5.96608 21.6857 5.35309 19.6471 5.00125C19.6286 4.99816 19.6097 5.00083 19.5928 5.00891C19.5759 5.01698 19.562 5.03006 19.5529 5.04635C19.2973 5.49732 19.0146 6.08718 18.817 6.54897C16.6196 6.21708 14.3844 6.21708 12.1869 6.54897C11.9666 6.03454 11.7173 5.53288 11.4402 5.04635C11.4309 5.03024 11.4169 5.01731 11.4001 5.00926C11.3833 5.00121 11.3644 4.99842 11.3459 5.00125C9.30691 5.3512 7.32224 5.96452 5.4427 6.82496C5.42661 6.83107 5.41316 6.84255 5.40463 6.85743C1.64555 12.4476 0.614248 17.9007 1.11993 23.2853C1.12174 23.3105 1.13805 23.3358 1.15799 23.352C3.34697 24.9658 5.79539 26.1979 8.39885 26.9958C8.41723 27.0016 8.43699 27.0014 8.45524 26.9952C8.47349 26.9891 8.4893 26.9773 8.50035 26.9615C9.0586 26.2039 9.55522 25.4048 9.98296 24.5642C9.99188 24.5469 9.99493 24.5272 9.99166 24.508C9.9884 24.4888 9.97899 24.4712 9.96484 24.4578C9.95547 24.449 9.94436 24.4422 9.93221 24.4379C9.15132 24.1392 8.39504 23.7804 7.67024 23.3646C7.64999 23.3532 7.63494 23.3345 7.62819 23.3123C7.62144 23.2902 7.62352 23.2663 7.63399 23.2456C7.64015 23.2321 7.64948 23.2204 7.66117 23.2113C7.81342 23.0977 7.96567 22.9786 8.11067 22.8595C8.12348 22.8493 8.13885 22.8427 8.15513 22.8405C8.17141 22.8383 8.188 22.8405 8.20311 22.8469C12.95 25.0043 18.0884 25.0043 22.7773 22.8469C22.7929 22.8402 22.8101 22.8378 22.8271 22.84C22.844 22.8422 22.86 22.849 22.8733 22.8595C23.0183 22.9786 23.1706 23.0977 23.3228 23.2113C23.3352 23.2203 23.3451 23.2322 23.3517 23.2459C23.3583 23.2596 23.3613 23.2747 23.3606 23.2899C23.3599 23.3051 23.3554 23.3199 23.3476 23.3329C23.3397 23.346 23.3287 23.3569 23.3156 23.3646C22.5924 23.7842 21.8352 24.1426 21.0518 24.4361C21.0393 24.4406 21.0279 24.4478 21.0185 24.4572C21.0091 24.4665 21.0019 24.4778 20.9974 24.4902C20.9932 24.5023 20.9915 24.5151 20.9925 24.5278C20.9934 24.5405 20.9969 24.5529 21.0028 24.5642C21.4378 25.403 21.9363 26.2039 22.4836 26.9615C22.4947 26.9773 22.5105 26.9891 22.5288 26.9952C22.547 27.0014 22.5668 27.0016 22.5851 26.9958C25.193 26.2004 27.6454 24.9681 29.8369 23.352C29.8479 23.3444 29.857 23.3345 29.8636 23.323C29.8702 23.3114 29.874 23.2985 29.8749 23.2853C30.4803 17.0601 28.8618 11.6521 25.5866 6.85924C25.5833 6.85132 25.5784 6.84418 25.5721 6.83828C25.5659 6.83237 25.5585 6.82784 25.5504 6.82496ZM10.6916 20.0058C9.26159 20.0058 8.08529 18.6998 8.08529 17.098C8.08529 15.4944 9.23985 14.1884 10.6916 14.1884C12.1543 14.1884 13.3197 15.5052 13.298 17.098C13.298 18.6998 12.1434 20.0058 10.6916 20.0058ZM20.3268 20.0058C18.8986 20.0058 17.7204 18.6998 17.7204 17.098C17.7204 15.4944 18.875 14.1884 20.3268 14.1884C21.7895 14.1884 22.9567 15.5052 22.9331 17.098C22.9331 18.6998 21.7895 20.0058 20.3268 20.0058Z" fill="#D3D3D3" />
9+
</svg>
510
</template>

components/icon/globe-icon.vue

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<template>
2-
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3-
<path opacity="0.3" d="M15 30C23.2843 30 30 23.2842 30 15C30 6.71572 23.2843 0 15 0C6.71573 0 0 6.71572 0 15C0 23.2842 6.71573 30 15 30Z" fill="#9EBA84"/>
4-
<path d="M14.5833 30C6.5 29.75 0 23.1666 0 15C0 6.83332 0 14.75 0 14.5833C1.08333 14.6666 3.08337 14.9166 3.16671 15.6666C3.33337 16.75 3.16669 18.0833 4.08335 18.5C5.00002 18.9166 5.24996 16.9167 5.99996 17.4167C6.74996 17.9167 8.83331 18.5 8.83331 19.4166C8.83331 20.3333 8.41665 21.8333 8.83331 22.0833C9.24998 22.3333 10.75 24.25 10.75 24.5C10.75 24.75 11.3334 26.0833 11.1667 26.6666C11 27.0833 10.3333 28.4166 9.66665 28.9999C11.1666 29.5833 12.75 29.9167 14.5 30H14.5833ZM8.83331 1.33336C10.75 0.50003 12.8333 0 15 0C20.8333 0 25.9166 3.33335 28.4166 8.25001C28.4166 9.58334 28.4167 10.6666 28.75 11.0833C30.25 13.1666 25.1666 14.5 25.9166 17.6666C26.25 19 22.5833 18.5833 21.6667 19.9167C20.75 21.1667 18.5833 20.3333 18.0833 20.0833C17.5833 19.8333 15.5833 20.6667 15.8333 19.25C16 17.8333 17.1666 17.75 18.5 17.1667C19.75 16.5833 21.5834 14.6666 20.6667 14.4166C16.4167 13.25 15 9.16665 15 9.16665C14.75 9.16665 14.8334 6.25001 13.6667 6.16668C12.5834 6.16668 12 6.50001 10.3334 6.16668C8.75002 5.83334 9.08331 4.74999 8.83331 2.5C8.83331 2 8.83331 1.58336 8.83331 1.33336ZM30 14.8333V15C30 23.25 23.3333 29.9167 15.1666 30C23.3333 30 29.9167 23.1666 30 14.8333Z" fill="#CBDDBB"/>
5-
</svg>
2+
<svg
3+
width="30"
4+
height="30"
5+
viewBox="0 0 30 30"
6+
fill="none"
7+
xmlns="http://www.w3.org/2000/svg">
8+
<path opacity="0.3" d="M15 30C23.2843 30 30 23.2842 30 15C30 6.71572 23.2843 0 15 0C6.71573 0 0 6.71572 0 15C0 23.2842 6.71573 30 15 30Z" fill="#9EBA84" />
9+
<path d="M14.5833 30C6.5 29.75 0 23.1666 0 15C0 6.83332 0 14.75 0 14.5833C1.08333 14.6666 3.08337 14.9166 3.16671 15.6666C3.33337 16.75 3.16669 18.0833 4.08335 18.5C5.00002 18.9166 5.24996 16.9167 5.99996 17.4167C6.74996 17.9167 8.83331 18.5 8.83331 19.4166C8.83331 20.3333 8.41665 21.8333 8.83331 22.0833C9.24998 22.3333 10.75 24.25 10.75 24.5C10.75 24.75 11.3334 26.0833 11.1667 26.6666C11 27.0833 10.3333 28.4166 9.66665 28.9999C11.1666 29.5833 12.75 29.9167 14.5 30H14.5833ZM8.83331 1.33336C10.75 0.50003 12.8333 0 15 0C20.8333 0 25.9166 3.33335 28.4166 8.25001C28.4166 9.58334 28.4167 10.6666 28.75 11.0833C30.25 13.1666 25.1666 14.5 25.9166 17.6666C26.25 19 22.5833 18.5833 21.6667 19.9167C20.75 21.1667 18.5833 20.3333 18.0833 20.0833C17.5833 19.8333 15.5833 20.6667 15.8333 19.25C16 17.8333 17.1666 17.75 18.5 17.1667C19.75 16.5833 21.5834 14.6666 20.6667 14.4166C16.4167 13.25 15 9.16665 15 9.16665C14.75 9.16665 14.8334 6.25001 13.6667 6.16668C12.5834 6.16668 12 6.50001 10.3334 6.16668C8.75002 5.83334 9.08331 4.74999 8.83331 2.5C8.83331 2 8.83331 1.58336 8.83331 1.33336ZM30 14.8333V15C30 23.25 23.3333 29.9167 15.1666 30C23.3333 30 29.9167 23.1666 30 14.8333Z" fill="#CBDDBB" />
10+
</svg>
611
</template>

0 commit comments

Comments
 (0)