From 2b300f127692c985e62413b10853c3e22d00b6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javis=20V=2E=20P=C3=A9rez?= Date: Mon, 11 Mar 2024 18:37:07 -0400 Subject: [PATCH 1/4] Update the cache-dependency-path --- .github/workflows/build-deploy-docs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-deploy-docs.yaml b/.github/workflows/build-deploy-docs.yaml index ec3d003f..404cd6d5 100644 --- a/.github/workflows/build-deploy-docs.yaml +++ b/.github/workflows/build-deploy-docs.yaml @@ -40,6 +40,7 @@ jobs: with: node-version: 20 cache: pnpm + cache-dependency-path: docs - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies From c217eaa9300d31f33361ab44f4dba04e377dd553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javis=20V=2E=20P=C3=A9rez?= Date: Mon, 11 Mar 2024 18:59:04 -0400 Subject: [PATCH 2/4] Read the assets from '/kitops' --- docs/.vitepress/config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 21c2197b..ee629357 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -9,7 +9,7 @@ export default defineConfig({ srcDir: 'src', title: 'KitOps', description: 'Documentation for KitOps', - // base: '/kitops', // We'll have to enable this if we wont be using a custom domain / c-name record. + base: '/kitops', head: [ ['link', { rel: "apple-touch-icon", sizes: "180x180", href: "/favicons/apple-touch-icon.png"}], From c2f99217b106b2b4378c5fda63ced9bdb5e9fe60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javis=20V=2E=20P=C3=A9rez?= Date: Tue, 12 Mar 2024 08:35:09 -0400 Subject: [PATCH 3/4] UI fixes --- docs/.vitepress/config.mts | 2 +- docs/.vitepress/theme/assets/css/tailwind.css | 8 +- docs/.vitepress/theme/components/Blog.vue | 6 +- docs/.vitepress/theme/components/Footer.vue | 6 +- docs/.vitepress/theme/components/Home.vue | 118 +++++++++--------- 5 files changed, 74 insertions(+), 66 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index ee629357..0f589aec 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -92,7 +92,7 @@ export default defineConfig({ socialLinks: [ { icon: 'discord', - link: 'https://discord.gg/XzSmtPn3' + link: 'https://discord.gg/bYeHxpT3' }, { icon: 'github', diff --git a/docs/.vitepress/theme/assets/css/tailwind.css b/docs/.vitepress/theme/assets/css/tailwind.css index b41567cf..36f0b963 100644 --- a/docs/.vitepress/theme/assets/css/tailwind.css +++ b/docs/.vitepress/theme/assets/css/tailwind.css @@ -169,8 +169,8 @@ @layer components { .kit-button { @apply inline-block appearance-none; - @apply px-6 py-4 relative; - @apply text-gold font-bold uppercase; + @apply px-5 py-3 relative; + @apply text-gold font-bold uppercase text-center; @apply hocus:text-white; border: 2px solid var(--color-gold); @@ -183,6 +183,7 @@ background-image: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,0) 10.1%, rgba(255,255,255,0) 100%); @media screen(md) { + @apply text-left; font-size: 16px; letter-spacing: 2.4px; } @@ -211,10 +212,11 @@ } .kit-cards { - @apply grid grid-cols-1 md:grid-cols-3 gap-2; + @apply grid grid-cols-1 lg:grid-cols-3 gap-2; > .kit-card { @apply border border-gray-02 p-8 xl:p-10; + @apply w-full max-w-md mx-auto; } .kit-card h4 { diff --git a/docs/.vitepress/theme/components/Blog.vue b/docs/.vitepress/theme/components/Blog.vue index 1e6184d0..c44bd876 100644 --- a/docs/.vitepress/theme/components/Blog.vue +++ b/docs/.vitepress/theme/components/Blog.vue @@ -118,7 +118,7 @@ watchEffect(() => {

{{ post.title }}

-

{{ post.description }}

+

{{ post.description }}

{{ post.author }}
@@ -127,6 +127,10 @@ watchEffect(() => {