Commit Graph

22 Commits

Author SHA1 Message Date
Renovate Bot b431dfb681 fix(deps): update docusaurus monorepo to v3.3.2 (#369)
Reviewed-on: https://gitea.com/gitea/blog/pulls/369
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-05-06 03:52:11 +00:00
Renovate Bot 5bac65078d fix(deps): update docusaurus monorepo to v3.2.1 (#363)
Reviewed-on: https://gitea.com/gitea/blog/pulls/363
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-04-05 16:29:04 +00:00
Renovate Bot 75cae61911 fix(deps): update docusaurus monorepo to v3.1.1 (#343)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-02-14 17:08:47 +00:00
Renovate Bot c8734bff8f fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.40.0 (#330)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-01-08 07:38:57 +00:00
Renovate Bot 3bfc1fd137 fix(deps): update docusaurus monorepo to v3.1.0 (#336)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2024-01-06 05:10:53 +00:00
liuyu b516152520 add subscribe request (#334)
Co-authored-by: HEREYUA <1240335630@qq.com>
Reviewed-on: https://gitea.com/gitea/blog/pulls/334
Reviewed-by: sillyguodong <sillyguodong@noreply.gitea.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: liuyu <liuyu@noreply.gitea.com>
Co-committed-by: liuyu <liuyu@noreply.gitea.com>
2024-01-03 10:56:52 +00:00
Renovate Bot cbf8d2dbb0 fix(deps): update docusaurus monorepo to v3.0.1 (#327)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-12-04 22:32:45 +00:00
Renovate Bot a53298a334 fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.38.0 (#324)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-25 00:46:47 +00:00
techknowlogick 754be5b7d9 bump to v3 of deps 2023-11-11 01:07:26 -05:00
Renovate Bot c18b520507 fix(deps): update dependency prism-react-renderer to v2 (#308)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-11 05:48:36 +00:00
Renovate Bot 125656ff0c fix(deps): update dependency @mdx-js/react to v3 (#305)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-11 05:48:11 +00:00
Renovate Bot 980d328453 fix(deps): update docusaurus monorepo to v3 (major) (#309)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-11 05:47:54 +00:00
Renovate Bot d1976904bf fix(deps): update react monorepo to v18 (major) (#306)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-11 05:42:16 +00:00
Renovate Bot c7e8ecd464 fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.37.0 (#310)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-11-11 05:41:49 +00:00
Renovate Bot 5de54dc574 fix(deps): update dependency clsx to v2 (#307)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-04 02:40:34 +00:00
Renovate Bot 27884baaac fix(deps): update dependency @easyops-cn/docusaurus-search-local to ^0.36.0 (#303)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-03 17:18:21 +00:00
Renovate Bot 9eb02e60a5 fix(deps): update docusaurus monorepo to v2.4.3 (#300)
Co-authored-by: Renovate Bot <renovate-bot@gitea.com>
Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
2023-10-03 17:07:48 +00:00
jolheiser 6462e2252e feat: plausible (#291)
Adds plausible analytics to the blog.

Reviewed-on: https://gitea.com/gitea/blog/pulls/291
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: jolheiser <john.olheiser@gmail.com>
Co-committed-by: jolheiser <john.olheiser@gmail.com>
2023-08-22 01:27:19 +00:00
HesterG a072eb2022 set WEBPACK_URL_LOADER_LIMIT (#280)
Replace #279. Close #276

Use the method by https://gitea.com/gitea/blog/pulls/279#issuecomment-744778

Reviewed-on: https://gitea.com/gitea/blog/pulls/280
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
2023-07-20 14:40:11 +00:00
HesterG c3d361092e Add subscribe and community components, adjust blog width, update readme (#272)
- Updated readme
- Used double quotes instead of single quotes
- Increase blog content width

  Before

  ![Screen Shot 2023-07-14 at 13.45.45](/attachments/9c669c42-2efd-4ae5-bbf5-24f252c26fa0)

  After

  ![Screen Shot 2023-07-14 at 13.45.31](/attachments/6f72912c-2fd9-4a63-8839-583864faa474)

- Added subscribe and community components to buttom of the blog post page.

 ![Screen Shot 2023-07-14 at 15.55.12](/attachments/3808fa5a-e951-487b-8ed2-dc693cfec9e2)

  ![Screen Shot 2023-07-14 at 15.55.30](/attachments/864ff357-a116-47ce-abf0-8278e24ede7d)

  Loading:

  ![Screen Shot 2023-07-14 at 15.57.00](/attachments/2f0ace67-d83e-4415-a778-8e7913fb6505)

   Post sent:

  ![Screen Shot 2023-07-14 at 13.48.44](/attachments/ceac4970-a914-49d5-ad42-febb3d259d89)

   Mobile:

  ![Screen Shot 2023-07-14 at 15.58.19](/attachments/7e01f575-7e4d-4d99-9888-7fb246ceb313)

  ![Screen Shot 2023-07-14 at 15.58.27](/attachments/879128d1-f115-41a7-8e8e-574f0b3de208)

Reviewed-on: https://gitea.com/gitea/blog/pulls/272
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
2023-07-14 09:35:26 +00:00
techknowlogick 24b111f656 add redirects 2023-07-12 16:06:47 -04:00
HesterG dab0be78b2 docusaurus blog (#266)
# Notes

- date must not have double quotes, e.g., should be like `date: 2022-10-30T18:25:00+09:15`

- Updated header.

  ![Screen Shot 2023-07-11 at 17.27.49](/attachments/d14b0c62-3630-47a9-bcda-25c6459d4e8b)

- Used customized blog plugin to get all tags with reference to [plugins/blog/index.js](https://github.com/questdb/questdb.io/blob/master/plugins/blog/index.js). Filter by tag section, tag list page.

  ![Screen Shot 2023-07-11 at 18.10.28](/attachments/59561940-a2f7-4ab5-b99a-1d5b84fdbcad)

  ![Screen Shot 2023-07-11 at 17.31.20](/attachments/d6d82976-12c0-4c0f-acfe-218e30c7c627)

- Added coverImage to frontmatter to assgin cover image, e.g., `coverImage: "/img/blog-covers/test.jpeg"`
  And on blog page, cover image will appear on top if `coverImage` added to frontmatter, e.g.,

   ![Screen Shot 2023-07-11 at 17.33.09](/attachments/c27e7971-11db-4241-bc53-9e43df235fbc)

  ![Screen Shot 2023-07-11 at 17.33.20](/attachments/552dd9cf-fc55-4547-8014-864aeb0e5050)

- authors are managed by the `authors.yml` file. [reference](https://docusaurus.io/docs/blog#global-authors)
- [ejected](https://docusaurus.io/docs/swizzling#ejecting) `@docusaurus/theme-classic BlogListPage` and `@docusaurus/theme-classic BlogPostPage`, which are marked as `unsafe` by docusaurus, so need to maintain these components. ([original BlogListPage](https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-theme-classic/src/theme/BlogListPage/index.tsx), [original BlogPostPage](https://github.com/facebook/docusaurus/blob/main/packages/docusaurus-theme-classic/src/theme/BlogPostPage/index.tsx))
- [referenced repo](https://github.com/questdb/questdb.io)

# How to test

```
npm i
npm run start
```

# Build and serve

```
npm run build
npm run serve
```

# Help Needed

Deploy and preview steps

# More Screenshots

![Screen Shot 2023-07-11 at 17.34.54](/attachments/ee9d46ac-72ac-49de-90df-38e2afc6db02)

Mobile:

![Screen Shot 2023-07-11 at 18.16.54](/attachments/8f1471a3-27cc-459a-a2ce-c0e5bdf604d3)

![Screen Shot 2023-07-10 at 17.53.18](/attachments/992d9f24-e130-41a9-8b55-86744539524c)

![Screen Shot 2023-07-06 at 11.02.21](/attachments/af1632b8-6a61-47f7-b15d-4a6080bebadb)

![Screen Shot 2023-07-11 at 18.17.43](/attachments/af0df617-27a4-46f9-a8a3-037be268e1cd)

![Screen Shot 2023-07-03 at 15.32.45](/attachments/ad2c1217-e82d-434c-81c8-5d4058e18591)

# TODO

- [x] Add Banner to blog page

Reviewed-on: https://gitea.com/gitea/blog/pulls/266
Co-authored-by: HesterG <hestergong@gmail.com>
Co-committed-by: HesterG <hestergong@gmail.com>
2023-07-12 03:25:19 +00:00