Skip to content

Commit

Permalink
chore: update files
Browse files Browse the repository at this point in the history
  • Loading branch information
javayhu committed Jul 4, 2024
1 parent d8febb3 commit 13f1474
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 156 deletions.
7 changes: 0 additions & 7 deletions .dockerignore

This file was deleted.

43 changes: 0 additions & 43 deletions Dockerfile

This file was deleted.

31 changes: 0 additions & 31 deletions config/nginx/nginx.conf

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"build": "yarn build_search && yarn build_date && astro build",
"preview": "astro preview",
"format": "prettier -w ./src",
"json2md": "node scripts/json2md.js",
"generate": "drizzle-kit generate:sqlite",
"studio": "drizzle-kit studio",
"hide-toolbar": "astro preferences disable devToolbar",
Expand Down
54 changes: 0 additions & 54 deletions scripts/json2md.js

This file was deleted.

6 changes: 3 additions & 3 deletions src/components/Giscus.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<script
id="giscus-script"
src="https://giscus.app/client.js"
data-repo="username/repo"
data-repo-id="repo-id"
data-repo="javayhu/haitang"
data-repo-id="R_kgDOMRlupw"
data-category="Comments"
data-category-id="category-id"
data-category-id="DIC_kwDOMRlup84Cgk01"
data-mapping="pathname"
data-strict="0"
data-reactions-enabled="1"
Expand Down
3 changes: 0 additions & 3 deletions src/config/FooterConfig.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// https://astrowind.vercel.app/

// astro wind footer config
export const footerConfig = {
links: [
{
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/privacy-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The words of which the initial letter is capitalized have meanings defined under
For the purposes of this Privacy Policy:

- **Account** means a unique account created for You to access our Service or parts of our Service.
- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to AstroWind LLC, 1 Cupertino, CA 95014.
- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to HaiTang.
- **Cookies** are small files that are placed on Your computer, mobile device or any other device by a website, containing the details of Your browsing history on that website among its many uses.
- **Country** refers to: California, United States
- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.
Expand Down
2 changes: 1 addition & 1 deletion src/content/pages/terms-of-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For the purposes of these Terms and Conditions:

- **Country** refers to: California, United States

- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to AstroWind LLC, 1 Cupertino, CA 95014.
- **Company** (referred to as either "the Company", "We", "Us" or "Our" in this Agreement) refers to HaiTang.

- **Device** means any device that can access the Service such as a computer, a cellphone or a digital tablet.

Expand Down
12 changes: 0 additions & 12 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,10 @@ module.exports = {
},
extend: {
colors: {
/* text的颜色只需要管前面3种,light、dark、default */
/* 也就是说正常只要这3种颜色即可,text-xxx */
/* 如果有时候希望字体颜色跟主题色一样,那么就还会用到 text-primary */
/* dark可以理解为标题这类primary的文字颜色 */
/* text可以理解为正文这类普通的文字颜色 */
/* light可以理解为描述这类secondary的文字颜色 */
text: theme.colors.default.text_color.default,
light: theme.colors.default.text_color.light,
dark: theme.colors.default.text_color.dark,

/* primary可以理解为主题颜色,例如 text-primary / bg-primary */
/* secondary可以理解为次要颜色,实际用的不多,例如 text-secondary */
/* body可以理解为网页大面积的中间正文背景颜色,例如 bg-body */
/* border可以理解为边框颜色,例如 border-border */
/* theme-light可以理解为浅色主题,一般用于页面小部分内容的背景色,例如 bg-theme-light */
/* theme-dark可以理解为深色主题,一般用于页面小部分内容的背景色,例如 bg-theme-dark */
primary: theme.colors.default.theme_color.primary,
secondary: theme.colors.default.theme_color.secondary,
body: theme.colors.default.theme_color.body,
Expand Down

0 comments on commit 13f1474

Please sign in to comment.