Skip to content

Commit

Permalink
enable Comment Grading
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunniii committed Sep 28, 2023
1 parent cd59f87 commit ae018c9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ window.addEventListener("keydown", handleShortCut);
>
<img
src="/icon.png"
class="mx-auto w-20 drop-shadow-lg"
class="mx-auto w-20 drop-shadow-lg animate-wiggle"
/>
<h1 class="text-center text-base pt-4 dark:text-white font-bold">{{ store.user?.name }}</h1>
<div>
Expand Down
4 changes: 3 additions & 1 deletion src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let user: user;
let appReady: true | false = false;
let gradeTeammatesState: state = "static";
let gradeGroupsState: state = "static";
let gradeCommentsState: state = "disable";
let gradeCommentsState: state = "static";

export const useStore = defineStore("store", {
state: () => ({
Expand Down Expand Up @@ -208,6 +208,8 @@ export const useStore = defineStore("store", {
let qcSettings: response = await utils.get(endpoints.qcSettings, this.TOKEN, {
privateCqId: privateCqId,
});
if (qcSettings.data.data) {
}
},
},
});
12 changes: 11 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@
export default {
content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
theme: {
extend: {},
extend: {
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
},
animation: {
wiggle: "wiggle 1s ease-in-out infinite",
},
},
},
plugins: [],
};

0 comments on commit ae018c9

Please sign in to comment.