Remove stats page

This commit is contained in:
Lea Anthony
2022-08-31 20:00:22 +10:00
parent 27f36a8edd
commit 961dc4ded6
12 changed files with 18 additions and 174 deletions
+18 -30
View File
@@ -37,35 +37,27 @@ const config = {
},
ko: {
label: "한국어",
direction: "ltr",
htmlLang: "ko-KR",
},
ja: {
label: "日本語",
direction: "ltr",
htmlLang: "ja-JP",
direction: "ltr",
htmlLang: "ko-KR",
},
ja: {
label: "日本語",
direction: "ltr",
htmlLang: "ja-JP",
},
},
},
plugins: [
[
"docusaurus-plugin-plausible",
{
domain: "wails.io",
},
],
],
presets: [
[
"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",
},
plugins: [],
presets: [
[
"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: {
showReadingTime: true,
// Please change this to your repo.
@@ -135,10 +127,6 @@ const config = {
to: "/credits",
label: "Credits",
},
{
to: "/stats",
label: "Stats",
},
],
},
{
@@ -34,9 +34,5 @@
"item.label.Credits": {
"message": "Credits",
"description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "Stats",
"description": "Navbar item with label Stats"
}
}
@@ -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 />
@@ -34,9 +34,5 @@
"item.label.Credits": {
"message": "クレジット",
"description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "統計情報",
"description": "Navbar item with label Stats"
}
}
@@ -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 />
@@ -34,9 +34,5 @@
"item.label.Credits": {
"message": "크레딧",
"description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "통계",
"description": "Navbar item with label Stats"
}
}
@@ -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 />
@@ -34,9 +34,5 @@
"item.label.Credits": {
"message": "Credits",
"description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "Stats",
"description": "Navbar item with label Stats"
}
}
@@ -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 />
@@ -34,9 +34,5 @@
"item.label.Credits": {
"message": "致谢",
"description": "Navbar item with label Credits"
},
"item.label.Stats": {
"message": "网站统计",
"description": "Navbar item with label Stats"
}
}
-1
View File
@@ -20,7 +20,6 @@
"@mdx-js/react": "^1.6.22",
"@wails/react-contributors": "^1.1.3",
"clsx": "^1.1.1",
"docusaurus-plugin-plausible": "0.0.5",
"file-loader": "^6.2.0",
"prism-react-renderer": "^1.2.1",
"react": "^17.0.1",
-27
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 />