Skip to content

Commit 0e77f22

Browse files
committed
docs - index contact us section
1 parent ada9250 commit 0e77f22

File tree

3 files changed

+81
-4
lines changed

3 files changed

+81
-4
lines changed

assets/css/custom.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
@import url(https://fonts.googleapis.com/css?family=Space+Mono:regular,italic,700,700italic);
2+
@import url(https://fonts.googleapis.com/css?family=Space+Grotesk:regular,italic,700,700italic);
3+
4+
:root {
5+
--vp-c-brand: #ff7340;
6+
--vp-c-brand-light: #ff5719;
7+
--vp-c-brand-lighter: #ff7340;
8+
--vp-c-brand-lighter: rgba(255, 135, 23, 0.25);
9+
--vp-c-brand-dark: #ff622d;
10+
--vp-c-brand-darker: #e23c00;
11+
12+
--vp-c-sponsor: #fd1d7c;
13+
14+
/* Typography */
15+
--vp-font-family-base: "Space Grotesk", "Inter var experimental", "Inter var",
16+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
17+
Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
18+
19+
/* Code Snippet font */
20+
--vp-font-family-mono: "Space Mono", Menlo, Monaco, Consolas, "Courier New",
21+
monospace;
22+
}
23+
24+
/* Custom Stlye */
25+
.custom-layout {
26+
background-color: var(--vp-c-bg-soft);
27+
color: var(--vp-c-text-1);
28+
padding: 1.5rem;
29+
display: flex;
30+
flex-direction: column;
31+
align-items: center;
32+
justify-content: center;
33+
text-align: center;
34+
gap: 1rem;
35+
min-height: 400px;
36+
max-width: 1152px;
37+
margin: 6rem auto 0;
38+
border-radius: 10px;
39+
}
40+
41+
.custom-layout h1 {
42+
font-size: 2.2rem;
43+
font-weight: 600;
44+
}
45+
46+
.custom-layout .btn {
47+
background-color: var(--vp-button-brand-bg);
48+
color: var(--vp-button-brand-text);
49+
border-radius: 20px;
50+
padding: 0.5rem 1.4rem;
51+
}
52+
53+
/* Logo theme switching */
54+
.feature-icon img {
55+
transition: opacity 0.3s ease;
56+
}
57+
58+
.feature-icon .light-logo {
59+
display: block;
60+
}
61+
62+
.feature-icon .dark-logo {
63+
display: none;
64+
}
65+
66+
.dark .feature-icon .light-logo {
67+
display: none;
68+
}
69+
70+
.dark .feature-icon .dark-logo {
71+
display: block;
72+
}

nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export default defineNuxtConfig({
5353
},
5454
css: [
5555
join(currentDir, './assets/css/themes.css'),
56+
join(currentDir, './assets/css/custom.css'),
5657
//'~/assets/css/tailwind.css',
5758
join(currentDir, './www/assets/css/tailwind.css'),
5859
],

www/content/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ keywords: "Comfort ERP Documentation, Comfort Accounting Documentation, Comfort
2222

2323
::hero
2424
---
25-
announcement:
26-
title: 'v1.1 release'
27-
icon: '🎉'
28-
to: /
2925
actions:
3026
- name: Get Started
3127
to: /
@@ -46,3 +42,11 @@ Comfort ERP Documentation
4642
#description
4743
Documentation for Comfort ERP plugins
4844
::
45+
46+
<!-- Custom home layout -->
47+
<div class="custom-layout custom-layout-1">
48+
<h1>🏀</h1>
49+
<h1>Contact Us</h1>
50+
<p>We are continuously updating this documentation but you may have custom query.</p>
51+
<a href="https://comforterp.com/contact-us" target="_blank" class="btn">Contact us</a>
52+
</div>

0 commit comments

Comments
 (0)