Skip to content

Commit 40517bf

Browse files
docs: homepage styling
1 parent 01b8e65 commit 40517bf

File tree

2 files changed

+17
-39
lines changed

2 files changed

+17
-39
lines changed

docs/.vitepress/theme/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
.dark {
7474
--vp-c-brand-1: hsl(44, 69%, 64%);
75-
--vp-c-brand-2: hsl(35, 67%, 47%);
75+
--vp-c-brand-2: rgb(200, 133, 40);
7676
--vp-c-brand-3: hsl(43, 66%, 49%);
7777
--vp-c-brand-soft: hsla(54, 30%, 35%, 0.161);
7878
}
@@ -99,9 +99,9 @@
9999

100100
:root {
101101
--vp-home-hero-name-color: transparent;
102-
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #e5582a, #f7ee8d);
102+
--vp-home-hero-name-background: -webkit-linear-gradient(120deg, #e5582a 30%, #e3c164);
103103

104-
--vp-home-hero-image-background-image: -webkit-linear-gradient(45deg, #e52a2a, #c5e52a);
104+
--vp-home-hero-image-background-image: linear-gradient(32deg, #e52a2a 37%, #d0a73e 5%);
105105
--vp-home-hero-image-filter: blur(44px);
106106
}
107107

docs/src/index.md

Lines changed: 14 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -58,41 +58,19 @@ features:
5858
---
5959

6060
<script setup>
61-
import {
62-
VPTeamPage,
63-
VPTeamPageTitle,
64-
VPTeamMembers
65-
} from 'vitepress/theme'
66-
67-
const members = [
68-
{
69-
avatar: 'https://github.com/arthurfiorette.png',
70-
name: 'Arthur Fiorette',
71-
title: 'Creator',
72-
links: [
73-
{ icon: 'github', link: 'https://github.com/arthurfiorette' },
74-
{ icon: 'twitter', link: 'https://twitter.com/arthurfiorette' },
75-
{ icon: 'instagram', link: 'https://instagram.com/arthurfiorette' }
76-
]
77-
},
78-
]
61+
import { VPTeamPageTitle } from 'vitepress/theme'
7962
</script>
8063

81-
<VPTeamPage>
82-
<VPTeamPageTitle>
83-
<template #title>
84-
Our Team
85-
</template>
86-
<template #lead>
87-
Composed of a diverse group of people from all over the world through our open source community.
88-
</template>
89-
</VPTeamPageTitle>
90-
<VPTeamMembers
91-
:members="members"
92-
/>
93-
<div class="contributors">
94-
<a href="https://github.com/arthurfiorette/axios-cache-interceptor/graphs/contributors">
95-
<img src="https://contrib.rocks/image?repo=arthurfiorette/axios-cache-interceptor" />
96-
</a>
97-
</div>
98-
</VPTeamPage>
64+
<VPTeamPageTitle>
65+
<template #title>
66+
Our Team
67+
</template>
68+
<template #lead>
69+
Composed of a diverse group of people from all over the world through our open source community.
70+
</template>
71+
</VPTeamPageTitle>
72+
<div class="contributors">
73+
<a href="https://github.com/arthurfiorette/axios-cache-interceptor/graphs/contributors">
74+
<img src="https://contrib.rocks/image?repo=arthurfiorette/axios-cache-interceptor" />
75+
</a>
76+
</div>

0 commit comments

Comments
 (0)