mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-08 19:25:12 -05:00
Merge pull request #395 from PretendoNetwork/nuxt-refactor-homepage
Nuxt refactor homepage
This commit is contained in:
commit
41dc2671c4
|
|
@ -1,5 +1,6 @@
|
|||
import pluginVue from 'eslint-plugin-vue';
|
||||
import eslintConfig from '@pretendonetwork/eslint-config';
|
||||
import globals from 'globals';
|
||||
import { withNuxt } from './.nuxt/eslint.config.mjs';
|
||||
|
||||
export default withNuxt([
|
||||
|
|
@ -10,6 +11,9 @@ export default withNuxt([
|
|||
languageOptions: {
|
||||
parserOptions: {
|
||||
parser: '@typescript-eslint/parser'
|
||||
},
|
||||
globals: {
|
||||
...globals.browser
|
||||
}
|
||||
},
|
||||
rules: {
|
||||
|
|
|
|||
|
|
@ -58,11 +58,197 @@ code {
|
|||
color: var(--text-shade-2);
|
||||
}
|
||||
|
||||
button {
|
||||
all: unset;
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
/* BUTTONS */
|
||||
|
||||
button,
|
||||
.button {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
font-family: Poppins, Arial, Helvetica, sans-serif;
|
||||
font-size: 1rem;
|
||||
color: var(--text-shade-3);
|
||||
padding: 12px 48px;
|
||||
background: var(--bg-shade-3);
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
button:hover,
|
||||
.button:hover {
|
||||
background: var(--bg-shade-4);
|
||||
}
|
||||
button.inactive {
|
||||
pointer-events: none;
|
||||
}
|
||||
button.primary,
|
||||
.button.primary {
|
||||
background: var(--accent-shade-0);
|
||||
}
|
||||
button.primary:hover,
|
||||
.button.primary:hover {
|
||||
background: var(--accent-shade-1);
|
||||
}
|
||||
|
||||
button.secondary.icon-btn,
|
||||
.button.secondary.icon-btn {
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
button svg,
|
||||
.button svg {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* MODALS */
|
||||
|
||||
body.modal-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
div.modal-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
div.modal-wrapper.hidden {
|
||||
display: none;
|
||||
}
|
||||
div.modal {
|
||||
background: var(--bg-shade-3);
|
||||
padding: 48px;
|
||||
border-radius: 8px;
|
||||
text-align: left;
|
||||
width: min(660px, 90%);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
div.modal h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
p.modal-caption {
|
||||
color: var(--text-shade-1);
|
||||
}
|
||||
p.modal-caption span,
|
||||
p.switch-tier-modal-caption span {
|
||||
color: var(--text-shade-3);
|
||||
}
|
||||
|
||||
.modal-button-wrapper {
|
||||
margin-top: 24px;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.modal-button-wrapper button {
|
||||
margin-left: 12px;
|
||||
width: fit-content;
|
||||
}
|
||||
.modal-button-wrapper button.cancel {
|
||||
background: none;
|
||||
}
|
||||
.modal-button-wrapper button {
|
||||
padding: 12px 24px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
div.modal {
|
||||
padding: 24px;
|
||||
}
|
||||
}
|
||||
|
||||
/* MISC FORM COMPONENTS */
|
||||
|
||||
input[type="checkbox"] {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background: var(--bg-shade-3);
|
||||
padding: 12px;
|
||||
margin: 4px;
|
||||
margin-left: 0;
|
||||
border-radius: 4px;
|
||||
vertical-align: -65%;
|
||||
width: fit-content;
|
||||
cursor: pointer;
|
||||
}
|
||||
input[type="checkbox"]:checked {
|
||||
background: no-repeat center/contain url(../images/check.svg), var(--accent-shade-0);
|
||||
}
|
||||
|
||||
input {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
font-family: Poppins, Arial, Helvetica, sans-serif;
|
||||
font-size: 1rem;
|
||||
background-color: var(--bg-shade-3);
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
padding: 12px;
|
||||
color: var(--text-shade-3);
|
||||
width: calc(100% - 24px);
|
||||
}
|
||||
input:focus {
|
||||
background-color: var(--bg-shade-4);
|
||||
outline: none;
|
||||
transition: 150ms;
|
||||
}
|
||||
input[type="range"] {
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
input[type="range"]::-webkit-slider-runnable-track {
|
||||
background: var(--bg-shade-3);
|
||||
height: 1rem;
|
||||
border-radius: 1rem;
|
||||
}
|
||||
input[type="range"]::-moz-range-track {
|
||||
background: var(--bg-shade-3);
|
||||
border-radius: 1rem;
|
||||
height: 1rem;
|
||||
}
|
||||
input[type="range"]::-webkit-slider-thumb {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
width: 1.5rem;
|
||||
height: 3rem;
|
||||
margin-top: -1rem;
|
||||
background-color: var(--accent-shade-1);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
input[type="range"]::-moz-range-thumb {
|
||||
width: 1.5rem;
|
||||
height: 3rem;
|
||||
border: none;
|
||||
border-radius: 0.5rem;
|
||||
background-color: var(--accent-shade-1);
|
||||
}
|
||||
input[type="range"]:focus {
|
||||
outline: none;
|
||||
}
|
||||
input[type="range"]:focus::-webkit-slider-thumb {
|
||||
background-color: var(--accent-shade-3);
|
||||
}
|
||||
input[type="range"]:focus::-moz-range-thumb {
|
||||
background-color: var(--accent-shade-3);
|
||||
}
|
||||
|
||||
|
||||
.wrapper {
|
||||
width: 95%;
|
||||
|
|
@ -78,7 +264,7 @@ button {
|
|||
.wrapper {
|
||||
width: 90%;
|
||||
}
|
||||
|
||||
|
||||
.hide-on-mobile {
|
||||
display: none !important;
|
||||
}
|
||||
|
|
@ -87,3 +273,21 @@ button {
|
|||
display: unset !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Scrollbar styling 'cause it's fancy */
|
||||
html::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
html::-webkit-scrollbar-track {
|
||||
background: var(--bg-shade-1);
|
||||
}
|
||||
html::-webkit-scrollbar-thumb {
|
||||
background-color: var(--text-shade-0);
|
||||
border-radius: 24px;
|
||||
border: 3px solid var(--bg-shade-1);
|
||||
}
|
||||
html {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--text-shade-0) var(--bg-shade-1);
|
||||
}
|
||||
|
|
@ -139,24 +139,10 @@ function bandwidthClickHandler() {
|
|||
<h1>{{ $t("footer.widget.captions[0]") }}</h1>
|
||||
<h2>{{ $t("footer.widget.captions[1]") }}</h2>
|
||||
<a href="https://discord.gg/pretendo">
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-arrow-right"
|
||||
>
|
||||
<line
|
||||
x1="5"
|
||||
y1="12"
|
||||
x2="19"
|
||||
y2="12"
|
||||
/>
|
||||
<polyline points="12 5 19 12 12 19" />
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:arrow-right"
|
||||
size="24"
|
||||
/>
|
||||
{{ $t("footer.widget.button") }}
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
173
src/components/Hero/HeroDeco.vue
Normal file
173
src/components/Hero/HeroDeco.vue
Normal file
|
|
@ -0,0 +1,173 @@
|
|||
<template>
|
||||
<svg
|
||||
alt=""
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="839.371"
|
||||
height="893.406"
|
||||
viewBox="0 0 839.371 893.406"
|
||||
>
|
||||
<g
|
||||
id="deco"
|
||||
transform="translate(-1064.958 -142.958)"
|
||||
>
|
||||
<g
|
||||
id="Ellipse_12"
|
||||
data-name="Ellipse 12"
|
||||
transform="translate(1314 265)"
|
||||
fill="none"
|
||||
stroke="#9d6ff3"
|
||||
stroke-width="26"
|
||||
>
|
||||
<circle
|
||||
cx="56"
|
||||
cy="56"
|
||||
r="56"
|
||||
stroke="none"
|
||||
/>
|
||||
<circle
|
||||
cx="56"
|
||||
cy="56"
|
||||
r="69"
|
||||
fill="none"
|
||||
/>
|
||||
</g>
|
||||
<g
|
||||
id="Ellipse_22"
|
||||
data-name="Ellipse 22"
|
||||
transform="translate(1361 771)"
|
||||
fill="none"
|
||||
stroke="#59c9a5"
|
||||
stroke-width="26"
|
||||
>
|
||||
<circle
|
||||
cx="77"
|
||||
cy="77"
|
||||
r="77"
|
||||
stroke="none"
|
||||
/>
|
||||
<circle
|
||||
cx="77"
|
||||
cy="77"
|
||||
r="90"
|
||||
fill="none"
|
||||
/>
|
||||
</g>
|
||||
<g
|
||||
id="Ellipse_13"
|
||||
data-name="Ellipse 13"
|
||||
transform="translate(1801.405 273.601) rotate(1)"
|
||||
fill="none"
|
||||
stroke="#9d6ff3"
|
||||
stroke-width="26"
|
||||
>
|
||||
<circle
|
||||
cx="23"
|
||||
cy="23"
|
||||
r="23"
|
||||
stroke="none"
|
||||
/>
|
||||
<circle
|
||||
cx="23"
|
||||
cy="23"
|
||||
r="36"
|
||||
fill="none"
|
||||
/>
|
||||
</g>
|
||||
<g
|
||||
id="Ellipse_23"
|
||||
data-name="Ellipse 23"
|
||||
transform="matrix(0.839, -0.545, 0.545, 0.839, 1651.184, 609.237)"
|
||||
fill="none"
|
||||
stroke="#25224f"
|
||||
stroke-width="26"
|
||||
>
|
||||
<circle
|
||||
cx="78.5"
|
||||
cy="78.5"
|
||||
r="78.5"
|
||||
stroke="none"
|
||||
/>
|
||||
<circle
|
||||
cx="78.5"
|
||||
cy="78.5"
|
||||
r="91.5"
|
||||
fill="none"
|
||||
/>
|
||||
</g>
|
||||
<circle
|
||||
id="Ellipse_15"
|
||||
class="animateDot"
|
||||
data-name="Ellipse 15"
|
||||
cx="23"
|
||||
cy="23"
|
||||
r="23"
|
||||
transform="translate(1586.473 353) rotate(-45)"
|
||||
fill="#9d6ff3"
|
||||
/>
|
||||
<ellipse
|
||||
id="Ellipse_21"
|
||||
class="animateDot"
|
||||
data-name="Ellipse 21"
|
||||
cx="11"
|
||||
cy="10.5"
|
||||
rx="11"
|
||||
ry="10.5"
|
||||
transform="translate(1588.958 188.514) rotate(-45)"
|
||||
fill="#9d6ff3"
|
||||
/>
|
||||
<ellipse
|
||||
id="Ellipse_25"
|
||||
data-name="Ellipse 25"
|
||||
cx="11"
|
||||
cy="10.5"
|
||||
rx="11"
|
||||
ry="10.5"
|
||||
transform="translate(1143.958 1021.514) rotate(-45)"
|
||||
fill="#9d6ff3"
|
||||
/>
|
||||
<ellipse
|
||||
id="Ellipse_26"
|
||||
data-name="Ellipse 26"
|
||||
cx="11"
|
||||
cy="10.5"
|
||||
rx="11"
|
||||
ry="10.5"
|
||||
transform="translate(1064.958 158.514) rotate(-45)"
|
||||
fill="#9d6ff3"
|
||||
/>
|
||||
<circle
|
||||
id="Ellipse_16"
|
||||
class="animateDot"
|
||||
data-name="Ellipse 16"
|
||||
cx="23"
|
||||
cy="23"
|
||||
r="23"
|
||||
transform="translate(1169.473 524) rotate(-45)"
|
||||
fill="#59c9a5"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.animateDot {
|
||||
animation: dotAnimation 10s infinite;
|
||||
}
|
||||
|
||||
@keyframes dotAnimation {
|
||||
0% {
|
||||
cx: 0;
|
||||
cy: 0;
|
||||
}
|
||||
|
||||
50% {
|
||||
cx: 10px;
|
||||
cy: 10px;
|
||||
}
|
||||
|
||||
100% {
|
||||
cx: 0;
|
||||
cy: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -12,25 +12,27 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
openDropdown.value = dropdown;
|
||||
}
|
||||
}
|
||||
|
||||
const scrollY = ref<number>(0);
|
||||
|
||||
onMounted(() => {
|
||||
window.addEventListener('scroll', () => {
|
||||
scrollY.value = window.scrollY;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<header class="transparent">
|
||||
<header :class="{ 'transparent': scrollY === 0 }">
|
||||
<div class="left-section">
|
||||
<button
|
||||
:class="{'dropdown-button': true, 'hide-on-desktop': true, active: openDropdown === 'mobile' }"
|
||||
:class="{ 'dropdown-button': true, 'hide-on-desktop': true, active: openDropdown === 'mobile' }"
|
||||
@click="handleDropdownButton('mobile')"
|
||||
>
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M224 128a8 8 0 0 1-8 8H40a8 8 0 0 1 0-16h176a8 8 0 0 1 8 8ZM40 72h176a8 8 0 0 0 0-16H40a8 8 0 0 0 0 16Zm176 112H40a8 8 0 0 0 0 16h176a8 8 0 0 0 0-16Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:list"
|
||||
size="32"
|
||||
/>
|
||||
</button>
|
||||
<a
|
||||
href="/"
|
||||
|
|
@ -104,23 +106,17 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
class="dropdown"
|
||||
>
|
||||
<div
|
||||
|
||||
class="dropdown-content"
|
||||
@click="handleDropdownButton(false)"
|
||||
>
|
||||
<div class="top">
|
||||
<a href="/#credits">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M166.5 192.8a7.8 7.8 0 0 1 .6 8.3a8.1 8.1 0 0 1-7.1 4.3H16a8.1 8.1 0 0 1-7.1-4.3a7.8 7.8 0 0 1 .6-8.3a95.5 95.5 0 0 1 45.3-34.9a60 60 0 1 1 66.4 0a95.5 95.5 0 0 1 45.3 34.9Zm81.6 0a96.3 96.3 0 0 0-45.4-34.9A59.9 59.9 0 0 0 169.5 48a64 64 0 0 0-16.3 2.2a8.2 8.2 0 0 0-5.4 5.2a8 8 0 0 0 1.2 7.3a75.8 75.8 0 0 1 3.8 84.9a8.1 8.1 0 0 0 2.1 10.6q4.5 3.5 8.7 7.2l.5.5a112.6 112.6 0 0 1 25.5 34.9a7.9 7.9 0 0 0 7.2 4.6h44.7a8.1 8.1 0 0 0 7.1-4.3a8 8 0 0 0-.5-8.3Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:users-four-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.credits") }}</p>
|
||||
|
|
@ -129,16 +125,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/#about">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M128 24a104 104 0 1 0 104 104A104.1 104.1 0 0 0 128 24Zm-2 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12Zm10 112h-8a8 8 0 0 1-8-8v-48a8 8 0 0 1 0-16h8a8 8 0 0 1 8 8v48a8 8 0 0 1 0 16Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:info-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.about") }}</p>
|
||||
|
|
@ -147,16 +138,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/#faq">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M128 24a104 104 0 1 0 104 104A104.1 104.1 0 0 0 128 24Zm0 168a12 12 0 1 1 12-12a12 12 0 0 1-12 12Zm8-48.9v.9a8 8 0 0 1-16 0v-8a8 8 0 0 1 8-8a20 20 0 1 0-20-20a8 8 0 0 1-16 0a36 36 0 1 1 44 35.1Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:question-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.faq") }}</p>
|
||||
|
|
@ -165,16 +151,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/blog">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M216 48H56a16 16 0 0 0-16 16v120a8 8 0 0 1-16 0V88a8 8 0 0 0-16 0v96a24 24 0 0 0 24 24h176a24.1 24.1 0 0 0 24-24V64a16 16 0 0 0-16-16Zm-40 104H96a8 8 0 0 1 0-16h80a8 8 0 0 1 0 16Zm0-32H96a8 8 0 0 1 0-16h80a8 8 0 0 1 0 16Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:newspaper-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.blog") }}</p>
|
||||
|
|
@ -183,16 +164,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/progress">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M96 8a8 8 0 0 1 8-8h48a8 8 0 0 1 0 16h-48a8 8 0 0 1-8-8Zm128 120a96 96 0 1 1-96-96a96.2 96.2 0 0 1 96 96Zm-50.7-45.3a8.1 8.1 0 0 0-11.4 0l-39.6 39.6a8.1 8.1 0 0 0 0 11.4a8.2 8.2 0 0 0 11.4 0l39.6-39.6a8.1 8.1 0 0 0 0-11.4Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:wrench-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.progress") }}</p>
|
||||
|
|
@ -201,16 +177,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/docs">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M74.3 85.7a8.1 8.1 0 0 1 11.4-11.4l34.3 34.4V24a8 8 0 0 1 16 0v84.7l34.3-34.4a8.1 8.1 0 0 1 11.4 11.4l-48 48a8.2 8.2 0 0 1-11.4 0ZM240 136v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h52.4a3.6 3.6 0 0 1 2.8 1.2L111 145a24.1 24.1 0 0 0 34 0l23.8-23.8a3.6 3.6 0 0 1 2.8-1.2H224a16 16 0 0 1 16 16Zm-40 32a12 12 0 1 0-12 12a12 12 0 0 0 12-12Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:download-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("docs.quickLinks.links[0].header") }}</p>
|
||||
|
|
@ -219,16 +190,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/docs/search">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M236.7 188L148.8 36a24 24 0 0 0-41.6 0L19.3 188A23.9 23.9 0 0 0 40 224h176a23.9 23.9 0 0 0 20.7-36ZM120 104a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0Zm8 88a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:warning-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("docs.quickLinks.links[1].header") }}</p>
|
||||
|
|
@ -244,64 +210,33 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
target="_blank"
|
||||
aria-label="A link to our Discord server"
|
||||
>
|
||||
<svg
|
||||
width="71"
|
||||
height="55"
|
||||
viewBox="0 0 71 55"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g clip-path="url(#clip0)">
|
||||
<path
|
||||
d="M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z"
|
||||
fill="#ffffff"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0">
|
||||
<rect
|
||||
width="71"
|
||||
height="55"
|
||||
fill="white"
|
||||
/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:discord-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/PretendoNetwork"
|
||||
target="_blank"
|
||||
aria-label="A link to our Twitter account"
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title>Twitter</title>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:twitter-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/PretendoNetwork"
|
||||
target="_blank"
|
||||
aria-label="A link to our GitHub organization"
|
||||
>
|
||||
<svg
|
||||
data-prefix="fab"
|
||||
data-icon="github"
|
||||
class="svg-inline--fa fa-github fa-w-16"
|
||||
role="img"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 496 512"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:github-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -310,13 +245,13 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
<nav>
|
||||
<div class="dropdown-button-wrapper hide-on-mobile">
|
||||
<button
|
||||
:class="{'dropdown-button': true, active: openDropdown === 'about' }"
|
||||
:class="{ 'dropdown-button': true, active: openDropdown === 'about' }"
|
||||
@click="handleDropdownButton('about')"
|
||||
>
|
||||
{{ $t("nav.about") }}
|
||||
</button>
|
||||
<button
|
||||
:class="{'dropdown-button': true, active: openDropdown === 'docs' }"
|
||||
:class="{ 'dropdown-button': true, active: openDropdown === 'docs' }"
|
||||
@click="handleDropdownButton('docs')"
|
||||
>
|
||||
{{ $t("nav.docs") }}
|
||||
|
|
@ -339,29 +274,16 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
class="donate"
|
||||
>
|
||||
<button>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-heart"
|
||||
>
|
||||
<path
|
||||
d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:heart-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
<span>{{ $t("nav.donate") }}</span>
|
||||
</button>
|
||||
</a>
|
||||
|
||||
<div
|
||||
class="dropdown"
|
||||
>
|
||||
<div class="dropdown">
|
||||
<div
|
||||
v-if="openDropdown === 'about'"
|
||||
class="dropdown-content"
|
||||
|
|
@ -370,16 +292,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
<div class="top">
|
||||
<a href="/#credits">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M166.5 192.8a7.8 7.8 0 0 1 .6 8.3a8.1 8.1 0 0 1-7.1 4.3H16a8.1 8.1 0 0 1-7.1-4.3a7.8 7.8 0 0 1 .6-8.3a95.5 95.5 0 0 1 45.3-34.9a60 60 0 1 1 66.4 0a95.5 95.5 0 0 1 45.3 34.9Zm81.6 0a96.3 96.3 0 0 0-45.4-34.9A59.9 59.9 0 0 0 169.5 48a64 64 0 0 0-16.3 2.2a8.2 8.2 0 0 0-5.4 5.2a8 8 0 0 0 1.2 7.3a75.8 75.8 0 0 1 3.8 84.9a8.1 8.1 0 0 0 2.1 10.6q4.5 3.5 8.7 7.2l.5.5a112.6 112.6 0 0 1 25.5 34.9a7.9 7.9 0 0 0 7.2 4.6h44.7a8.1 8.1 0 0 0 7.1-4.3a8 8 0 0 0-.5-8.3Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:users-four-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.credits") }}</p>
|
||||
|
|
@ -388,16 +305,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/#about">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M128 24a104 104 0 1 0 104 104A104.1 104.1 0 0 0 128 24Zm-2 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12Zm10 112h-8a8 8 0 0 1-8-8v-48a8 8 0 0 1 0-16h8a8 8 0 0 1 8 8v48a8 8 0 0 1 0 16Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:info-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.about") }}</p>
|
||||
|
|
@ -406,16 +318,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/#faq">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M128 24a104 104 0 1 0 104 104A104.1 104.1 0 0 0 128 24Zm0 168a12 12 0 1 1 12-12a12 12 0 0 1-12 12Zm8-48.9v.9a8 8 0 0 1-16 0v-8a8 8 0 0 1 8-8a20 20 0 1 0-20-20a8 8 0 0 1-16 0a36 36 0 1 1 44 35.1Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:question-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.faq") }}</p>
|
||||
|
|
@ -424,16 +331,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/blog">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M216 48H56a16 16 0 0 0-16 16v120a8 8 0 0 1-16 0V88a8 8 0 0 0-16 0v96a24 24 0 0 0 24 24h176a24.1 24.1 0 0 0 24-24V64a16 16 0 0 0-16-16Zm-40 104H96a8 8 0 0 1 0-16h80a8 8 0 0 1 0 16Zm0-32H96a8 8 0 0 1 0-16h80a8 8 0 0 1 0 16Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:newspaper-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("nav.blog") }}</p>
|
||||
|
|
@ -448,64 +350,33 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
target="_blank"
|
||||
aria-label="A link to our Discord server"
|
||||
>
|
||||
<svg
|
||||
width="71"
|
||||
height="55"
|
||||
viewBox="0 0 71 55"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g clip-path="url(#clip0)">
|
||||
<path
|
||||
d="M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z"
|
||||
fill="#ffffff"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0">
|
||||
<rect
|
||||
width="71"
|
||||
height="55"
|
||||
fill="white"
|
||||
/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:discord-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href="https://twitter.com/PretendoNetwork"
|
||||
target="_blank"
|
||||
aria-label="A link to our Twitter account"
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<title>Twitter</title>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:twitter-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
href="https://github.com/PretendoNetwork"
|
||||
target="_blank"
|
||||
aria-label="A link to our GitHub organization"
|
||||
>
|
||||
<svg
|
||||
data-prefix="fab"
|
||||
data-icon="github"
|
||||
class="svg-inline--fa fa-github fa-w-16"
|
||||
role="img"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 496 512"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:github-logo-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -517,16 +388,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
<div class="top">
|
||||
<a href="/docs">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M74.3 85.7a8.1 8.1 0 0 1 11.4-11.4l34.3 34.4V24a8 8 0 0 1 16 0v84.7l34.3-34.4a8.1 8.1 0 0 1 11.4 11.4l-48 48a8.2 8.2 0 0 1-11.4 0ZM240 136v64a16 16 0 0 1-16 16H32a16 16 0 0 1-16-16v-64a16 16 0 0 1 16-16h52.4a3.6 3.6 0 0 1 2.8 1.2L111 145a24.1 24.1 0 0 0 34 0l23.8-23.8a3.6 3.6 0 0 1 2.8-1.2H224a16 16 0 0 1 16 16Zm-40 32a12 12 0 1 0-12 12a12 12 0 0 0 12-12Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:download-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("docs.quickLinks.links[0].header") }}</p>
|
||||
|
|
@ -535,16 +401,11 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
</a>
|
||||
<a href="/docs/search">
|
||||
<div class="icon">
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M236.7 188L148.8 36a24 24 0 0 0-41.6 0L19.3 188A23.9 23.9 0 0 0 40 224h176a23.9 23.9 0 0 0 20.7-36ZM120 104a8 8 0 0 1 16 0v40a8 8 0 0 1-16 0Zm8 88a12 12 0 1 1 12-12a12 12 0 0 1-12 12Z"
|
||||
/>
|
||||
</svg>
|
||||
<Icon
|
||||
name="ph:warning-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<p class="title">{{ $t("docs.quickLinks.links[1].header") }}</p>
|
||||
|
|
@ -566,33 +427,12 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
aria-controls="toggable-languages"
|
||||
@click="handleDropdownButton('locale')"
|
||||
>
|
||||
<svg
|
||||
role="img"
|
||||
<Icon
|
||||
name="ph:translate"
|
||||
aria-label="Toggle Language List"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
class="feather feather-globe"
|
||||
>
|
||||
<circle
|
||||
cx="12"
|
||||
cy="12"
|
||||
r="10"
|
||||
/>
|
||||
<line
|
||||
x1="2"
|
||||
y1="12"
|
||||
x2="22"
|
||||
y2="12"
|
||||
/>
|
||||
<path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z" />
|
||||
</svg>
|
||||
size="32"
|
||||
mode="svg"
|
||||
/>
|
||||
</button>
|
||||
|
||||
<div
|
||||
|
|
@ -658,18 +498,12 @@ function handleDropdownButton(dropdown: boolean | string) {
|
|||
class="login-link"
|
||||
href="/account/login"
|
||||
>
|
||||
<svg
|
||||
role="img"
|
||||
<Icon
|
||||
name="ph:user-circle-fill"
|
||||
size="32"
|
||||
mode="svg"
|
||||
aria-label="Login"
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 256 256"
|
||||
>
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M232 128a104 104 0 1 0-174.2 76.7l1.3 1.2a104 104 0 0 0 137.8 0l1.3-1.2A103.7 103.7 0 0 0 232 128Zm-192 0a88 88 0 1 1 153.8 58.4a79.2 79.2 0 0 0-36.1-28.7a48 48 0 1 0-59.4 0a79.2 79.2 0 0 0-36.1 28.7A87.6 87.6 0 0 1 40 128Zm56-8a32 32 0 1 1 32 32a32.1 32.1 0 0 1-32-32Zm-21.9 77.5a64 64 0 0 1 107.8 0a87.8 87.8 0 0 1-107.8 0Z"
|
||||
/>
|
||||
</svg>
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -974,9 +808,11 @@ header .right-section {
|
|||
header .locale-dropdown-toggle {
|
||||
width: fit-content;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
padding: 0;
|
||||
margin: auto;
|
||||
transition: color 150ms;
|
||||
color: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
|
@ -1137,7 +973,6 @@ header .user-widget .button.logout {
|
|||
background: var(--bg-shade-3);
|
||||
color: var(--text-shade-3);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<style>
|
||||
|
|
|
|||
1314
src/pages/index.vue
1314
src/pages/index.vue
File diff suppressed because it is too large
Load Diff
BIN
src/public/assets/images/n2ds.png
Normal file
BIN
src/public/assets/images/n2ds.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 210 KiB |
Loading…
Reference in New Issue
Block a user