diff --git a/app.config.ts b/app.config.ts index b4ad2820..b439ed4b 100644 --- a/app.config.ts +++ b/app.config.ts @@ -140,9 +140,9 @@ export const docTypes = [ path: "/cli", }, { - title: "docs.types.explorer", - image: "docs/desktop", - path: "/explorer", + title: "docs.types.hww", + image: "docs/ledger", + path: "/hardware-wallet", }, ]; @@ -225,11 +225,11 @@ export const exchangesBuy = [ ]; export const instantExchangesBuy = [ -/* { + /* { title: "Beam4Me", image: "instant-exchanges/beam4me", link: "https://beam4.me/?from_curr=ETH&from_chain=1&to_curr=BEAM&to_chain=-1", - },*/ + }, */ { title: "Trocador", image: "instant-exchanges/trocador", diff --git a/assets/svg/docs/ledger.svg b/assets/svg/docs/ledger.svg new file mode 100644 index 00000000..894d4a65 --- /dev/null +++ b/assets/svg/docs/ledger.svg @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/components/download/detail-android-modal.vue b/components/download/detail-android-modal.vue index d0c5c002..9b4fae33 100644 --- a/components/download/detail-android-modal.vue +++ b/components/download/detail-android-modal.vue @@ -10,10 +10,6 @@ defineProps({ type: Number, required: true, }, - linkPlayStore: { - type: String, - required: true, - }, linkApkFile: { type: String, required: true, @@ -34,14 +30,6 @@ defineProps({ {{ version }} ({{ convertUNIXTimestampToLocaleDate(date, localeProperties.iso) }}) · - - - - · diff --git a/components/hardfork/items.vue b/components/hardfork/items.vue index bf610fe6..5ca67987 100644 --- a/components/hardfork/items.vue +++ b/components/hardfork/items.vue @@ -1,36 +1,55 @@ - + + name="layout/arrow-right" + /> - + - + {{ item.year }} - + {{ item.name }} - {{ item.text.slice(0, 150) + '...' }} + {{ item.text.slice(0, 150) + "..." }} - + View More @@ -38,8 +57,15 @@ - + @@ -48,8 +74,8 @@ import { Swiper, SwiperSlide } from "swiper/vue"; import SwiperCore, { Swiper as SwiperInstance } from "swiper"; import { Navigation } from "swiper/modules"; import { ref, onMounted, onBeforeUnmount } from "vue"; -import { useI18n } from 'vue-i18n'; -import Modal from './modal.vue'; +import { useI18n } from "vue-i18n"; +import Modal from "./modal.vue"; const { t } = useI18n(); @@ -82,8 +108,8 @@ const hardfork = ref([ links: [ { title: t("hardfork.hardforks.1.links.1.title"), - link: t("hardfork.hardforks.1.links.1.link") - } + link: t("hardfork.hardforks.1.links.1.link"), + }, ], image: "cathode", }, @@ -96,16 +122,16 @@ const hardfork = ref([ links: [ { title: t("hardfork.hardforks.2.links.1.title"), - link: t("hardfork.hardforks.2.links.1.link") + link: t("hardfork.hardforks.2.links.1.link"), }, { title: t("hardfork.hardforks.2.links.2.title"), - link: t("hardfork.hardforks.2.links.2.link") + link: t("hardfork.hardforks.2.links.2.link"), }, { title: t("hardfork.hardforks.2.links.3.title"), - link: t("hardfork.hardforks.2.links.3.link") - } + link: t("hardfork.hardforks.2.links.3.link"), + }, ], image: "electron", }, @@ -118,20 +144,20 @@ const hardfork = ref([ links: [ { title: t("hardfork.hardforks.3.links.1.title"), - link: t("hardfork.hardforks.3.links.1.link") + link: t("hardfork.hardforks.3.links.1.link"), }, { title: t("hardfork.hardforks.3.links.2.title"), - link: t("hardfork.hardforks.3.links.2.link") + link: t("hardfork.hardforks.3.links.2.link"), }, { title: t("hardfork.hardforks.3.links.3.title"), - link: t("hardfork.hardforks.3.links.3.link") + link: t("hardfork.hardforks.3.links.3.link"), }, { title: t("hardfork.hardforks.3.links.4.title"), - link: t("hardfork.hardforks.3.links.4.link") - } + link: t("hardfork.hardforks.3.links.4.link"), + }, ], image: "fermion", }, @@ -144,12 +170,12 @@ const hardfork = ref([ links: [ { title: t("hardfork.hardforks.4.links.1.title"), - link: t("hardfork.hardforks.4.links.1.link") + link: t("hardfork.hardforks.4.links.1.link"), }, { title: t("hardfork.hardforks.4.links.2.title"), - link: t("hardfork.hardforks.4.links.2.link") - } + link: t("hardfork.hardforks.4.links.2.link"), + }, ], image: "gluon", }, @@ -162,15 +188,15 @@ const hardfork = ref([ links: [ { title: t("hardfork.hardforks.5.links.1.title"), - link: t("hardfork.hardforks.5.links.1.link") + link: t("hardfork.hardforks.5.links.1.link"), }, { title: t("hardfork.hardforks.5.links.2.title"), - link: t("hardfork.hardforks.5.links.2.link") - } + link: t("hardfork.hardforks.5.links.2.link"), + }, ], image: "gluon", - } + }, ]); const slidesToShow = ref(1); @@ -179,7 +205,7 @@ const customPrevButton = ref(null); const swiperRef = ref(null); const updateSlidesToShow = () => { - if (typeof window !== 'undefined') { + if (typeof window !== "undefined") { const width = window.innerWidth; if (width >= 1280) { slidesToShow.value = 2; diff --git a/components/hardfork/modal.vue b/components/hardfork/modal.vue index 348fda85..70b8bbc6 100644 --- a/components/hardfork/modal.vue +++ b/components/hardfork/modal.vue @@ -1,16 +1,33 @@ - + + @click.stop + > {{ title }} - - - + + + @@ -18,12 +35,16 @@ + :href="item.link" + > {{ item.title }} + name="layout/external" + /> @@ -33,7 +54,7 @@
{{ item.name }}
- {{ item.text.slice(0, 150) + '...' }} + {{ item.text.slice(0, 150) + "..." }}