-
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.
Merge pull request #81 from G-Techs/chore/improve-setup
refactor: clean up and add new settings
- Loading branch information
Showing
94 changed files
with
11,018 additions
and
2,828 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@commitlint/config-conventional" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
public | ||
.next/ | ||
build/ |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Install the dependencies | ||
run: npm ci | ||
- name: Setup the author | ||
run: git config --global user.name "${{ github.actor }}" && git config --global user.email "${{ github.actor }}@users.noreply.github.com" | ||
- name: Run release | ||
run: npm run release --ci | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: End message | ||
run: echo "Release done!!!!! 🚀" |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx commitlint --edit ${1} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node_modules | ||
public | ||
.next/ | ||
build/ |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"printWidth": 180 | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"git": { | ||
"requireBranch": "main", | ||
"commitMessage": "chore: release v${version}" | ||
}, | ||
"hooks": { | ||
"before:init": ["git pull", "npm run lint", "npm run prettier:check"], | ||
"after:bump": "npx auto-changelog -p" | ||
}, | ||
"github": { | ||
"release": true | ||
} | ||
} |
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,15 +1,15 @@ | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import AddCategory from "../modules/AddCategory"; | ||
import PageCard from "../modules/__modules__/Card/PageCard"; | ||
|
||
const AddCategoryPage = () => { | ||
const [isTopNav, setIsTopNav] = useState(false); | ||
return ( | ||
<PageCard setIsTopNav={setIsTopNav}> | ||
<AddCategory /> | ||
</PageCard> | ||
); | ||
}; | ||
export default AddCategoryPage; | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import AddCategory from "../modules/AddCategory"; | ||
import PageCard from "../modules/layout/PageLayout"; | ||
|
||
const AddCategoryPage = () => { | ||
const [_, setIsTopNav] = useState(false); | ||
|
||
return ( | ||
<PageCard setIsTopNav={setIsTopNav}> | ||
<AddCategory /> | ||
</PageCard> | ||
); | ||
}; | ||
export default AddCategoryPage; |
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,14 +1,14 @@ | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import AddNewSinger from "../modules/AddNewSinger"; | ||
import PageCard from "../modules/__modules__/Card/PageCard"; | ||
|
||
const AddNewSongPage = () => { | ||
const [isTopNav, setIsTopNav] = useState(false); | ||
return ( | ||
<PageCard setIsTopNav={setIsTopNav}> | ||
<AddNewSinger /> | ||
</PageCard> | ||
); | ||
}; | ||
export default AddNewSongPage; | ||
import React from "react"; | ||
import { useState } from "react"; | ||
import AddNewSinger from "../modules/AddNewSinger"; | ||
import PageCard from "../modules/layout/PageLayout"; | ||
|
||
const AddNewSongPage = () => { | ||
const [isTopNav, setIsTopNav] = useState(false); | ||
return ( | ||
<PageCard setIsTopNav={setIsTopNav}> | ||
<AddNewSinger /> | ||
</PageCard> | ||
); | ||
}; | ||
export default AddNewSongPage; |
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
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 |
---|---|---|
|
@@ -7,31 +7,21 @@ const ConfirmEmail = () => { | |
<div className="lg:min-w-[50%] lg:max-w-[900px] px-5 w-full bg-opacity-10 border mx-2 border-gray-800 rounded-md backdrop-filter backdrop-blur-lg bg-gray-200 pb-8"> | ||
<div className="w-full -mt-12 flex justify-center"> | ||
<div className="lg:w-[8rem] w-[6rem] ring-2 ring-primary rounded-full overflow-hidden"> | ||
<img | ||
alt="Pic" | ||
src="https://templates.iqonic.design/muzik/html/images/login/user.png" | ||
/> | ||
<img alt="Pic" src="https://templates.iqonic.design/muzik/html/images/login/user.png" /> | ||
</div> | ||
</div> | ||
<div> | ||
<div className="lg:w-full"> | ||
<img | ||
src="https://templates.iqonic.design/muzik/html/images/login/mail.png" | ||
alt="email" | ||
/> | ||
<img src="https://templates.iqonic.design/muzik/html/images/login/mail.png" alt="email" /> | ||
</div> | ||
</div> | ||
<div className="mt-6 text-gray-200"> | ||
<p className="md:text-7xl text-3xl">Success !</p> | ||
<p className="md:text-xl text-md"> | ||
A email has been send to [email protected]. Please check for an | ||
email from company and click on the included link to reset your | ||
password. | ||
A email has been send to [email protected]. Please check for an email from company and click on the included link to reset your password. | ||
</p> | ||
</div> | ||
<button className="mt-6 text-lg text-gray-200 bg-primary rounded-lg p-4 shadow-lg w-full"> | ||
back to Home | ||
</button> | ||
<button className="mt-6 text-lg text-gray-200 bg-primary rounded-lg p-4 shadow-lg w-full">back to Home</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
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
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
Oops, something went wrong.
99bdfd1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
yokaa-frontend – ./
yokaa-frontend.vercel.app
yokaa-frontend-yokaa.vercel.app
yokaa-frontend-git-main-yokaa.vercel.app