-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61f61e9
commit c3b3659
Showing
10 changed files
with
39 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,4 +29,4 @@ jobs: | |
run: pnpm install | ||
|
||
- name: Lint | ||
run: pnpm lint | ||
run: pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,10 @@ Web Application for SUCU's website. | |
## Prerequisites | ||
|
||
Please install the following. | ||
- [Node.js](https://nodejs.org/en/) | ||
- [pnpm](https://pnpm.io/) | ||
- [Git](https://git-scm.com/) | ||
|
||
- [Node.js](https://nodejs.org/en/) | ||
- [pnpm](https://pnpm.io/) | ||
- [Git](https://git-scm.com/) | ||
|
||
This project use [Svelte](https://svelte.dev/docs/) and [TailwindCSS](https://tailwindcss.com/) as CSS Framework. | ||
|
||
|
@@ -17,7 +18,6 @@ For front-end design you can see in [SUCU's Figma](https://www.figma.com/design/ | |
|
||
1. Clone this repository | ||
|
||
|
||
```bash | ||
# Using SSH (recommended) | ||
git clone [email protected]:isd-sgcu/sucu-frontend-2024.git | ||
|
@@ -27,16 +27,19 @@ https://github.com/isd-sgcu/sucu-frontend-2024.git | |
``` | ||
|
||
2. Go to project folder | ||
|
||
```bash | ||
cd sucu-frontend-2024 | ||
``` | ||
|
||
3. Install all dependencies | ||
|
||
```bash | ||
pnpm install | ||
``` | ||
|
||
4. Run | ||
|
||
```bash | ||
pnpm dev | ||
``` | ||
|
@@ -48,35 +51,41 @@ pnpm dev | |
We will seperate a branch for each features and each person then, create pull request for combine code together. | ||
|
||
1. Go to `dev` branch and pull updated code | ||
|
||
```bash | ||
git checkout dev | ||
|
||
git pull | ||
``` | ||
|
||
2. Create branch and go to your branch | ||
|
||
```bash | ||
git branch {your_branch_name} | ||
|
||
git checkout {your_branch_name} | ||
``` | ||
|
||
> Note : exmaple of {your_branch_name} is boom/feat/pet-card, aungpao/refactor/main-page | ||
3. Push your branch upstream | ||
|
||
```bash | ||
git push --set-upstream origin {your_branch_name} | ||
``` | ||
|
||
4. Working with your code | ||
|
||
5. Stage and commit your changes | ||
|
||
```bash | ||
git add . | ||
|
||
git commit -m {commit_message} | ||
``` | ||
|
||
6. Push your code in to your branch | ||
|
||
```bash | ||
git push | ||
``` | ||
|
@@ -102,9 +111,9 @@ git commit -m "refactor: <what-you-refactored>" | |
|
||
The commit message should start with one of the following types: | ||
|
||
- feat: A new feature | ||
- fix: A bug fix | ||
- refactor: A code change that neither fixes a bug nor adds a feature | ||
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | ||
- feat: A new feature | ||
- fix: A bug fix | ||
- refactor: A code change that neither fixes a bug nor adds a feature | ||
- style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | ||
|
||
For more information, please read the [conventional commit format](https://www.conventionalcommits.org/en/v1.0.0/) documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<section> | ||
<h2>Playground</h2> | ||
</section> | ||
<h2>Playground</h2> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './cn'; | ||
export * from './cn'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script> | ||
import "../app.css"; | ||
import '../app.css'; | ||
</script> | ||
|
||
<slot/> | ||
<slot /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script> | ||
import Playground from "$lib/components/Playground.svelte"; | ||
import Playground from '$lib/components/Playground.svelte'; | ||
</script> | ||
|
||
<Playground/> | ||
<Playground /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} | ||
|
||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: {} | ||
}, | ||
plugins: [] | ||
}; |