Skip to content

Commit a3e98de

Browse files
Merge pull request #21 from osvauld/theme-port
Theme port
2 parents 014c711 + 697e7e0 commit a3e98de

31 files changed

Lines changed: 1125 additions & 3552 deletions

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ dist/
33
# generated types
44
.astro/
55

6+
public/d2/
7+
68
# dependencies
79
node_modules/
810

astro.config.mjs

Lines changed: 72 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3+
import { ion } from "starlight-ion-theme";
34

45
import d2 from "astro-d2";
56

7+
const orgSchema = {
8+
"@context": "https://schema.org",
9+
"@type": "Organization",
10+
"@id": "https://osvauld.com/#organization",
11+
"url": "https://docs.osvauld.com",
12+
"name": "Osvauld",
13+
"legalName": "OSVAULD SECURITY SOLUTIONS PRIVATE LIMITED",
14+
"description": "Own Your Data, Leave No Footprint with Osvauld - a Rust framework for building peer-to-peer applications with privacy, security, and user control.",
15+
"slogan": "Own Your Data, Leave No Footprint",
16+
"logo": "https://www.osvauld.com/assets/logo.png",
17+
"sameAs": [
18+
"https://github.com/osvauld",
19+
"https://www.osvauld.com",
20+
"https://in.linkedin.com/company/osvauld",
21+
"https://buymeacoffee.com/osvauld",
22+
"https://osvauld.com/#corporation"
23+
]
24+
}
25+
626
// https://astro.build/config
727
export default defineConfig({
828
integrations: [starlight({
9-
title: "Osvauld Docs",
29+
title: "Documentation",
30+
favicon: '/favicon.ico',
31+
social: [
32+
{ icon: 'telegram', label: 'Telegram', href: 'https://t.me/+tjZLZK8JV8g0NTVl'},
33+
{
34+
icon: 'github',
35+
label: 'GitHub',
36+
href: 'https://github.com/osvauld/osvauld',
37+
},
38+
{
39+
icon: 'email',
40+
label: 'Email',
41+
href: 'mailto:abe@osvauld.com?subject=Hello Osvauld',
42+
}
43+
],
1044
customCss: ["./src/styles/custom.css"],
1145
sidebar: [
1246
{
@@ -35,7 +69,43 @@ export default defineConfig({
3569
],
3670
},
3771
],
38-
}),
72+
head: [
73+
{
74+
tag: 'meta',
75+
attrs: {
76+
property: 'og:image',
77+
content: '/osvauldthumb.png',
78+
},
79+
},
80+
{
81+
tag: 'meta',
82+
attrs: {
83+
property: 'og:image:alt',
84+
content: 'Osvauld Documentation Preview',
85+
},
86+
},
87+
{
88+
tag: 'meta',
89+
attrs: {
90+
name: 'twitter:card',
91+
content: 'summary_large_image',
92+
},
93+
},
94+
{
95+
tag: 'meta',
96+
attrs: {
97+
name: 'twitter:image',
98+
content: '/osvauldthumb.png',
99+
},
100+
},
101+
{
102+
tag: 'script',
103+
attrs: { type: 'application/ld+json' },
104+
content: JSON.stringify(orgSchema),
105+
},
106+
],
107+
plugins: [ion()],
108+
},),
39109

40110
d2({
41111
layout: "elk"

0 commit comments

Comments
 (0)