@bbki.ng/site 0.0.17 → 0.0.20

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.
Files changed (106) hide show
  1. package/.github/workflows/deploy.yml +44 -44
  2. package/.prettierignore +1 -1
  3. package/CHANGELOG.md +7 -0
  4. package/CODE_OF_CONDUCT.md +45 -45
  5. package/CONTRIBUTING.md +11 -11
  6. package/LICENSE +21 -21
  7. package/README.md +21 -21
  8. package/index.html +33 -33
  9. package/jest.config.js +15 -15
  10. package/package.json +3 -3
  11. package/postcss.config.cjs +6 -6
  12. package/public/Logo.svg +9 -9
  13. package/public/favicon.svg +9 -9
  14. package/public/robots.txt +2 -2
  15. package/src/__test__/utils/index.test.ts +90 -90
  16. package/src/app.tsx +97 -97
  17. package/src/articles/anti-logic.mdx +61 -61
  18. package/src/articles/bbking-manual.mdx +88 -88
  19. package/src/articles/black-river.mdx +8 -8
  20. package/src/articles/cooldown.mdx +12 -12
  21. package/src/articles/fall.mdx +8 -8
  22. package/src/articles/img.mdx +104 -104
  23. package/src/articles/index.ts +35 -35
  24. package/src/articles/loading.mdx +129 -129
  25. package/src/articles/major-cold.mdx +14 -14
  26. package/src/articles/men-without-women.mdx +19 -19
  27. package/src/articles/movie-day.mdx +15 -15
  28. package/src/articles/now.mdx +14 -14
  29. package/src/articles/projects.mdx +9 -9
  30. package/src/articles/quote.mdx +27 -27
  31. package/src/articles/spring-cooldown.mdx +7 -7
  32. package/src/articles/spring-rain.mdx +9 -9
  33. package/src/articles/travel.mdx +21 -21
  34. package/src/articles/warming-up.mdx +10 -10
  35. package/src/articles/web-burnning.mdx +10 -10
  36. package/src/auth_required.tsx +17 -17
  37. package/src/components/Spinner.tsx +33 -33
  38. package/src/components/article/index.tsx +31 -31
  39. package/src/components/aspect_ratio_box/index.tsx +29 -29
  40. package/src/components/blur_cover/index.tsx +28 -28
  41. package/src/components/book_list/index.tsx +50 -50
  42. package/src/components/comment/index.tsx +70 -70
  43. package/src/components/comment/use_cusdis_event.ts +37 -37
  44. package/src/components/corner_prompt_box/index.tsx +63 -63
  45. package/src/components/disabled_text/index.tsx +23 -23
  46. package/src/components/fade_out_cover/index.tsx +37 -37
  47. package/src/components/footer/footer_links.ts +13 -13
  48. package/src/components/footer/index.tsx +21 -21
  49. package/src/components/hotkey_nav/index.tsx +50 -50
  50. package/src/components/img_list/index.tsx +43 -43
  51. package/src/components/index.tsx +27 -27
  52. package/src/components/movie_list/index.tsx +50 -50
  53. package/src/components/my_suspense.tsx +14 -14
  54. package/src/components/progress_bar/index.tsx +31 -31
  55. package/src/components/reload_prompt/index.tsx +36 -36
  56. package/src/components/stickers/index.tsx +46 -46
  57. package/src/components/table_skeleton/index.tsx +40 -40
  58. package/src/components/tags/index.tsx +52 -52
  59. package/src/components/video_player/index.tsx +81 -81
  60. package/src/components/with_wrapper/index.tsx +13 -13
  61. package/src/constants/cusdis.ts +6 -6
  62. package/src/constants/index.ts +16 -16
  63. package/src/constants/photo_projects.ts +54 -54
  64. package/src/constants/routes.ts +24 -24
  65. package/src/constants/video_logs.ts +16 -16
  66. package/src/demo/SpinnerDemo.tsx +17 -17
  67. package/src/global/mdx.d.ts +8 -8
  68. package/src/global_loading_state_provider.tsx +27 -27
  69. package/src/hooks/index.ts +15 -15
  70. package/src/hooks/useScrollToTop.ts +24 -24
  71. package/src/hooks/useTransitionCls.ts +36 -36
  72. package/src/hooks/use_img_loading.ts +16 -16
  73. package/src/hooks/use_pathname.ts +6 -6
  74. package/src/hooks/use_paths.ts +30 -30
  75. package/src/hooks/use_projects.ts +56 -56
  76. package/src/hooks/use_route_name.ts +7 -7
  77. package/src/hooks/use_supa_session.ts +30 -30
  78. package/src/hooks/use_uploader.ts +34 -34
  79. package/src/hooks/use_video_controls.ts +71 -71
  80. package/src/main.css +156 -156
  81. package/src/main.tsx +19 -19
  82. package/src/pages/cover/index.tsx +10 -10
  83. package/src/pages/extensions/png/consts.ts +9 -9
  84. package/src/pages/extensions/png/index.tsx +41 -41
  85. package/src/pages/extensions/png/png_projects.tsx +63 -63
  86. package/src/pages/extensions/txt/article.tsx +26 -26
  87. package/src/pages/extensions/txt/consts.ts +8 -8
  88. package/src/pages/extensions/txt/index.tsx +21 -21
  89. package/src/pages/index.tsx +14 -14
  90. package/src/pages/login/index.tsx +33 -33
  91. package/src/pages/now/index.tsx +7 -7
  92. package/src/pages/tags/index.tsx +28 -28
  93. package/src/pages/tags/tag_result.tsx +19 -19
  94. package/src/swr.tsx +18 -18
  95. package/src/types/articles.ts +6 -6
  96. package/src/types/color.ts +21 -21
  97. package/src/types/cusdis.ts +4 -4
  98. package/src/types/oss.ts +15 -15
  99. package/src/types/path.ts +11 -11
  100. package/src/types/photo.ts +17 -17
  101. package/src/types/supabase.ts +9 -9
  102. package/src/utils/tags.ts +21 -21
  103. package/tailwind.config.cjs +10 -10
  104. package/tsconfig.json +24 -24
  105. package/vite.config.ts +108 -108
  106. package/.rush/temp/shrinkwrap-deps.json +0 -908
