Skip to content

Commit

Permalink
fix: linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
md61421 committed Mar 10, 2024
1 parent bbec571 commit 3478493
Show file tree
Hide file tree
Showing 46 changed files with 702 additions and 513 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
blank_issues_enabled: true

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ body:
description: By submitting this issue, you agree to follow our Code of Conduct
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ body:
description: By submitting this issue, you agree to follow our Code of Conduct
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/styles.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Style Changing Request
description: Suggest a style design
title: '[style]: '
labels: ['enhancement']
title: "[style]: "
labels: ["enhancement"]

body:
- type: markdown
Expand All @@ -13,7 +13,7 @@ body:
attributes:
label: What's the style idea?
placeholder: Add descriptions
value: 'We need to improve'
value: "We need to improve"
validations:
required: true
- type: textarea
Expand All @@ -22,7 +22,7 @@ body:
label: Add screenshots
description: Add screenshots to show the demo
placeholder: Add screenshots
value: 'Add screenshots'
value: "Add screenshots"
- type: checkboxes
id: terms
attributes:
Expand All @@ -36,4 +36,4 @@ body:
- label: I agree to follow this project's [Code of Conduct](https://github.com/Stoccoin-Official/Stoccoin-Website/blob/main/CODE_OF_CONDUCT.md)
required: true
- label: I'm a GSSoC'23 contributor
- label: I want to work on this issue
- label: I want to work on this issue
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: 'daily'
interval: "daily"
2 changes: 1 addition & 1 deletion .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pullRequestMerged: |
👋 @{{ author }} 🎉 Congrats on your merged pull request! Thanks for the valuable contribution!
👋 @{{ author }} 🎉 Congrats on your merged pull request! Thanks for the valuable contribution!
- name: Auto Comment on Pull Request Opened
uses: wow-actions/auto-comment@v1
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lock-issues.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Lock new issues'
name: "Lock new issues"

on:
issues:
Expand All @@ -14,8 +14,8 @@ jobs:
- uses: dessant/repo-lockdown@v3
with:
close-issue: false
exclude-issue-labels: 'status: ready for dev'
process-only: 'issues'
exclude-issue-labels: "status: ready for dev"
process-only: "issues"
skip-closed-issue-comment: true
issue-comment: >
To reduce notifications, issues are locked. Your issue will be unlock when we will add label as `status: ready for dev`. Check out the [contributing guide](https://github.com/Stoccoin-Official/Stoccoin-Website/blob/main/CONTRIBUTING.md) for more information.
To reduce notifications, issues are locked. Your issue will be unlock when we will add label as `status: ready for dev`. Check out the [contributing guide](https://github.com/Stoccoin-Official/Stoccoin-Website/blob/main/CONTRIBUTING.md) for more information.
2 changes: 1 addition & 1 deletion GSSoC-CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ Please add your name and college above if you are a contributor:
| 36. | Atharva Raut | NBN Sinhgad Institute of Technical Campus, Pune |
| 37. | Shreya Gupta | Pranveer Singh Institute of Technology, Kanpur |
| 38. | Ayush Rathore | Dr.B.R. Ambedkar NIT Jalandhar |
| 39. | Md Shadab Alam | National Institute of Technology Karnataka
| 39. | Md Shadab Alam | National Institute of Technology Karnataka |
2 changes: 1 addition & 1 deletion app/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
2 changes: 1 addition & 1 deletion app/postcss.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module.exports = {
tailwindcss: {},
autoprefixer: {},
},
}
};
18 changes: 9 additions & 9 deletions app/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
color: #888;
}

.active{
.active {
width: fit-content;
position: relative;
}
.active::after{
.active::after {
display: block;
content: '';
content: "";
position: absolute;
height: 3px;
background-color: #4f46e5;
Expand All @@ -65,10 +65,10 @@
}

@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
}
16 changes: 12 additions & 4 deletions app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,20 @@ const App = () => {
<div className={darkMode ? "dark" : ""}>
<div className="dark:bg-slate-900">
<Navbar darkMode={darkMode} setDarkMode={setDarkMode} />
<Suspense fallback={<FaCircleNotch className="spinner" size="5em" />}>
<Suspense
fallback={<FaCircleNotch className="spinner" size="5em" />}
>
<Routes>
<Route path="/" element={<Homepage darkMode={darkMode} />} />
<Route path="/Dashboard" element={<Dashboard />} />
<Route path="/Stocks" element={<Stocks darkMode={darkMode} />} />
<Route path="/Cryptocurrencies" element={<Cryptocurrencies darkMode={darkMode} />} />
<Route
path="/Stocks"
element={<Stocks darkMode={darkMode} />}
/>
<Route
path="/Cryptocurrencies"
element={<Cryptocurrencies darkMode={darkMode} />}
/>
<Route path="/News" element={<News darkMode={darkMode} />} />
<Route path="/NFT" element={<NFT />} />
<Route path="/Trade" element={<Trade darkMode={darkMode} />} />
Expand All @@ -69,4 +77,4 @@ const App = () => {
);
};

export default App;
export default App;
8 changes: 4 additions & 4 deletions app/src/assets/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { default as loginIMG } from './loginIMG.svg';
export { default as signupIMG } from './signupIMG.svg';
export { default as koo } from './koo-icon.svg';
export { default as koo2 } from './koo-icon-hover.svg';
export { default as loginIMG } from "./loginIMG.svg";
export { default as signupIMG } from "./signupIMG.svg";
export { default as koo } from "./koo-icon.svg";
export { default as koo2 } from "./koo-icon-hover.svg";
Loading

0 comments on commit 3478493

Please sign in to comment.