Skip to content

Commit bcaa787

Browse files
committed
chore: Optimize images, update homepage
1 parent f3aba07 commit bcaa787

4 files changed

Lines changed: 23 additions & 6 deletions

File tree

justfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dev:
2+
pnpm run docs:dev
3+
4+
build:
5+
pnpm run docs:build
6+
7+
preview:
8+
pnpm run docs:preview

pages/.vitepress/config.mts

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default defineConfig({
55
title: "Oxi",
66
description: "Modern systems programming language",
77
head: [
8-
["link", { rel: "icon", href: "/oxi_logo.png" }],
8+
["link", { rel: "icon", href: "/oxi_logo.avif" }],
99

1010
// Open graph
1111
["meta", { property: "og:url", content: "https://oxilang.siesque.com/" }],
@@ -21,7 +21,7 @@ export default defineConfig({
2121
content: "Modern systems programming language",
2222
},
2323
],
24-
["meta", { property: "og:image", content: "/oxi_logo.png" }],
24+
["meta", { property: "og:image", content: "/oxi_logo.avif" }],
2525

2626
// Twitter
2727
["meta", { name: "twitter:card", content: "summary_large_image" }],
@@ -41,9 +41,10 @@ export default defineConfig({
4141
content: "Modern systems programming language",
4242
},
4343
],
44-
["meta", { name: "twitter:image", content: "/oxi_logo.png" }],
44+
["meta", { name: "twitter:image", content: "/oxi_logo.avif" }],
4545
],
4646
themeConfig: {
47+
logo: { src: "/oxi_logo.avif", width: 24, height: 24 },
4748
nav: [{ text: "Documentation", link: "/docs/" }],
4849
socialLinks: [{ icon: "github", link: "https://github.com/septechx/oxi" }],
4950
sidebar: [
@@ -55,6 +56,9 @@ export default defineConfig({
5556
],
5657
},
5758
],
59+
search: {
60+
provider: "local",
61+
},
5862
},
5963
sitemap: {
6064
hostname: "https://oxilang.siesque.com",

pages/index.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ description: Modern systems programming language
66

77
hero:
88
name: Oxi
9-
text: Modern systems programming language
10-
image: oxi_logo.png
9+
tagline: Modern systems programming language for efficient software
10+
image:
11+
src: oxi_logo.avif
12+
alt: Oxi icon
1113
actions:
1214
- theme: brand
1315
text: Get Started
@@ -22,5 +24,8 @@ features:
2224
details: Oxi has a tiny runtime and compiles to native machine code.
2325
- title: C Interoperability
2426
icon: 🛠️
25-
details: Oxi supports importing C headers and calling C functions without any additional setup.
27+
details: Oxi has native support for importing C headers as modules.
28+
- title: Strongly typed
29+
icon: 🎯
30+
details: Oxi catches entire categories of bugs at compile time with expressive static types.
2631
---

pages/public/oxi_logo.avif

12 KB
Binary file not shown.

0 commit comments

Comments
 (0)