Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a8b7382
chore: gitignore
marchantweb Dec 3, 2025
d7c5dd0
feat: first pass
marchantweb Dec 3, 2025
2850d47
feat: first pass
marchantweb Dec 3, 2025
3a6b4c9
feat: Footer
marchantweb Dec 4, 2025
0b07904
feat: Sponsors
marchantweb Dec 4, 2025
e9f012d
feat: Sponsors
marchantweb Dec 4, 2025
3d547b0
chore: bump theme version
marchantweb Dec 17, 2025
c93c8db
Merge remote-tracking branch 'upstream/main'
marchantweb Dec 18, 2025
cba4159
feat: trusted by updated
marchantweb Dec 19, 2025
21a2a05
feat: trusted by updated
marchantweb Dec 21, 2025
6f4b254
feat: feature toolbar constrained to features
marchantweb Dec 21, 2025
ab294ee
fix: extra spacer
marchantweb Dec 21, 2025
4b6bd82
feat: deploy latest theme
marchantweb Dec 21, 2025
67bb18a
fix: update favicon and group icon
mdong1909 Dec 22, 2025
d49f61e
fix: mobile sponsors
marchantweb Dec 22, 2025
3aed514
fix: dropped old footer
marchantweb Dec 22, 2025
c9a5970
feat: clean up
marchantweb Dec 22, 2025
4915494
Merge pull request #1 from mdong1909/main
marchantweb Dec 22, 2025
a4c9a9c
Merge remote-tracking branch 'upstream/main'
marchantweb Dec 23, 2025
0a199b0
chore: merge conflicts
marchantweb Dec 23, 2025
1c0641f
update
Boshen Dec 23, 2025
264e449
add x
Boshen Dec 23, 2025
0bc12d1
chore: bump theme
marchantweb Dec 23, 2025
0ea0dc7
Merge remote-tracking branch 'origin/main'
marchantweb Dec 23, 2025
e753712
fix: remove backer w/o image
marchantweb Dec 23, 2025
2730ef1
chore: bump theme + banner
marchantweb Dec 23, 2025
49ab0ea
bump theme
yyx990803 Dec 26, 2025
eb6fdf4
move landing page into project
yyx990803 Dec 26, 2025
716227f
make lint pass
yyx990803 Dec 26, 2025
7d09b4c
Merge branch 'main' into main
yyx990803 Dec 26, 2025
4d7be54
make knip pass
yyx990803 Dec 26, 2025
8ebc542
Merge branch 'main' into main
leaysgur Dec 26, 2025
4c928bd
bump theme + adjust css usage
yyx990803 Dec 26, 2025
f01a61e
use smaller logo + update og + logotypes
yyx990803 Dec 26, 2025
d8960bf
update og, remove branding, make make copyright year dynamic (#741)
mdong1909 Dec 29, 2025
4a4d765
fix: add team member image size override (#772)
mdong1909 Jan 13, 2026
6bef1a4
Merge main into rebrand
mdong1909 Jan 13, 2026
76bb5c5
chore(deps): bump theme
mdong1909 Jan 13, 2026
7d86caa
docs: use smaller avators for sponsors
sapphi-red Jan 13, 2026
49174f1
docs: fix og image url
sapphi-red Jan 13, 2026
7a6268a
chore: reduce og image size
mdong1909 Jan 13, 2026
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
1 change: 0 additions & 1 deletion .vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const enConfig = defineLocaleConfig("root", {
{ text: "Endorsements", link: "/endorsements" },
{ text: "Team", link: "/team" },
{ text: "Releases", link: "https://github.com/oxc-project/oxc/releases" },
{ text: "Branding", link: "/branding" },
{ text: "Website GitHub", link: "https://github.com/oxc-project/oxc-project.github.io" },
],
},
Expand Down
20 changes: 12 additions & 8 deletions .vitepress/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@ import { enConfig } from "./en";
import { rssConfig } from "./rss";
import { sharedConfig } from "./shared";

export default defineConfig({
...sharedConfig,
...rssConfig,
head: [...sharedConfig.head!, ...rssConfig.head!],
locales: {
...enConfig,
},
});
import { extendConfig } from "@voidzero-dev/vitepress-theme/config";

export default extendConfig(
defineConfig({
...sharedConfig,
...rssConfig,
head: [...sharedConfig.head!, ...rssConfig.head!],
locales: {
...enConfig,
},
}),
);
74 changes: 56 additions & 18 deletions .vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { readFileSync } from "node:fs";
import { dirname, resolve } from "node:path";
import { fileURLToPath } from "node:url";
import { defineConfig, HeadConfig } from "vitepress";
import { groupIconMdPlugin, groupIconVitePlugin } from "vitepress-plugin-group-icons";
import {
groupIconMdPlugin,
groupIconVitePlugin,
localIconLoader,
} from "vitepress-plugin-group-icons";
import llmstxt from "vitepress-plugin-llms";

function inlineScript(file: string): HeadConfig {
Expand All @@ -14,7 +18,8 @@ const head: HeadConfig[] = [
"link",
{
rel: "icon",
href: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/square.ico",
type: "image/svg+xml",
href: "/logo-without-border.svg",
},
],
// Open Graph
Expand All @@ -23,7 +28,7 @@ const head: HeadConfig[] = [
"meta",
{
property: "og:image",
content: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/preview-universal.png",
content: "https://oxc.rs/og.jpg",
},
],
// Twitter (X)
Expand All @@ -33,7 +38,7 @@ const head: HeadConfig[] = [
"meta",
{
name: "twitter:image",
content: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/preview-universal.png",
content: "https://oxc.rs/og.jpg",
},
],
// banner
Expand Down Expand Up @@ -109,6 +114,14 @@ export const sharedConfig = defineConfig({
pageData.frontmatter.head.push(["meta", { property: "og:url", content: url }]);
},
themeConfig: {
variant: "oxc",

banner: {
id: "type-aware-alpha",
text: "Announcing Type-Aware Linting Alpha",
url: "https://oxc.rs/blog/2025-12-08-type-aware-alpha",
},

siteTitle: "Oxc",
logo: "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/round.svg",
search: {
Expand All @@ -126,8 +139,40 @@ export const sharedConfig = defineConfig({
},
},
footer: {
message: `Released under the MIT License.`,
copyright: "Copyright © 2023-present VoidZero Inc.",
copyright: `© ${new Date().getFullYear()} VoidZero Inc. and Oxc contributors.`,
nav: [
{
title: "Oxc",
items: [
{ text: "Guide", link: "/docs/guide/introduction" },
{ text: "Learn", link: "/docs/learn/parser_in_rust/intro" },
{ text: "Contribute", link: "/docs/contribute/introduction" },
{ text: "Playground", link: "https://playground.oxc.rs" },
{ text: "Sponsor", link: "/sponsor" },
],
},
{
title: "Resources",
items: [
{ text: "Blog", link: "/blog/2025-12-01-oxfmt-alpha" },
{ text: "Team", link: "/team" },
],
},
/*{
title: "Legal",
items: [
{ text: "Terms & Conditions", link: "https://voidzero.dev/terms" },
{ text: "Privacy Policy", link: "https://voidzero.dev/privacy" },
{ text: "Cookie Policy", link: "https://voidzero.dev/cookies" },
],
},*/
],
social: [
{ icon: "github", link: "https://github.com/oxc-project/oxc" },
{ icon: "discord", link: "https://discord.gg/9uXCAwqQZW" },
{ icon: "x", link: "https://x.com/OxcProject" },
{ icon: "bluesky", link: "https://bsky.app/profile/boshen.github.io" },
],
},
},
markdown: {
Expand All @@ -136,31 +181,24 @@ export const sharedConfig = defineConfig({
},
},
vite: {
publicDir: resolve(dirname(fileURLToPath(import.meta.url)), "../../public"),
optimizeDeps: {
exclude: ["@docsearch/css"],
},
plugins: [
groupIconVitePlugin({
customIcon: {
".oxlintrc": "https://cdn.jsdelivr.net/gh/oxc-project/oxc-assets/round.svg",
".oxlintrc": localIconLoader(import.meta.url, "../../public/logo-without-border.svg"),
},
}),
llmstxt(),
],
resolve: {
alias: [
{
find: "@components",
replacement: resolve(dirname(fileURLToPath(import.meta.url)), "../theme/components"),
},
{
find: "@constants",
replacement: resolve(dirname(fileURLToPath(import.meta.url)), "../theme/constants"),
},
{
find: /^.*\/VPHero\.vue$/,
replacement: resolve(
dirname(fileURLToPath(import.meta.url)),
"../theme/components/Hero.vue",
),
},
],
},
},
Expand Down
74 changes: 0 additions & 74 deletions .vitepress/theme/components/Alert.vue

This file was deleted.

37 changes: 0 additions & 37 deletions .vitepress/theme/components/AppBadgeList.vue

This file was deleted.

117 changes: 0 additions & 117 deletions .vitepress/theme/components/Banner.vue

This file was deleted.

Loading