@@ -1,44 +1,44 @@
1
- name: Deploy bbki.ng's changes
2
- on:
3
- push:
4
- branches:
5
- - main
6
- jobs:
7
- version:
8
- runs-on: ubuntu-latest
9
- if: "!startsWith(github.event.head_commit.message, 'bump')"
10
- steps:
11
- - uses: actions/checkout@v2
12
- with:
13
- token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
14
- - run: git config --global user.name 'bbki.ng'
15
- - run: git config --global user.email 'b@bbki.ng'
16
- - run: npm version patch -m "bump %s"
17
- - run: git push
18
-
19
- builds:
20
- runs-on: ubuntu-latest
21
- if: "startsWith(github.event.head_commit.message, 'bump')"
22
- steps:
23
- - uses: actions/checkout@v1
24
- - name: Install Node.js
25
- uses: actions/setup-node@v1
26
- with:
27
- node-version: "14.18.0"
28
- - name: Install Yarn
29
- run: npm install -g yarn
30
- - name: Install dependencies
31
- run: yarn install
32
- - name: Run tests
33
- run: yarn test
34
- - name: Run build task
35
- run: yarn build
36
- - name: Deploy to Server
37
- uses: easingthemes/ssh-deploy@main
38
- env:
39
- SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
40
- SOURCE: "dist/"
41
- REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
42
- REMOTE_USER: ${{ secrets.REMOTE_USER }}
43
- TARGET: ${{ secrets.REMOTE_TARGET }}
44
- EXCLUDE: "/dist/, /node_modules/"
1
+ name: Deploy bbki.ng's changes
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ jobs:
7
+ version:
8
+ runs-on: ubuntu-latest
9
+ if: "!startsWith(github.event.head_commit.message, 'bump')"
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ with:
13
+ token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
14
+ - run: git config --global user.name 'bbki.ng'
15
+ - run: git config --global user.email 'b@bbki.ng'
16
+ - run: npm version patch -m "bump %s"
17
+ - run: git push
18
+
19
+ builds:
20
+ runs-on: ubuntu-latest
21
+ if: "startsWith(github.event.head_commit.message, 'bump')"
22
+ steps:
23
+ - uses: actions/checkout@v1
24
+ - name: Install Node.js
25
+ uses: actions/setup-node@v1
26
+ with:
27
+ node-version: "14.18.0"
28
+ - name: Install Yarn
29
+ run: npm install -g yarn
30
+ - name: Install dependencies
31
+ run: yarn install
32
+ - name: Run tests
33
+ run: yarn test
34
+ - name: Run build task
35
+ run: yarn build
36
+ - name: Deploy to Server
37
+ uses: easingthemes/ssh-deploy@main
38
+ env:
39
+ SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
40
+ SOURCE: "dist/"
41
+ REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
42
+ REMOTE_USER: ${{ secrets.REMOTE_USER }}
43
+ TARGET: ${{ secrets.REMOTE_TARGET }}
44
+ EXCLUDE: "/dist/, /node_modules/"
package/.prettierignore CHANGED
@@ -1 +1 @@
1
- *.mdx
1
+ *.mdx
package/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @bbki.ng/site
2
+
3
+ ## 0.0.20
4
+
5
+ ## 0.0.19
6
+
7
+ ## 0.0.18
@@ -1,45 +1,45 @@
1
- # Code Of Conduct
2
-
3
- ## Our Pledge
4
-
5
- In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, political party, or sexual identity and orientation. Note, however, that religion, political party, or other ideological affiliation provide no exemptions for the behavior we outline as unacceptable in this Code of Conduct.
6
-
7
- ## Our Standards
8
-
9
- Examples of behavior that contributes to creating a positive environment include:
10
-
11
- - Using welcoming and inclusive language
12
- - Being respectful of differing viewpoints and experiences
13
- - Gracefully accepting constructive criticism
14
- - Focusing on what is best for the community
15
- - Showing empathy towards other community members
16
-
17
- Examples of unacceptable behavior by participants include:
18
-
19
- - The use of sexualized language or imagery and unwelcome sexual attention or advances
20
- - Trolling, insulting/derogatory comments, and personal or political attacks
21
- - Public or private harassment
22
- - Publishing others' private information, such as a physical or electronic address, without explicit permission
23
- - Other conduct which could reasonably be considered inappropriate in a professional setting
24
-
25
- ## Our Responsibilities
26
-
27
- Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
-
29
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
-
31
- ## Scope
32
-
33
- This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
-
35
- ## Enforcement
36
-
37
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ping@zjh.im. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
-
39
- Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
-
41
- ## Attribution
42
-
43
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
44
-
45
- [homepage]: https://www.contributor-covenant.org
1
+ # Code Of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, political party, or sexual identity and orientation. Note, however, that religion, political party, or other ideological affiliation provide no exemptions for the behavior we outline as unacceptable in this Code of Conduct.
6
+
7
+ ## Our Standards
8
+
9
+ Examples of behavior that contributes to creating a positive environment include:
10
+
11
+ - Using welcoming and inclusive language
12
+ - Being respectful of differing viewpoints and experiences
13
+ - Gracefully accepting constructive criticism
14
+ - Focusing on what is best for the community
15
+ - Showing empathy towards other community members
16
+
17
+ Examples of unacceptable behavior by participants include:
18
+
19
+ - The use of sexualized language or imagery and unwelcome sexual attention or advances
20
+ - Trolling, insulting/derogatory comments, and personal or political attacks
21
+ - Public or private harassment
22
+ - Publishing others' private information, such as a physical or electronic address, without explicit permission
23
+ - Other conduct which could reasonably be considered inappropriate in a professional setting
24
+
25
+ ## Our Responsibilities
26
+
27
+ Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28
+
29
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ ## Scope
32
+
33
+ This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34
+
35
+ ## Enforcement
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at ping@zjh.im. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38
+
39
+ Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40
+
41
+ ## Attribution
42
+
43
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
44
+
45
+ [homepage]: https://www.contributor-covenant.org
package/CONTRIBUTING.md CHANGED
@@ -1,11 +1,11 @@
1
- # Contributing guide
2
-
3
- Thank you for your interest in contributing to BBKi.ng! There are many ways to contribute, and we appreciate all of them.
4
-
5
- ## Bug reports
6
-
7
- Find any bugs about [BBKi.ng](https://bbki.ng) on your device? [open an issue](https://github.com/bbbottle/bbki.ng/issues).
8
-
9
- ## Code review
10
-
11
- If you are interested in the code and have any suggestions, please reference its line number in new issue and elaborate your thoughts.
1
+ # Contributing guide
2
+
3
+ Thank you for your interest in contributing to BBKi.ng! There are many ways to contribute, and we appreciate all of them.
4
+
5
+ ## Bug reports
6
+
7
+ Find any bugs about [BBKi.ng](https://bbki.ng) on your device? [open an issue](https://github.com/bbbottle/bbki.ng/issues).
8
+
9
+ ## Code review
10
+
11
+ If you are interested in the code and have any suggestions, please reference its line number in new issue and elaborate your thoughts.
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2021 bbbottle
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2021 bbbottle
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- ![image](public/Logo.svg)
2
-
3
- ### About
4
-
5
- Code behind https://bbki.ng.
6
-
7
- ### Roadmap
8
-
9
- The [BBKi.ng public roadmap](https://github.com/bbbottle/bbki.ng/projects/2).
10
-
11
- ### Q&A
12
-
13
- Open a new [discussion](https://github.com/bbbottle/bbki.ng/discussions/categories/q-a).
14
-
15
- ### Contributing
16
-
17
- See [the contributing guide](CONTRIBUTING.md) for details.
18
-
19
- ### License
20
-
21
- [MIT](LICENSE)
1
+ ![image](public/Logo.svg)
2
+
3
+ ### About
4
+
5
+ Code behind https://bbki.ng.
6
+
7
+ ### Roadmap
8
+
9
+ The [BBKi.ng public roadmap](https://github.com/bbbottle/bbki.ng/projects/2).
10
+
11
+ ### Q&A
12
+
13
+ Open a new [discussion](https://github.com/bbbottle/bbki.ng/discussions/categories/q-a).
14
+
15
+ ### Contributing
16
+
17
+ See [the contributing guide](CONTRIBUTING.md) for details.
18
+
19
+ ### License
20
+
21
+ [MIT](LICENSE)
package/index.html CHANGED
@@ -1,33 +1,33 @@
1
- <!DOCTYPE html>
2
- <html lang="en" class="h-full no-scrollbar">
3
- <head>
4
- <title>bbki.ng</title>
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <meta name="description" content="baby king" />
7
- <link
8
- rel="preload"
9
- href="https://api.bbki.ng/projects"
10
- as="fetch"
11
- crossorigin
12
- type="application/json"
13
- />
14
- <link rel="icon" type="image/svg" href="/favicon.svg" />
15
- <link
16
- rel="alternate icon"
17
- href="/favicon.ico"
18
- type="image/png"
19
- sizes="16x16"
20
- />
21
- <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
22
- <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
23
- <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
24
- <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
25
- <meta name="theme-color" content="#ffffff" />
26
- <meta charset="UTF-8" />
27
- </head>
28
-
29
- <body class="h-full m-0 flex flex-col font-mono">
30
- <div id="root" class="flex-grow"></div>
31
- <script type="module" src="/src/main.tsx"></script>
32
- </body>
33
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en" class="h-full no-scrollbar">
3
+ <head>
4
+ <title>bbki.ng</title>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <meta name="description" content="baby king" />
7
+ <link
8
+ rel="preload"
9
+ href="https://api.bbki.ng/projects"
10
+ as="fetch"
11
+ crossorigin
12
+ type="application/json"
13
+ />
14
+ <link rel="icon" type="image/svg" href="/favicon.svg" />
15
+ <link
16
+ rel="alternate icon"
17
+ href="/favicon.ico"
18
+ type="image/png"
19
+ sizes="16x16"
20
+ />
21
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" sizes="180x180" />
22
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
23
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
24
+ <link rel="mask-icon" href="/favicon.svg" color="#FFFFFF" />
25
+ <meta name="theme-color" content="#ffffff" />
26
+ <meta charset="UTF-8" />
27
+ </head>
28
+
29
+ <body class="h-full m-0 flex flex-col font-mono">
30
+ <div id="root" class="flex-grow"></div>
31
+ <script type="module" src="/src/main.tsx"></script>
32
+ </body>
33
+ </html>
package/jest.config.js CHANGED
@@ -1,15 +1,15 @@
1
- /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2
- const config = {
3
- preset: "ts-jest",
4
- testEnvironment: "jsdom",
5
- collectCoverageFrom: [
6
- "src/utils/index.ts",
7
- "!**/node_modules/**",
8
- "!**/vendor/**",
9
- ],
10
- moduleNameMapper: {
11
- "@/(.*)$": "<rootDir>/src/$1",
12
- },
13
- };
14
-
15
- export default config;
1
+ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
2
+ const config = {
3
+ preset: "ts-jest",
4
+ testEnvironment: "jsdom",
5
+ collectCoverageFrom: [
6
+ "src/utils/index.ts",
7
+ "!**/node_modules/**",
8
+ "!**/vendor/**",
9
+ ],
10
+ moduleNameMapper: {
11
+ "@/(.*)$": "<rootDir>/src/$1",
12
+ },
13
+ };
14
+
15
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "0.0.17",
3
+ "version": "0.0.20",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,7 +16,7 @@
16
16
  "url": "git+https://github.com/bbbottle/bbki.ng.git"
17
17
  },
18
18
  "dependencies": {
19
- "@bbki.ng/components": "workspace:2.1.7",
19
+ "@bbki.ng/components": "workspace:2.1.10",
20
20
  "@supabase/supabase-js": "^1.30.6",
21
21
  "classnames": "2.3.1",
22
22
  "react": "^18.0.0",
@@ -27,7 +27,7 @@
27
27
  "swr": "^1.2.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@bbki.ng/stylebase": "workspace:0.0.5",
30
+ "@bbki.ng/stylebase": "workspace:0.0.8",
31
31
  "@mdx-js/mdx": "2.0.0-next.9",
32
32
  "@mdx-js/react": "^1.6.22",
33
33
  "@tailwindcss/typography": "^0.5.0",
@@ -1,6 +1,6 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {},
4
- autoprefixer: {},
5
- },
6
- };
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ };
package/public/Logo.svg CHANGED
@@ -1,9 +1,9 @@
1
- <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M29.1152 21.3106C32.0605 21.3106 34.4481 18.9101 34.4481 15.9489V24.6457C34.4481 25.7585 33.5508 26.6607 32.444 26.6607H15.1207C14.0138 26.6607 13.1166 25.7585 13.1166 24.6457V15.9489C13.1166 18.9101 15.5042 21.3106 18.4494 21.3106C21.3947 21.3106 23.7823 18.9101 23.7823 15.9489C23.7823 18.9101 26.17 21.3106 29.1152 21.3106Z" fill="#9CA3AF"/>
3
- <path d="M23.7823 15.9373L23.7823 15.9489C23.7823 15.9451 23.7823 15.9412 23.7823 15.9373Z" fill="#9CA3AF"/>
4
- <path d="M23.1143 28.004C23.1205 30.9598 25.5057 33.3541 28.4472 33.3541C31.3886 33.3541 33.7738 30.9598 33.7801 28.004H23.1143Z" fill="#9CA3AF"/>
5
- <path d="M13.7846 28.004C13.7846 28.0079 13.7846 28.0117 13.7846 28.0156C13.7908 30.9714 16.1761 33.3657 19.1175 33.3657C22.0589 33.3657 24.4442 30.9714 24.4504 28.0156H13.7846V28.004Z" fill="#9CA3AF"/>
6
- <path d="M14.4527 15.9373C14.4527 16.6792 13.8545 17.2806 13.1166 17.2806C12.3786 17.2806 11.7805 16.6792 11.7805 15.9373C11.7805 15.1954 12.3786 14.594 13.1166 14.594C13.8545 14.594 14.4527 15.1954 14.4527 15.9373Z" fill="#9CA3AF"/>
7
- <path d="M25.1184 15.2657C25.1184 16.0076 24.5202 16.609 23.7823 16.609C23.0444 16.609 22.4462 16.0076 22.4462 15.2657C22.4462 14.5238 23.0444 13.9224 23.7823 13.9224C24.5202 13.9224 25.1184 14.5238 25.1184 15.2657Z" fill="#9CA3AF"/>
8
- <path d="M35.7842 15.9373C35.7842 16.6792 35.186 17.2806 34.4481 17.2806C33.7102 17.2806 33.112 16.6792 33.112 15.9373C33.112 15.1954 33.7102 14.594 34.4481 14.594C35.186 14.594 35.7842 15.1954 35.7842 15.9373Z" fill="#9CA3AF"/>
9
- </svg>
1
+ <svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M29.1152 21.3106C32.0605 21.3106 34.4481 18.9101 34.4481 15.9489V24.6457C34.4481 25.7585 33.5508 26.6607 32.444 26.6607H15.1207C14.0138 26.6607 13.1166 25.7585 13.1166 24.6457V15.9489C13.1166 18.9101 15.5042 21.3106 18.4494 21.3106C21.3947 21.3106 23.7823 18.9101 23.7823 15.9489C23.7823 18.9101 26.17 21.3106 29.1152 21.3106Z" fill="#9CA3AF"/>
3
+ <path d="M23.7823 15.9373L23.7823 15.9489C23.7823 15.9451 23.7823 15.9412 23.7823 15.9373Z" fill="#9CA3AF"/>
4
+ <path d="M23.1143 28.004C23.1205 30.9598 25.5057 33.3541 28.4472 33.3541C31.3886 33.3541 33.7738 30.9598 33.7801 28.004H23.1143Z" fill="#9CA3AF"/>
5
+ <path d="M13.7846 28.004C13.7846 28.0079 13.7846 28.0117 13.7846 28.0156C13.7908 30.9714 16.1761 33.3657 19.1175 33.3657C22.0589 33.3657 24.4442 30.9714 24.4504 28.0156H13.7846V28.004Z" fill="#9CA3AF"/>
6
+ <path d="M14.4527 15.9373C14.4527 16.6792 13.8545 17.2806 13.1166 17.2806C12.3786 17.2806 11.7805 16.6792 11.7805 15.9373C11.7805 15.1954 12.3786 14.594 13.1166 14.594C13.8545 14.594 14.4527 15.1954 14.4527 15.9373Z" fill="#9CA3AF"/>
7
+ <path d="M25.1184 15.2657C25.1184 16.0076 24.5202 16.609 23.7823 16.609C23.0444 16.609 22.4462 16.0076 22.4462 15.2657C22.4462 14.5238 23.0444 13.9224 23.7823 13.9224C24.5202 13.9224 25.1184 14.5238 25.1184 15.2657Z" fill="#9CA3AF"/>
8
+ <path d="M35.7842 15.9373C35.7842 16.6792 35.186 17.2806 34.4481 17.2806C33.7102 17.2806 33.112 16.6792 33.112 15.9373C33.112 15.1954 33.7102 14.594 34.4481 14.594C35.186 14.594 35.7842 15.1954 35.7842 15.9373Z" fill="#9CA3AF"/>
9
+ </svg>
@@ -1,9 +1,9 @@
1
- <svg width="24" height="20" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M17.3321 7.34741C20.2769 7.34741 22.6641 4.96017 22.6641 2.01536V10.6641C22.6641 11.7708 21.767 12.6679 20.6603 12.6679H3.33973C2.23304 12.6679 1.33589 11.7708 1.33589 10.6641V2.01536C1.33589 4.96017 3.72314 7.34741 6.66795 7.34741C9.61276 7.34741 12 4.96017 12 2.01536C12 4.96017 14.3872 7.34741 17.3321 7.34741Z" fill="#9CA3AF"/>
3
- <path d="M12 2.00384L12 2.01536C12 2.01151 12 2.00768 12 2.00384Z" fill="#9CA3AF"/>
4
- <path d="M11.3321 14.0038C11.3383 16.9434 13.7231 19.3244 16.6641 19.3244C19.6051 19.3244 21.9899 16.9434 21.9962 14.0038H11.3321Z" fill="#9CA3AF"/>
5
- <path d="M2.00384 14.0038C2.00384 14.0077 2.00383 14.0115 2.00384 14.0154C2.01006 16.9549 4.39493 19.3359 7.3359 19.3359C10.2769 19.3359 12.6617 16.9549 12.6679 14.0154H2.00384V14.0038Z" fill="#9CA3AF"/>
6
- <path d="M2.67179 2.00384C2.67179 2.74163 2.07369 3.33973 1.33589 3.33973C0.598099 3.33973 0 2.74163 0 2.00384C0 1.26605 0.598099 0.667946 1.33589 0.667946C2.07369 0.667946 2.67179 1.26605 2.67179 2.00384Z" fill="#9CA3AF"/>
7
- <path d="M13.3359 1.33589C13.3359 2.07369 12.7378 2.67179 12 2.67179C11.2622 2.67179 10.6641 2.07369 10.6641 1.33589C10.6641 0.598099 11.2622 0 12 0C12.7378 0 13.3359 0.598099 13.3359 1.33589Z" fill="#9CA3AF"/>
8
- <path d="M24 2.00384C24 2.74163 23.4019 3.33973 22.6641 3.33973C21.9263 3.33973 21.3282 2.74163 21.3282 2.00384C21.3282 1.26605 21.9263 0.667946 22.6641 0.667946C23.4019 0.667946 24 1.26605 24 2.00384Z" fill="#9CA3AF"/>
9
- </svg>
1
+ <svg width="24" height="20" viewBox="0 0 24 20" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M17.3321 7.34741C20.2769 7.34741 22.6641 4.96017 22.6641 2.01536V10.6641C22.6641 11.7708 21.767 12.6679 20.6603 12.6679H3.33973C2.23304 12.6679 1.33589 11.7708 1.33589 10.6641V2.01536C1.33589 4.96017 3.72314 7.34741 6.66795 7.34741C9.61276 7.34741 12 4.96017 12 2.01536C12 4.96017 14.3872 7.34741 17.3321 7.34741Z" fill="#9CA3AF"/>
3
+ <path d="M12 2.00384L12 2.01536C12 2.01151 12 2.00768 12 2.00384Z" fill="#9CA3AF"/>
4
+ <path d="M11.3321 14.0038C11.3383 16.9434 13.7231 19.3244 16.6641 19.3244C19.6051 19.3244 21.9899 16.9434 21.9962 14.0038H11.3321Z" fill="#9CA3AF"/>
5
+ <path d="M2.00384 14.0038C2.00384 14.0077 2.00383 14.0115 2.00384 14.0154C2.01006 16.9549 4.39493 19.3359 7.3359 19.3359C10.2769 19.3359 12.6617 16.9549 12.6679 14.0154H2.00384V14.0038Z" fill="#9CA3AF"/>
6
+ <path d="M2.67179 2.00384C2.67179 2.74163 2.07369 3.33973 1.33589 3.33973C0.598099 3.33973 0 2.74163 0 2.00384C0 1.26605 0.598099 0.667946 1.33589 0.667946C2.07369 0.667946 2.67179 1.26605 2.67179 2.00384Z" fill="#9CA3AF"/>
7
+ <path d="M13.3359 1.33589C13.3359 2.07369 12.7378 2.67179 12 2.67179C11.2622 2.67179 10.6641 2.07369 10.6641 1.33589C10.6641 0.598099 11.2622 0 12 0C12.7378 0 13.3359 0.598099 13.3359 1.33589Z" fill="#9CA3AF"/>
8
+ <path d="M24 2.00384C24 2.74163 23.4019 3.33973 22.6641 3.33973C21.9263 3.33973 21.3282 2.74163 21.3282 2.00384C21.3282 1.26605 21.9263 0.667946 22.6641 0.667946C23.4019 0.667946 24 1.26605 24 2.00384Z" fill="#9CA3AF"/>
9
+ </svg>
package/public/robots.txt CHANGED
@@ -1,2 +1,2 @@
1
- User-agent: *
2
- Allow: /
1
+ User-agent: *
2
+ Allow: /