Skip to content

Commit 0549502

Browse files
committed
.
1 parent 352fa1d commit 0549502

2 files changed

Lines changed: 24 additions & 15 deletions

File tree

README.md

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,42 @@
11
# 网站技术方案
22
- React
33
- Next.js
4-
- Tailwind CSS -> shadcn
54
- Typescript
5+
- Tailwind CSS / shadcn
66

7-
# 开发相关
8-
### Setup
9-
- install ```npm```
10-
- ```npm install``` to install or update all dependencies
117

12-
### Preview
13-
- ```npm run dev```
8+
# General
149

15-
### Deploy
16-
- Simply push the code to the GitHub and it will be done automatically.
10+
### Style
11+
- ```m-``` & ```p-``` use 6 / 12 /24
12+
- ```scroll-mt32```
13+
- note in website ```text-xs```
14+
- ```rounded-sm```
15+
- breakpoint: ```md``` / ```xl``` / ```3xl```
1716

1817
### Note
1918
- use ```<Link>``` instead of ```<a>```
2019
- use ```<Image>``` instead of ```<img>```
2120
- use ```<div><Image></div>``` instead of ```<div className='background-image'></div>```
2221
- <FadeIn> for animation of all foreground elements, note that it could probabilistically change layout, check everytime when add this
2322

24-
### Style
25-
- ```m-``` & ```p-``` use 6 / 12 /24
26-
- ```scroll-mt32```
23+
24+
25+
# dev
26+
27+
### Setup
28+
- install ```npm```
29+
- ```npm install``` to install or update all dependencies
30+
31+
### Preview
32+
- ```npm run dev```
33+
34+
### Deploy
35+
- Simply push the code to the GitHub and it will be done automatically.
2736

2837

2938

30-
## 图像要求
39+
# 图像要求
3140
- upload to corresponding folder in [https://github.com/MMLABassets/MMLABassets.github.io](https://github.com/MMLABassets/MMLABassets.github.io) / access via ```https://mmlabassets.github.io/*```
3241
- reduce image size -> use [https://www.photopea.com/](https://www.photopea.com/) to reduce image quality, normally 90%
3342

@@ -43,4 +52,4 @@
4352

4453
|| ✖️ |
4554
|---|---|
46-
| ![image](https://github.com/user-attachments/assets/96c2db29-e206-4850-b956-6f47a460c5a0) | ![image](https://github.com/user-attachments/assets/6a649dfe-3211-48ec-bcfa-d974db25c23d) |
55+
| ![image](https://github.com/user-attachments/assets/96c2db29-e206-4850-b956-6f47a460c5a0) | ![image](https://github.com/user-attachments/assets/6a649dfe-3211-48ec-bcfa-d974db25c23d) |

app/(default_site)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function RootLayout({
2525

2626
{children}
2727

28-
<footer className="w-full px-6 my-16 flex flex-row justify-center select-none">
28+
<footer className="w-full px-6 my-24 flex flex-row justify-center select-none">
2929
<div className="w-full max-w-7xl text-xs">
3030
OpenDriveLab © 2021 - 2025
3131
</div>

0 commit comments

Comments
 (0)