@bbki.ng/site 1.1.25 → 1.1.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 1.1.26
4
+
3
5
  ## 1.1.25
4
6
 
5
7
  ## 1.1.24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,8 @@
1
+ export default () => {
2
+ // @ts-ignore
3
+ const appVer = GLOBAL_BBKING_VERSION;
4
+ const tagUrl = `https://github.com/bbbottle/bottle/releases/tag/@bbki.ng/site@${appVer}`;
5
+ console.log(appVer, tagUrl);
6
+
7
+ return null;
8
+ };
package/src/main.tsx CHANGED
@@ -6,6 +6,7 @@ import { ReloadPrompt } from "@/components";
6
6
  import "@bbki.ng/components/style";
7
7
  import App from "./app";
8
8
  import "./main.css";
9
+ import Logger from "@/components/Logger";
9
10
 
10
11
  const container = document.getElementById("root") as Element;
11
12
  const root = createRoot(container);
@@ -15,6 +16,7 @@ root.render(
15
16
  <Router>
16
17
  <App />
17
18
  <Toaster />
19
+ <Logger />
18
20
  <ReloadPrompt />
19
21
  </Router>
20
22
  </React.StrictMode>
@@ -1,28 +1,24 @@
1
1
  import React from "react";
2
2
  import { CenterLinkList } from "@/components";
3
- import { Footer } from "@/components/Footer";
4
3
 
5
4
  export const Cover = (props: { className: string }) => {
6
5
  return (
7
- <div className="w-fit m-auto">
8
- <CenterLinkList
9
- links={[
10
- {
11
- to: "/projects",
12
- name: "cd ./projects",
13
- },
14
- {
15
- to: "/blog",
16
- name: "cd ./blog",
17
- },
18
- {
19
- to: "/now",
20
- name: "cd ./now",
21
- },
22
- ]}
23
- title=" "
24
- />
25
- <Footer />
26
- </div>
6
+ <CenterLinkList
7
+ links={[
8
+ {
9
+ to: "/projects",
10
+ name: "cd ./projects",
11
+ },
12
+ {
13
+ to: "/blog",
14
+ name: "cd ./blog",
15
+ },
16
+ {
17
+ to: "/now",
18
+ name: "cd ./now",
19
+ },
20
+ ]}
21
+ title=" "
22
+ />
27
23
  );
28
24
  };
package/vite.config.js CHANGED
@@ -60,7 +60,7 @@ export default defineConfig({
60
60
  "Logo.svg",
61
61
  ],
62
62
  devOptions: {
63
- enabled: true,
63
+ enabled: false,
64
64
  /* other options */
65
65
  },
66
66
  workbox: {