Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update vitepress config and theme styles #113

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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);
}
}
Loading