From 1fe92676ed9dc9f2021790d19f24606d6d7b4392 Mon Sep 17 00:00:00 2001 From: Sanjaiyan Parthipan Date: Fri, 15 Sep 2023 14:22:59 +0530 Subject: [PATCH] docs: enhancements for a smoother user experience --- docs/.vitepress/components/Contributors.vue | 2 +- docs/.vitepress/components/HomePage.vue | 5 ++++- packages/ui/client/styles/main.css | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/.vitepress/components/Contributors.vue b/docs/.vitepress/components/Contributors.vue index 6fa8dcd327fb..5b33628c3020 100644 --- a/docs/.vitepress/components/Contributors.vue +++ b/docs/.vitepress/components/Contributors.vue @@ -5,7 +5,7 @@ import { contributors } from '../contributors' diff --git a/docs/.vitepress/components/HomePage.vue b/docs/.vitepress/components/HomePage.vue index 534c1add4576..ad36b5d1fa93 100644 --- a/docs/.vitepress/components/HomePage.vue +++ b/docs/.vitepress/components/HomePage.vue @@ -38,6 +38,7 @@ import { teamMembers } from '../contributors' loading="lazy" src="/sponsors/antfu.svg" alt="Anthony Fu's sponsors" + decoding="async" > @@ -52,6 +53,7 @@ import { teamMembers } from '../contributors' loading="lazy" src="/sponsors/sheremet-va.svg" alt="Vladimir's sponsors" + decoding="async" > @@ -66,13 +68,14 @@ import { teamMembers } from '../contributors' loading="lazy" src="/sponsors/patak-dev.svg" alt="Patak's sponsors" + decoding="async" >

- Deploys by Netlify + Deploys by Netlify

diff --git a/packages/ui/client/styles/main.css b/packages/ui/client/styles/main.css index 782b03d52a9b..2a4d6b342436 100644 --- a/packages/ui/client/styles/main.css +++ b/packages/ui/client/styles/main.css @@ -2,6 +2,7 @@ html, body { height: 100%; font-family: 'Readex Pro', sans-serif; + scroll-behavior: smooth; } :root {