Skip to content

Commit

Permalink
Merge pull request #113 from Undertone0809/v1.3.1/add-seo
Browse files Browse the repository at this point in the history
docs: update vitepress config and theme styles
  • Loading branch information
Undertone0809 authored Oct 21, 2024
2 parents 3e51d31 + 5c44f92 commit 3efd59e
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
19 changes: 19 additions & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,25 @@ export default defineConfig({
description: "🚀 Your git AI copilot",
head: [
['link', { rel: 'icon', href: '/gcop-logo.ico' }],
[
'script',
{
defer: 'true',
'data-website-id': '77d0dd59-9095-463b-a317-b49b373af92d',
src: 'https://umami.zeeland.top/script.js'
}
],
['meta', { property: 'description', content: 'GCOP is an intelligent assistant designed to enhance your Git workflow by automating commit message generation using AI.' }],
['meta', { property: 'keywords', content: 'gcop, git, git copilot, LLM' }],
['meta', { property: 'og:site_name', content: 'GCOP' }],
['meta', { property: 'og:url', content: 'https://gcop.zeeland.top' }],
['meta', { property: 'og:title', content: 'GCOP' }],
['meta', { property: 'og:description', content: 'GCOP is an intelligent assistant designed to enhance your Git workflow by automating commit message generation using AI.' }],
['meta', { property: 'og:image', content: 'https://r2.zeeland.top/images/2024/10/b03949e6bc43d71b7ddab3d70515eee0.png' }],
['meta', { property: 'twitter:card', content: 'summary_large_image' }],
['meta', { property: 'twitter:image', content: 'https://r2.zeeland.top/images/2024/10/b03949e6bc43d71b7ddab3d70515eee0.png' }],
['meta', { property: 'twitter:title', content: 'GCOP' }],
['meta', { property: 'twitter:description', content: 'GCOP is an intelligent assistant designed to enhance your Git workflow by automating commit message generation using AI.' }],
],
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
Expand Down
26 changes: 19 additions & 7 deletions docs/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
@tailwind components;
@tailwind utilities;

:root {
:root {
--vp-c-bg: #f0efea;
--vp-c-bg-alt: #fafaf8;
--vp-c-bg-elv: #ffffff;
Expand All @@ -61,14 +61,14 @@
--vp-c-bg-soft: #383735;
}

:root {
:root {
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
--vp-c-default-soft: var(--vp-c-gray-soft);

--vp-c-brand-1: #d77a59;
--vp-c-brand-2: #dfa691 ;
--vp-c-brand-2: #dfa691;
--vp-c-brand-3: #b15f3b;
--vp-c-brand-soft: #8b4424;

Expand Down Expand Up @@ -157,10 +157,22 @@

.VPFeature * {
transition: transform 0.25s ease;
}

.VPFeature:hover * {
}

.grid-3 {
margin-top: 100px;
}

.VPHome {
margin-top: 100px;
}

.VPFeature {
padding: 10px;
}

.VPFeature:hover * {
color: var(--vp-c-text-1);
transform: scale(1.01);
border-color: var(--vp-c-brand-1);
}
}

0 comments on commit 3efd59e

Please sign in to comment.