@bbki.ng/site 5.4.29 → 5.4.30

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,13 @@
1
1
  # @bbki.ng/site
2
2
 
3
+ ## 5.4.30
4
+
5
+ ### Patch Changes
6
+
7
+ - 5dc41cd: fix style
8
+ - Updated dependencies [5dc41cd]
9
+ - @bbki.ng/ui@0.1.4
10
+
3
11
  ## 5.4.29
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbki.ng/site",
3
- "version": "5.4.29",
3
+ "version": "5.4.30",
4
4
  "description": "code behind bbki.ng",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -14,7 +14,7 @@
14
14
  "react-dom": "^18.0.0",
15
15
  "react-router-dom": "6",
16
16
  "swr": "^2.2.5",
17
- "@bbki.ng/ui": "0.1.3"
17
+ "@bbki.ng/ui": "0.1.4"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@eslint/compat": "^1.0.0",
package/src/blog/app.tsx CHANGED
@@ -29,7 +29,7 @@ const Layout = () => {
29
29
  />
30
30
  }
31
31
  main={
32
- <Grid leftAside={<div />}>
32
+ <Grid leftAside={<div />} rightAside={<div />}>
33
33
  <ErrorBoundary>
34
34
  <Outlet />
35
35
  </ErrorBoundary>
@@ -22,7 +22,7 @@ export const ArticlePage = (props: ArticlePageProps) => {
22
22
  return props.children;
23
23
  }
24
24
 
25
- const articleCls = classNames('prose', 'mb-32');
25
+ const articleCls = classNames('prose', 'mb-16');
26
26
 
27
27
  return (
28
28
  <>
@@ -5,7 +5,8 @@ import { baseFetcher } from '@/utils';
5
5
  import { API_ENDPOINT } from '@/constants/routes';
6
6
 
7
7
  // In dev, use /api prefix to leverage Vite proxy to localhost:8787
8
- const isProd = typeof window !== 'undefined' && /^https:\/\/bbki\.ng/.test(window.location.href);
8
+ const isProd = true;
9
+ // const isProd = typeof window !== 'undefined' && /^https:\/\/bbki\.ng/.test(window.location.href);
9
10
  const POSTS_API = !isProd ? '/api/posts' : `${API_ENDPOINT}/posts`;
10
11
 
11
12
  // Use baseFetcher for full URLs, cfApiFetcher is for relative paths
package/vite.config.js CHANGED
@@ -29,14 +29,14 @@ const options = {
29
29
 
30
30
  // https://vitejs.dev/config/
31
31
  export default defineConfig({
32
- server: {
33
- proxy: {
34
- '/api': {
35
- target: 'http://localhost:8787',
36
- rewrite: path => path.replace(/^\/api/, ''),
37
- },
38
- },
39
- },
32
+ // server: {
33
+ // proxy: {
34
+ // '/api': {
35
+ // target: 'http://localhost:8787',
36
+ // rewrite: path => path.replace(/^\/api/, ''),
37
+ // },
38
+ // },
39
+ // },
40
40
  resolve: {
41
41
  alias: {
42
42
  '@': path.resolve(__dirname, './src/blog'),