diff --git a/.vitepress/config.ts b/.vitepress/config.ts index 89b4f6b0..ad51af46 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -102,9 +102,6 @@ export default withMermaid( themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ - { - component: 'HomeNavLinks', - }, { text: 'Get Started', link: '/get-started/welcome', @@ -159,6 +156,8 @@ export default withMermaid( siteTitle: false, + logoLink: '/get-started/welcome', + logo: { light: '/Logo-RLC-Yellow.png', dark: '/Logo-RLC-Yellow.png', diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 8b7e2335..dce6dca2 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -1,17 +1,8 @@ - - diff --git a/.vitepress/theme/index.ts b/.vitepress/theme/index.ts index adbb04ec..f17cd7fa 100644 --- a/.vitepress/theme/index.ts +++ b/.vitepress/theme/index.ts @@ -11,7 +11,6 @@ import { WagmiPlugin } from '@wagmi/vue'; import { createPinia } from 'pinia'; import { wagmiAdapter } from '@/utils/wagmiConfig'; import ChainSelector from '@/components/ChainSelector.vue'; -import HomeNavLinks from '@/components/HomeNavLinks.vue'; import './style.css'; declare global { @@ -39,7 +38,6 @@ export default { app.use(WagmiPlugin, { config: wagmiAdapter.wagmiConfig }); app.component('ChainSelector', ChainSelector); - app.component('HomeNavLinks', HomeNavLinks); if (typeof window !== 'undefined') { // Ensure dataLayer exists diff --git a/.vitepress/theme/style.css b/.vitepress/theme/style.css index 5978f510..0444fbf5 100644 --- a/.vitepress/theme/style.css +++ b/.vitepress/theme/style.css @@ -449,65 +449,3 @@ input { .vp-doc .custom-block.details strong { @apply text-[var(--vp-c-details-1)]; } - -/** - * HomePage: rewrite - * -------------------------------------------------------------------------- */ - -:root { - --vp-home-hero-name-color: var(--vp-c-text-1); -} -.VPContent.is-home { - @apply overflow-x-hidden; -} - -.VPHero.has-image.VPHomeHero { - @apply lg:pb-0; -} - -.VPHero.has-image.VPHomeHero p { - @apply font-normal text-[var(--vp-home-hero-name-color)]; -} - -.VPLink.link.VPFeature { - @apply relative rounded-[32px] border bg-gradient-to-b from-[var(--vp-c-white)] to-[var(--vp-c-white)] transition-all duration-300 *:relative *:z-20 after:absolute after:inset-px after:z-10 after:rounded-[31px] after:bg-[var(--vp-c-bg-soft)] hover:shadow-lg; -} - -.dark .VPLink.link.VPFeature { - @apply from-[var(--c-border)] to-transparent; -} - -article.box .icon { - @apply size-14 rounded-[14px] bg-[var(--vp-c-bg-soft)] p-2; - box-shadow: - -12.835px -12.835px 21.392px 0 var(--vp-c-bg), - 12.835px 12.835px 21.392px 0 var(--vp-c-bg); -} - -article.box .icon ._stroke { - @apply stroke-[var(--vp-c-brand-1)]; -} - -article.box .icon ._fill { - @apply fill-[var(--vp-c-brand-1)]; -} - -/* Image */ - -.VPImage.image-src { - @apply lg:size-[448px]! lg:max-h-none lg:max-w-none; -} - -.image .image-container { - @apply relative flex items-center justify-center; -} - -.image .image-container::before { - @apply pointer-events-none absolute top-[60%] left-1/2 -z-10 size-[724px] -translate-x-1/2 -translate-y-1/2 bg-contain bg-center bg-no-repeat lg:h-[929px] lg:w-[995px]; - content: ''; - background-image: url('/bg-gradient.svg'); -} - -.image .image-container .VPImage.image-src { - @apply z-10 lg:relative; -} diff --git a/src/assets/icons/ctoken.svg b/src/assets/icons/ctoken.svg deleted file mode 100644 index 0c6310f9..00000000 --- a/src/assets/icons/ctoken.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/assets/icons/gov.svg b/src/assets/icons/gov.svg deleted file mode 100644 index ae6110a0..00000000 --- a/src/assets/icons/gov.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/assets/icons/hello-world.svg b/src/assets/icons/hello-world.svg deleted file mode 100644 index 416791a3..00000000 --- a/src/assets/icons/hello-world.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/assets/icons/nox.svg b/src/assets/icons/nox.svg deleted file mode 100644 index 13f1fdd3..00000000 --- a/src/assets/icons/nox.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/src/assets/icons/poco.svg b/src/assets/icons/poco.svg deleted file mode 100644 index 4d3afc00..00000000 --- a/src/assets/icons/poco.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/assets/icons/smart-contracts.svg b/src/assets/icons/smart-contracts.svg deleted file mode 100644 index 959cda1b..00000000 --- a/src/assets/icons/smart-contracts.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/icons/tee.svg b/src/assets/icons/tee.svg deleted file mode 100644 index b017c914..00000000 --- a/src/assets/icons/tee.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/assets/images/doc-landing.png b/src/assets/images/doc-landing.png deleted file mode 100644 index 15a9cf55..00000000 Binary files a/src/assets/images/doc-landing.png and /dev/null differ diff --git a/src/components/HomeNavLinks.vue b/src/components/HomeNavLinks.vue deleted file mode 100644 index b6542012..00000000 --- a/src/components/HomeNavLinks.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - diff --git a/src/components/HomePage.vue b/src/components/HomePage.vue deleted file mode 100644 index 0e9ce50d..00000000 --- a/src/components/HomePage.vue +++ /dev/null @@ -1,604 +0,0 @@ - - - - - - - diff --git a/src/index.md b/src/index.md deleted file mode 100644 index a46101aa..00000000 --- a/src/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -layout: home -titleTemplate: iExec Documentation ---- - - - - diff --git a/src/public/bg-gradient.svg b/src/public/bg-gradient.svg deleted file mode 100644 index 2966320e..00000000 --- a/src/public/bg-gradient.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vercel.json b/vercel.json index a87d768e..44a1f86a 100644 --- a/vercel.json +++ b/vercel.json @@ -5,14 +5,19 @@ "cleanUrls": true, "trailingSlash": false, "redirects": [ + { + "source": "/", + "destination": "/get-started/welcome", + "permanent": false + }, { "source": "/nox-protocol/:path*", - "destination": "https://docs.noxprotocol.io/:path*", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/nox-protocol", - "destination": "https://docs.noxprotocol.io/", + "destination": "/get-started/welcome", "permanent": true }, { @@ -26,57 +31,57 @@ }, { "source": "/tools/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/overview/what-we-do", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/overview/helloWorld", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/overview/helloWorld/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/overview/use-case-demo", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/overview/use-case-demo/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/for-developers/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/for-workers/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/key-concepts/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/use-cases/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, { "source": "/help/:path*", - "destination": "/", + "destination": "/get-started/welcome", "permanent": true }, {