From ef58c6fbb01b2c66ecf609f6e29afc5827a60d66 Mon Sep 17 00:00:00 2001 From: unional Date: Thu, 19 Sep 2024 00:48:03 -0700 Subject: [PATCH] docs: add icon --- pages/astro.config.mjs | 5 +++++ pages/public/favicon.svg | 15 +++++++-------- pages/public/type-plus.svg | 8 ++++++++ pages/src/content/docs/guides/getting-started.mdx | 2 +- pages/src/content/docs/index.mdx | 4 ++-- 5 files changed, 23 insertions(+), 11 deletions(-) create mode 100644 pages/public/type-plus.svg diff --git a/pages/astro.config.mjs b/pages/astro.config.mjs index b4136b0083..03b79e0d5c 100644 --- a/pages/astro.config.mjs +++ b/pages/astro.config.mjs @@ -10,6 +10,11 @@ export default defineConfig({ solidJs(), starlight({ title: 'type-plus', + logo: { + light: '/public/type-plus.svg', + dark: '/public/type-plus.svg', + }, + description: 'Provides over 200 utility types and functions for applications, library, and type-level programming.', social: { github: 'https://github.com/unional/type-plus', }, diff --git a/pages/public/favicon.svg b/pages/public/favicon.svg index f157bd1c5e..5e3e8949be 100644 --- a/pages/public/favicon.svg +++ b/pages/public/favicon.svg @@ -1,9 +1,8 @@ - - - + + + tp + + + + diff --git a/pages/public/type-plus.svg b/pages/public/type-plus.svg new file mode 100644 index 0000000000..5e3e8949be --- /dev/null +++ b/pages/public/type-plus.svg @@ -0,0 +1,8 @@ + + + tp + + + + + diff --git a/pages/src/content/docs/guides/getting-started.mdx b/pages/src/content/docs/guides/getting-started.mdx index 82946d144d..2003a26c62 100644 --- a/pages/src/content/docs/guides/getting-started.mdx +++ b/pages/src/content/docs/guides/getting-started.mdx @@ -2,7 +2,7 @@ title: Getting Started --- -[type-plus] provides a set of utility types and functions for applications, library, and type-level programming. +[type-plus] provides over 200 utility types and functions for applications, library, and type-level programming. ## Installation diff --git a/pages/src/content/docs/index.mdx b/pages/src/content/docs/index.mdx index 0eeb8697b0..e4858cf967 100644 --- a/pages/src/content/docs/index.mdx +++ b/pages/src/content/docs/index.mdx @@ -3,10 +3,10 @@ title: type-plus description: type-plus documentation template: splash hero: - tagline: Provides highly customizable types for consumption, testing, and building more types. + tagline: Provides over 200 utility types and functions for applications, library, and type-level programming. actions: - text: Getting started - link: /guides/example/ + link: /guides/getting-started/ icon: right-arrow variant: primary - text: Dive straight into the docs