Skip to content

Commit 85e8101

Browse files
💄 style: Update grid card style
1 parent 41fb35b commit 85e8101

21 files changed

+279
-376
lines changed

.dumirc.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { Github } from 'lucide-react';
33

44
import { homepage } from './package.json';
55

6+
const isWin = process.platform === 'win32';
7+
68
const themeConfig = {
79
actions: [
810
{
@@ -12,8 +14,8 @@ const themeConfig = {
1214
text: 'Github',
1315
},
1416
{
15-
link: '/components/action-icon',
16-
text: 'Get Started',
17+
link: 'https://github.com/lobehub/lobe-chat',
18+
text: 'Try it on LobeChat',
1719
type: 'primary',
1820
},
1921
],
@@ -30,11 +32,9 @@ export default defineConfig({
3032
favicons: [
3133
'https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/magnifying-glass-tilted-left.webp',
3234
],
33-
// locales: [{ id: 'en-US', name: 'English' }],
34-
mfsu: {},
35+
mfsu: isWin ? undefined : {},
3536
npmClient: 'pnpm',
3637
outputPath: 'docs-dist',
37-
// ssr: isProduction ? {} : false,
3838
styles: [
3939
`html, body { background: transparent; }
4040

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ insert_final_newline = true
1313
trim_trailing_whitespace = false
1414

1515
[Makefile]
16-
indent_style = tab
16+
indent_style = tab

.eslintignore

+29-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
1-
/lambda/
2-
/scripts
3-
/config
4-
.history
5-
public
6-
dist
1+
# Eslintignore for LobeHub
2+
################################################################
3+
4+
# dependencies
5+
node_modules
6+
7+
# ci
8+
coverage
9+
.coverage
10+
11+
# test
12+
jest*
13+
_test_
14+
__test__
15+
16+
# umi
717
.umi
8-
mock
18+
.umi-production
19+
.umi-test
20+
.dumi/tmp*
21+
!.dumirc.ts
22+
23+
# production
24+
dist
25+
es
26+
lib
27+
logs
28+
29+
# misc
30+
# add other ignore file below

.eslintrc.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
const config = require('@lobehub/lint').eslint;
2-
3-
module.exports = config;
1+
module.exports = require('@lobehub/lint').eslint;

.gitignore

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
1+
# Gitignore for LobeHub
2+
################################################################
23

3-
# dependencies
4-
**/node_modules
5-
# roadhog-api-doc ignore
6-
/src/utils/request-temp.js
7-
_roadhog-api-doc
8-
9-
# production
10-
/dist
11-
/.vscode
12-
13-
# misc
4+
# general
145
.DS_Store
15-
npm-debug.log*
16-
yarn-error.log
17-
18-
/coverage
196
.idea
20-
package-lock.json
21-
*bak
227
.vscode
23-
24-
# visual studio code
258
.history
9+
.temp
10+
.env.local
11+
venv
12+
temp
13+
tmp
14+
15+
# dependencies
16+
node_modules
2617
*.log
27-
functions/*
28-
.temp/**
18+
*.lock
19+
package-lock.json
20+
21+
# ci
22+
coverage
23+
.coverage
24+
.eslintcache
25+
.stylelintcache
26+
27+
# production
28+
dist
29+
es
30+
lib
31+
logs
32+
test-output
2933

3034
# umi
3135
.umi
3236
.umi-production
37+
.umi-test
38+
.dumi/tmp*
3339

34-
# screenshot
35-
screenshot
36-
.firebase
37-
.eslintcache
38-
39-
build
40-
41-
.env
40+
# husky
41+
.husky/prepare-commit-msg
4242

43+
# misc
44+
# add other ignore file below
4345
.vercel
44-
.dumi/tmp
45-
.dumi/tmp-*
4646
public/dist
4747
docs-dist

.prettierignore

+57-18
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,61 @@
1-
**/*.svg
2-
**/*.ejs
3-
.umi
4-
.umi-production
5-
/dist
6-
.dockerignore
1+
# Prettierignore for LobeHub
2+
################################################################
3+
4+
# general
75
.DS_Store
8-
.eslintignore
9-
*.png
10-
*.toml
11-
docker
126
.editorconfig
13-
Dockerfile*
14-
.gitignore
15-
.prettierignore
7+
.idea
8+
.vscode
9+
.history
10+
.temp
11+
.env.local
12+
.husky
13+
.npmrc
14+
.gitkeep
15+
venv
16+
temp
17+
tmp
1618
LICENSE
17-
.eslintcache
19+
20+
# dependencies
21+
node_modules
22+
*.log
1823
*.lock
19-
yarn-error.log
20-
.history
21-
CNAME
22-
/build
24+
package-lock.json
25+
26+
# ci
27+
coverage
28+
.coverage
29+
.eslintcache
30+
.stylelintcache
31+
test-output
32+
__snapshots__
33+
*.snap
34+
35+
# production
36+
dist
37+
es
38+
lib
39+
logs
40+
41+
# umi
42+
.umi
43+
.umi-production
44+
.umi-test
45+
.dumi/tmp*
46+
47+
# ignore files
48+
.*ignore
49+
50+
# docker
51+
docker
52+
Dockerfile*
53+
54+
# image
55+
*.webp
56+
*.gif
57+
*.png
58+
*.jpg
59+
60+
# misc
61+
# add other ignore file below

.remarkrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').remarklint;

.stylelintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('@lobehub/lint').stylelint;

0 commit comments

Comments
 (0)