5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 22:31:06 +08:00

Remove stats page

This commit is contained in:
Lea Anthony 2022-08-31 20:00:22 +10:00
parent 27f36a8edd
commit 961dc4ded6
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
12 changed files with 18 additions and 174 deletions

View File

@ -37,35 +37,27 @@ const config = {
}, },
ko: { ko: {
label: "한국어", label: "한국어",
direction: "ltr", direction: "ltr",
htmlLang: "ko-KR", htmlLang: "ko-KR",
},
ja: {
label: "日本語",
direction: "ltr",
htmlLang: "ja-JP",
}, },
ja: {
label: "日本語",
direction: "ltr",
htmlLang: "ja-JP",
},
}, },
}, },
plugins: [ plugins: [],
[ presets: [
"docusaurus-plugin-plausible", [
{ "classic",
domain: "wails.io", /** @type {import('@docusaurus/preset-classic').Options} */
}, ({
], docs: {
], sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
presets: [ editUrl: "https://github.com/wailsapp/wails/edit/master/website",
[ },
"classic",
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/wailsapp/wails/edit/master/website",
},
blog: { blog: {
showReadingTime: true, showReadingTime: true,
// Please change this to your repo. // Please change this to your repo.
@ -135,10 +127,6 @@ const config = {
to: "/credits", to: "/credits",
label: "Credits", label: "Credits",
}, },
{
to: "/stats",
label: "Stats",
},
], ],
}, },
{ {

View File

@ -34,9 +34,5 @@
"item.label.Credits": { "item.label.Credits": {
"message": "Credits", "message": "Credits",
"description": "Navbar item with label Credits" "description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "Stats",
"description": "Navbar item with label Stats"
} }
} }

View File

@ -1,24 +0,0 @@
# Website Stats
To enable us to understand how better to focus our efforts on translations and platform support, we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform. We chose Plausible because we believe in respecting the privacy of our users. We also believe in transparency, therefore have made the dashboard public.
If you have any concerns or suggestions, please raise them in the projects github discussions.
<head>
<script async src="https://plausible.io/js/embed.host.js"></script>
</head>
export const NewComponent = () => (
<div>
<iframe
plausible-embed="true"
src="https://plausible.io/share/wails.io?auth=Ll6cPlScOwOi_wgwZwMBn&embed=true&theme=system"
scrolling="no"
frameBorder={0}
loading="lazy"
style={{ width: "1px", minWidth: "100%", height: "1600px" }}
/>
</div>
);
<NewComponent />

View File

@ -34,9 +34,5 @@
"item.label.Credits": { "item.label.Credits": {
"message": "クレジット", "message": "クレジット",
"description": "Navbar item with label Credits" "description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "統計情報",
"description": "Navbar item with label Stats"
} }
} }

View File

@ -1,24 +0,0 @@
# Website Stats
To enable us to understand how better to focus our efforts on translations and platform support, we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform. We chose Plausible because we believe in respecting the privacy of our users. We also believe in transparency, therefore have made the dashboard public.
If you have any concerns or suggestions, please raise them in the projects github discussions.
<head>
<script async src="https://plausible.io/js/embed.host.js"></script>
</head>
export const NewComponent = () => (
<div>
<iframe
plausible-embed="true"
src="https://plausible.io/share/wails.io?auth=Ll6cPlScOwOi_wgwZwMBn&embed=true&theme=system"
scrolling="no"
frameBorder={0}
loading="lazy"
style={{ width: "1px", minWidth: "100%", height: "1600px" }}
/>
</div>
);
<NewComponent />

View File

@ -34,9 +34,5 @@
"item.label.Credits": { "item.label.Credits": {
"message": "크레딧", "message": "크레딧",
"description": "Navbar item with label Credits" "description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "통계",
"description": "Navbar item with label Stats"
} }
} }

View File

@ -1,24 +0,0 @@
# Website Stats
To enable us to understand how better to focus our efforts on translations and platform support, we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform. We chose Plausible because we believe in respecting the privacy of our users. We also believe in transparency, therefore have made the dashboard public.
If you have any concerns or suggestions, please raise them in the projects github discussions.
<head>
<script async src="https://plausible.io/js/embed.host.js"></script>
</head>
export const NewComponent = () => (
<div>
<iframe
plausible-embed="true"
src="https://plausible.io/share/wails.io?auth=Ll6cPlScOwOi_wgwZwMBn&embed=true&theme=system"
scrolling="no"
frameBorder={0}
loading="lazy"
style={{ width: "1px", minWidth: "100%", height: "1600px" }}
/>
</div>
);
<NewComponent />

View File

@ -34,9 +34,5 @@
"item.label.Credits": { "item.label.Credits": {
"message": "Credits", "message": "Credits",
"description": "Navbar item with label Credits" "description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "Stats",
"description": "Navbar item with label Stats"
} }
} }

View File

@ -1,24 +0,0 @@
# 网站统计
To enable us to understand how better to focus our efforts on translations and platform support, we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform. We chose Plausible because we believe in respecting the privacy of our users. We also believe in transparency, therefore have made the dashboard public.
If you have any concerns or suggestions, please raise them in the projects github discussions.
<head>
<script async src="https://plausible.io/js/embed.host.js"></script>
</head>
export const NewComponent = () => (
<div>
<iframe
plausible-embed="true"
src="https://plausible.io/share/wails.io?auth=Ll6cPlScOwOi_wgwZwMBn&embed=true&theme=system"
scrolling="no"
frameBorder={0}
loading="lazy"
style={{ width: "1px", minWidth: "100%", height: "1600px" }}
/>
</div>
);
<NewComponent />

View File

@ -34,9 +34,5 @@
"item.label.Credits": { "item.label.Credits": {
"message": "致谢", "message": "致谢",
"description": "Navbar item with label Credits" "description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "网站统计",
"description": "Navbar item with label Stats"
} }
} }

View File

@ -20,7 +20,6 @@
"@mdx-js/react": "^1.6.22", "@mdx-js/react": "^1.6.22",
"@wails/react-contributors": "^1.1.3", "@wails/react-contributors": "^1.1.3",
"clsx": "^1.1.1", "clsx": "^1.1.1",
"docusaurus-plugin-plausible": "0.0.5",
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1", "prism-react-renderer": "^1.2.1",
"react": "^17.0.1", "react": "^17.0.1",

View File

@ -1,27 +0,0 @@
# Website Stats
To enable us to understand how better to focus our efforts on translations and platform support,
we use [Plausible](https://plausible.io/privacy-focused-web-analytics) to gather **anonymous** stats like country and platform.
We chose Plausible because we believe in respecting the privacy of our users.
We also believe in transparency, therefore have made the dashboard public.
If you have any concerns or suggestions, please raise them in the projects github discussions.
<head>
<script async src="https://plausible.io/js/embed.host.js"></script>
</head>
export const NewComponent = () => (
<div>
<iframe
plausible-embed="true"
src="https://plausible.io/share/wails.io?auth=Ll6cPlScOwOi_wgwZwMBn&embed=true&theme=system"
scrolling="no"
frameBorder={0}
loading="lazy"
style={{ width: "1px", minWidth: "100%", height: "1600px" }}
/>
</div>
);
<NewComponent />