Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 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
7a13a6b
remove branding page
mdong1909 Dec 29, 2025
de6a278
update og image's stylized "e"
mdong1909 Dec 29, 2025
e3d2d18
make copyright year dynamic
mdong1909 Dec 29, 2025
eb53abd
remove spacer in landing
mdong1909 Dec 29, 2025
5c6d875
Merge branch 'main' into rebrand
mdong1909 Dec 29, 2025
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
3 changes: 1 addition & 2 deletions .vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ export const enConfig = defineLocaleConfig("root", {
{ text: "Release Blog", link: BLOG_SIDEBAR[0].link },
{ text: "Endorsements", link: "/endorsements" },
{ text: "Team", link: "/team" },
{ text: "Releases", link: "https://github.com/oxc-project/oxc/releases" },
{ text: "Branding", link: "/branding" },
{ text: "Release Notes", link: "https://github.com/oxc-project/oxc/releases" },
{ 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,
},
}),
);
72 changes: 55 additions & 17 deletions .vitepress/config/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@
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 llmstxt from "vitepress-plugin-llms";
import {
groupIconMdPlugin,
groupIconVitePlugin,
localIconLoader,
} from "vitepress-plugin-group-icons";

function inlineScript(file: string): HeadConfig {
return ["script", {}, readFileSync(resolve(__dirname, `./inlined-scripts/${file}`), "utf-8")];
Expand All @@ -14,7 +17,8 @@
"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 Down Expand Up @@ -109,6 +113,14 @@
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 @@ -117,6 +129,7 @@
socialLinks: [
{ icon: "bluesky", link: "https://bsky.app/profile/boshen.github.io" },
{ icon: "discord", link: "https://discord.gg/9uXCAwqQZW" },
{ icon: "x", link: "https://x.com/OxcProject" },
{ icon: "github", link: "https://github.com/oxc-project/oxc" },
],
lastUpdated: {
Expand All @@ -125,8 +138,40 @@
},
},
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 @@ -135,31 +180,24 @@
},
},
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(),

Check failure on line 193 in .vitepress/config/shared.ts

View workflow job for this annotation

GitHub Actions / Lint

typescript(TS2304)

Cannot find name '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
Loading