Skip to content

Commit d14b44b

Browse files
committed
fix: format code and ensure consistent styling across files
1 parent 2a9df52 commit d14b44b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+14317
-11632
lines changed

.github/workflows/deploybackup.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Upload to B-Backup (Manual)
2-
2+
33
on:
44
workflow_dispatch:
55

@@ -11,11 +11,10 @@ jobs:
1111
- name: Checkout code
1212
uses: actions/checkout@v4
1313

14-
1514
- uses: actions/setup-node@v4
1615
with:
1716
node-version: 22
18-
17+
1918
- name: get pnpm
2019
run: npm install -g pnpm
2120

@@ -31,12 +30,10 @@ jobs:
3130
- name: Deploy to BunnyCDN
3231
uses: ayeressian/[email protected]
3332
with:
34-
source: "dist"
35-
destination: ""
36-
storageZoneName: "${{ secrets.STORAGE_NAME_BACKUP }}"
37-
storagePassword: "${{ secrets.STORAGE_PASSWORD_BACKUP }}"
38-
upload: "true"
39-
remove: "false"
40-
purgePullZone: "false"
41-
42-
33+
source: 'dist'
34+
destination: ''
35+
storageZoneName: '${{ secrets.STORAGE_NAME_BACKUP }}'
36+
storagePassword: '${{ secrets.STORAGE_PASSWORD_BACKUP }}'
37+
upload: 'true'
38+
remove: 'false'
39+
purgePullZone: 'false'

.github/workflows/deploymain.yml

+9-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Upload to B-Main
2-
2+
33
on:
44
workflow_dispatch:
55

@@ -11,11 +11,10 @@ jobs:
1111
- name: Checkout code
1212
uses: actions/checkout@v4
1313

14-
1514
- uses: actions/setup-node@v4
1615
with:
1716
node-version: 22
18-
17+
1918
- name: get pnpm
2019
run: npm install -g pnpm
2120

@@ -31,12 +30,10 @@ jobs:
3130
- name: Deploy to BunnyCDN
3231
uses: ayeressian/[email protected]
3332
with:
34-
source: "dist"
35-
destination: ""
36-
storageZoneName: "${{ secrets.STORAGE_NAME }}"
37-
storagePassword: "${{ secrets.STORAGE_PASSWORD }}"
38-
upload: "true"
39-
remove: "false"
40-
purgePullZone: "false"
41-
42-
33+
source: 'dist'
34+
destination: ''
35+
storageZoneName: '${{ secrets.STORAGE_NAME }}'
36+
storagePassword: '${{ secrets.STORAGE_PASSWORD }}'
37+
upload: 'true'
38+
remove: 'false'
39+
purgePullZone: 'false'

.github/workflows/prbuildcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
run: pnpm install --no-frozen-lockfile
2626

2727
- name: Build project
28-
run: pnpm run build
28+
run: pnpm run build

.prettierrc.mjs

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export default {
44
tabWidth: 2,
55
semi: false,
66
singleQuote: true,
7-
endOfLine: "lf",
8-
plugins: ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
9-
};
7+
endOfLine: 'lf',
8+
plugins: ['prettier-plugin-astro', 'prettier-plugin-tailwindcss'],
9+
}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ This repository contains the source code for the Zen Browser Website. We are thr
1313

1414
Zen Browser's website is built with [Astro.js](https://astro.build/), [TypeScript](https://www.typescriptlang.org/), and [Tailwind CSS](https://tailwindcss.com/).
1515

16-
If you are interested in contributing to this project, please read the [Contributing Guidelines](https://docs.zen-browser.app/contribute/www).
16+
If you are interested in contributing to this project, please read the [Contributing Guidelines](https://docs.zen-browser.app/contribute/www).

astro.config.mjs

+13-9
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
// @ts-check
2-
import { defineConfig } from 'astro/config';
3-
import tailwind from '@astrojs/tailwind';
2+
import { defineConfig } from 'astro/config'
3+
import tailwind from '@astrojs/tailwind'
44

5-
import react from '@astrojs/react';
5+
import react from '@astrojs/react'
66

7-
import sitemap from '@astrojs/sitemap';
7+
import sitemap from '@astrojs/sitemap'
88

99
// https://astro.build/config
1010
export default defineConfig({
11-
integrations: [tailwind(), react(), sitemap({
12-
filter: (page) => !page.includes('mods/'),
13-
})],
14-
site: 'https://zen-browser.app',
15-
});
11+
integrations: [
12+
tailwind(),
13+
react(),
14+
sitemap({
15+
filter: (page) => !page.includes('mods/'),
16+
}),
17+
],
18+
site: 'https://zen-browser.app',
19+
})

0 commit comments

Comments
 (0)