e4807cac7a
BLOG-45 refactor: format
2025-07-24 12:19:06 +08:00
f07460d95c
BLOG-45 feat: add markdown-it and types for improved post content rendering
Frontend CI / build (push) Failing after 50s
2025-07-24 12:13:41 +08:00
65a14e5d2c
BLOG-45 feat: implement post retrieval functionality with PostBloc and PostResponseDto
Frontend CI / build (push) Failing after 49s
2025-07-24 09:25:27 +08:00
a73c3c3354
BLOG-45 feat: improve efficiency with ssr
Frontend CI / build (push) Failing after 46s
2025-07-24 08:03:15 +08:00
901d367d9d
BLOG-45 fix: trivial style
Frontend CI / build (push) Failing after 52s
2025-07-24 04:55:55 +08:00
4a924c1b92
BLOG-65 Establish beta environment ( #66 )
...
Frontend CI / build (push) Successful in 1m4s
### Description
- Change some environment variables implementation
- Nginx configuration:
```nginx
server {
server_name beta.squidspirit.com;
proxy_pass_request_headers on;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
location / {
proxy_pass http://127.0.0.1:10013/ ;
}
location /api/ {
proxy_pass http://127.0.0.1:10014/ ;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/beta.squidspirit.com/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/beta.squidspirit.com/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
if ($host = beta.squidspirit.com) {
return 301 https://$host$request_uri ;
} # managed by Certbot
server_name beta.squidspirit.com;
listen 80;
return 404; # managed by Certbot
}
```
- Podman kube configuration:
```yaml
apiVersion: v1
kind: Secret
metadata:
name: beta-blog-secret
data:
DATABASE_PASSWORD: {{BASE64_PASSWORD}}
---
apiVersion: v1
kind: Pod
metadata:
name: beta-blog
spec:
containers:
- name: postgres
image: docker.io/library/postgres:17-alpine
imagePullPolicy: always
env:
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: beta-blog-secret
key: DATABASE_PASSWORD
volumeMounts:
- name: beta-blog-postgres
mountPath: /var/lib/postgresql/data
- name: backend
image: registry.squidspirit.com/squid/beta-blog-backend:latest
imagePullPolicy: always
env:
- name: DATABASE_PASSWORD
valueFrom:
secretKeyRef:
name: beta-blog-secret
key: DATABASE_PASSWORD
volumeMounts:
- name: beta-blog-localtime
mountPath: /etc/localtime
readonly: true
ports:
- hostPort: 10014
hostIP: 127.0.0.1
containerPort: 8080
- name: frontend
image: registry.squidspirit.com/squid/beta-blog-frontend:latest
imagePullPolicy: always
env:
- name: PUBLIC_API_BASE_URL
value: https://beta.squidspirit.com/api/
volumeMounts:
- name: beta-blog-localtime
mountPath: /etc/localtime
readonly: true
ports:
- hostPort: 10013
hostIP: 127.0.0.1
containerPort: 3000
volumes:
- name: beta-blog-localtime
hostPath:
path: /etc/localtime
- name: beta-blog-postgres
persistentVolumeClaim:
claimName: beta-blog-postgres
```
### Package Changes
_No response_
### Screenshots
_No response_
### Reference
Resolves #65
### Checklist
- [x] A milestone is set
- [x] The related issuse has been linked to this branch
Reviewed-on: #66
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-07-24 02:23:44 +08:00
c2462fe537
BLOG-44 Post overall page ( #64 )
...
Frontend CI / build (push) Successful in 1m6s
### Description
- Change the format of color response
```json
{
"red": 0,
"green": 255,
"blue": 128,
"alpha": 255
}
```
- The relationship between the label's background color and its highlight color is calculated. The method involves first converting the RGB color value to HSL, then decreasing the L (lightness) component, and finally converting it back to RGB.
### Package Changes
```json
{
"zod": "^4.0.5"
}
```
### Screenshots
|Desktop|Mobile|
|-|-|
|||
### Reference
Resolves #44
### Checklist
- [x] A milestone is set
- [x] The related issuse has been linked to this branch
Reviewed-on: #64
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-07-24 00:32:20 +08:00
06c66e1a18
BLOG-58 fix: eslint error
Frontend CI / build (push) Successful in 1m3s
PR Title Check / pr-title-check (pull_request) Successful in 16s
2025-07-23 05:32:35 +08:00
f195b9c108
BLOG-58 refactor: run format
Frontend CI / build (push) Failing after 1m3s
PR Title Check / pr-title-check (pull_request) Successful in 13s
2025-07-23 05:27:46 +08:00
eb4b2f4d6a
BLOG-58 refactor: remove nextjs code
PR Title Check / pr-title-check (pull_request) Successful in 13s
Frontend CI / build (push) Failing after 44s
2025-07-23 05:19:36 +08:00
c4535ce399
BLOG-11 Custom favicon and logo ( #32 )
...
Frontend CI / build (push) Successful in 1m34s
### Description
- Design and apply a custom icon to favicon and navbar logo.
- For the favicon, it can be changed by the browser theme (dark or light.)
### Package Changes
_No response_
### Screenshots
| Desktop | Mobile |
| --- | --- |
|  |  |
### Reference
Resolves #11
### Checklist
- [x] A milestone is set
- [x] The related issuse has been linked to this branch
Reviewed-on: #32
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-24 01:35:19 +08:00
2cd16fe9a2
BLOG-27 Add the different size shadows of the home page terminal ( #31 )
...
Frontend CI / build (push) Successful in 1m21s
### Description
Add the shadow(moblie: shadow-lg & desktop: shadow-xl) of the home page terminal
### Package Changes
_No response_
### Screenshots
| Moblie | Desktop |
| --- | --- |
| <img src="/attachments/fd95d222-0b57-4d99-aaec-68c78b9cf9e7" width="400" /> |  |
### Reference
Resolves #27
### Checklist
- [x] A milestone is set
- [x] The related issuse has been linked to this branch
Reviewed-on: #31
Reviewed-by: squid <squid@squidspirit.com>
Co-authored-by: Zoe <7711zoe@gmail.com>
Co-committed-by: Zoe <7711zoe@gmail.com>
2025-01-21 23:21:17 +08:00
0e08db5c34
BLOG-7_home_page_about_me ( #26 )
...
Frontend CI / build (push) Successful in 1m22s
### Description
- Implement the home page about me section
- Terminal styled self introduction
- Animated Motto
### Package Changes
_No response_
### Screenshots
| Desktop (2K 2160x1440) | Mobile (iPhone16 Pro 390x844) |
| --- | --- |
| <video src="attachments/a6ce3af0-1f25-4f79-89af-191e2148949f" title="Screencast From 2025-01-20 03-23-37.mp4" controls></video> | <video src="attachments/59e4ae24-dc16-4a56-88a9-11b9912c8fd4" title="Screencast From 2025-01-20 03-32-20.mp4" controls></video> |
### Reference
Resolves #7
### Checklist
- [x] A milestone is set
Reviewed-on: #26
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-20 03:35:28 +08:00
1b48a61c05
BLOG-8 Set up gitea action ( #22 )
...
Frontend CI / build (push) Successful in 1m20s
### Description
- I found a build error when setting up gitea action, which is caused by circular dependency.
- We couldn't call dispatch in reducer, so something like streaming, delay, set interval could not be use in reducer directly.
- As for async function, we can use [`createAsyncTank`](https://redux-toolkit.js.org/api/createAsyncThunk ).
### Package Changes
_No response_
### Screenshots
_No response_
### Reference
Resolves #8
### Checklist
- [x] A milestone is set
Reviewed-on: #22
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-18 19:59:52 +08:00
bbfe40e521
BLOG-19 Setting up prettier and sort the import order ( #21 )
...
### Description
- Setup prettier for sort the import order
- Apply re-ordering
### Package Changes
- "@trivago/prettier-plugin-sort-imports": "^5.2.1"
### Screenshots
_No response_
### Reference
Resolves #19
### Checklist
- [x] A milestone is set
Reviewed-on: #21
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-18 15:13:15 +08:00
75bb3fbeba
BLOG-13 Add link to footer icons ( #18 )
...
- squid 3853160bf3 BLOG-13 fix: add link to footer icons
Reviewed-on: #18
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-18 04:21:36 +08:00
fb3c204e76
BLOG-16 fix: build failed ( #17 )
...
- squid 389d4ef4a9 BLOG-16 fix: build failed
Reviewed-on: #17
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-18 03:59:16 +08:00
e12d815440
BLOG-5_apply_the_first_view ( #15 )
...
squid 756112cb21 BLOG-5 docs: add comment for next config
squid c16e3f29a0 BLOG-5 refactor: apply clean architecture directory structure
squid 7f1a202cc7 BLOG-5 feat: self tags animation
squid 738008b983 BLOG-5 refactor: remove unused props definition
squid 90c8a2f627 BLOG-5 feat: home page fisrt view desktop layout
zoe d76f54b2b1 BLOG-5 feat: mobile home page first view
Reviewed-on: #15
Co-authored-by: SquidSpirit <squid@squidspirit.com>
Co-committed-by: SquidSpirit <squid@squidspirit.com>
2025-01-18 03:41:56 +08:00