Skip to content

Commit e7a6002

Browse files
Readme update, code formatting and bug fixes (#16)
* md preview * added markdown preview to create question. Changed to md preview from blocknote in update question. Fixed update question. * Fixed incorrect padding * Fixed initial markdown * added round enable functionality * put up same fonts in edit and update page * commented out navigation section on dashboard * Added template for LeaderBoard * Added template for LeaderBoard * created boilerplate leadboard * Added better syling for leaderboard * fixed build errors and bug fixes * fixed update page * added readme * readme bugfix * readme bugfix
1 parent f56085d commit e7a6002

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+974
-796
lines changed

.eslintrc.cjs

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,40 @@
11
/** @type {import("eslint").Linter.Config} */
22
const config = {
3-
"parser": "@typescript-eslint/parser",
4-
"parserOptions": {
5-
"project": true
3+
parser: "@typescript-eslint/parser",
4+
parserOptions: {
5+
project: true,
66
},
7-
"plugins": [
8-
"@typescript-eslint"
9-
],
10-
"extends": [
7+
plugins: ["@typescript-eslint"],
8+
extends: [
119
"next/core-web-vitals",
1210
"plugin:@typescript-eslint/recommended-type-checked",
13-
"plugin:@typescript-eslint/stylistic-type-checked"
11+
"plugin:@typescript-eslint/stylistic-type-checked",
1412
],
15-
"rules": {
13+
rules: {
1614
"@typescript-eslint/array-type": "off",
1715
"@typescript-eslint/consistent-type-definitions": "off",
1816
"@typescript-eslint/consistent-type-imports": [
1917
"warn",
2018
{
21-
"prefer": "type-imports",
22-
"fixStyle": "inline-type-imports"
23-
}
19+
prefer: "type-imports",
20+
fixStyle: "inline-type-imports",
21+
},
2422
],
2523
"@typescript-eslint/no-unused-vars": [
2624
"warn",
2725
{
28-
"argsIgnorePattern": "^_"
29-
}
26+
argsIgnorePattern: "^_",
27+
},
3028
],
3129
"@typescript-eslint/require-await": "off",
3230
"@typescript-eslint/no-misused-promises": [
3331
"error",
3432
{
35-
"checksVoidReturn": {
36-
"attributes": false
37-
}
38-
}
39-
]
40-
}
41-
}
42-
module.exports = config;
33+
checksVoidReturn: {
34+
attributes: false,
35+
},
36+
},
37+
],
38+
},
39+
};
40+
module.exports = config;

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,32 @@
3939
- Create, delete and update questions using intutive buttons.
4040

4141
- All our tables have sorting with pagination and caching.
42+
<p align="center">
43+
44+
#### Login Page
45+
46+
<img width="1440" alt="image" src="/showcase_ss/login_page.png">
47+
48+
### Portal
49+
50+
#### Dashboard
51+
<img width="1440" alt="image" src="/showcase_ss/dashboard_page.png">
52+
53+
#### Edit Question Page
54+
<img width="1440" alt="image" src="/showcase_ss/edit_question_page.png">
55+
56+
#### Question Creation Page
57+
<img width="1440" alt="image" src="/showcase_ss/question_creation_page.png">
58+
59+
#### Question Page
60+
<img width="1440" alt="image" src="/showcase_ss/question_page.png">
61+
<img width="1440" alt="image" src="/showcase_ss/testcase_question_page.png">
62+
63+
#### Users Page
64+
65+
<img width="1440" alt="image" src="/showcase_ss/users_page.png">
66+
67+
</p>
4268

4369
## 🏁 Get Started
4470

components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
"lib": "@/lib",
1818
"hooks": "@/hooks"
1919
}
20-
}
20+
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "next build",
88
"dev": "next dev",
99
"lint": "next lint",
10-
"start": "next start"
10+
"start": "next start",
11+
"pretty": "prettier --write \"./**/*.{js,jsx,mjs,cjs,ts,tsx,json}\""
1112
},
1213
"dependencies": {
1314
"@blocknote/core": "^0.15.10",

showcase_ss/dashboard_page.png

286 KB
Loading

showcase_ss/edit_question_page.png

1.42 MB
Loading

showcase_ss/login_page.png

80.9 KB
Loading
517 KB
Loading

showcase_ss/question_page.png

282 KB
Loading
503 KB
Loading

0 commit comments

Comments
 (0)