Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 7 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,13 @@ module.exports = {
defaultMode: "dark",
respectPrefersColorScheme: false,
},
announcementBar: {
id: "kubecon_japan_2026",
Comment thread
mesutoezdil marked this conversation as resolved.
content: "kubecon_japan_2026",
backgroundColor: "#20232a",
textColor: "#ffffff",
isCloseable: true,
},
navbar: {
title: "HAMi",
logo: {
Expand Down
1 change: 1 addition & 0 deletions i18n/en/docusaurus-theme-classic/announcementBar.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"kubecon_india_2026": "🇮🇳 Meet the HAMi team at <strong>KubeCon + CloudNativeCon India 2026</strong>! Visit us at <strong>Booth T-10</strong> in the Project Pavilion (Jasmine Hall 1, Level 3) on <strong>June 18, 3:30–7:30 PM IST</strong>. <a href=\"https://events.linuxfoundation.org/kubecon-cloudnativecon-india/\" style=\"text-decoration:underline;color:#66b2ff\">Learn more →</a>",
"kubecon_japan_2026": "🇯🇵 Meet HAMi at <strong>KubeCon + CloudNativeCon Japan 2026</strong> in Yokohama, Jul 28–30. Find us at <strong>Booth T-6</strong>, Project Pavilion (Pacifico Yokohama 3F). <a href=\"https://events.linuxfoundation.org/kubecon-cloudnativecon-japan/program/schedule/\" style=\"text-decoration:underline;color:#66b2ff\">View schedule →</a>",
"theme.announcementBar.message": ""
}
1 change: 1 addition & 0 deletions i18n/zh/docusaurus-theme-classic/announcementBar.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"kubecon_india_2026": "🇮🇳 来 <strong>KubeCon + CloudNativeCon India 2026</strong> 与 HAMi 团队见面!6 月 18 日 <strong>下午 3:30–7:30 IST</strong>,Project Pavilion(Jasmine Hall 1 三层)<strong>T-10 展台</strong>。 <a href=\"https://events.linuxfoundation.org/kubecon-cloudnativecon-india/\" style=\"text-decoration:underline;color:#66b2ff\">了解更多 →</a>",
"kubecon_japan_2026": "🇯🇵 7 月 28–30 日,来横滨 <strong>KubeCon + CloudNativeCon Japan 2026</strong> 与 HAMi 团队见面!Project Pavilion(Pacifico Yokohama 3F)<strong>T-6 展台</strong>。<a href=\"https://events.linuxfoundation.org/kubecon-cloudnativecon-japan/program/schedule/\" style=\"text-decoration:underline;color:#66b2ff\">查看日程 →</a>",
"theme.announcementBar.message": ""
}
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,13 @@ export default function Home() {
const { i18n } = useDocusaurusContext();
const isZh = i18n.currentLocale === "zh";
const [starsCount, setStarsCount] = useState(3100);
const [dockerPulls, setDockerPulls] = useState(162000);
const [dockerPulls, setDockerPulls] = useState(325000);
Comment thread
mesutoezdil marked this conversation as resolved.
const kubernetesLogo = useBaseUrl("img/kubernetes-logo.svg");
const hamiLogo = useBaseUrl("img/hami-graph-color.svg");
const hamiHorizontalLogoLight = useBaseUrl("img/hami-horizontal-color-black.svg");
const hamiHorizontalLogoDark = useBaseUrl("img/hami-horizontal-color-white.svg");
const contributorsCount = useCountUp(500);
const contributorCountries = useCountUp(17);
const contributorCountries = useCountUp(27);
Comment thread
mesutoezdil marked this conversation as resolved.
const starsCountDisplay = useCountUp(starsCount);
const dockerPullsDisplay = useCountUp(dockerPulls);

Expand Down