mirror of
https://github.com/tymur999/braintok.git
synced 2025-08-03 15:20:38 +00:00
before side
This commit is contained in:
@@ -1,10 +1,3 @@
|
|||||||
// src/data/notes.ts
|
// src/data/notes.ts
|
||||||
|
|
||||||
export const notes: string[] = [
|
export const notes: string[] = ["basics of mathematical proofs", "fundamentals of propositional logic", "direct proof method", "logical expressions using quantifiers", "problem-solving skills through logic puzzles"];
|
||||||
"The average attention span is 8.25 s",
|
|
||||||
"E = mc^2",
|
|
||||||
"We are a team of dreamers!",
|
|
||||||
"Our names are Kaz, Tymur, Daniil, and Mark!",
|
|
||||||
"LET'S GO TECH",
|
|
||||||
"In my free time, I do poster design for my dorm room",
|
|
||||||
];
|
|
@@ -7,6 +7,15 @@ import { useEffect, useState } from "react";
|
|||||||
// import getSubtask from "@/api/openAI/openAI-API";
|
// import getSubtask from "@/api/openAI/openAI-API";
|
||||||
// import CanvasClass from "@/api/canvas.class";
|
// import CanvasClass from "@/api/canvas.class";
|
||||||
// import getSubtask from "../../api/openAI/openAI-API";
|
// import getSubtask from "../../api/openAI/openAI-API";
|
||||||
|
const questions = [
|
||||||
|
"What topics are covered in day 4 nested quantifiers?",
|
||||||
|
"What key concepts are covered in the introduction to proofs material?",
|
||||||
|
"What are the main topics covered in day1 propositional logic?",
|
||||||
|
"What are the concepts covered in the day 2: puzzles and propositions?",
|
||||||
|
"What concepts are covered in day-3-predicates-and-quantifiers?",
|
||||||
|
"What key concepts are covered in introduction to proofs?"
|
||||||
|
];
|
||||||
|
const randomIndex = Math.trunc(Math.random() * questions.length);
|
||||||
|
|
||||||
export function Time(props: {seconds: number, setIndex: (index: number) => void}) {
|
export function Time(props: {seconds: number, setIndex: (index: number) => void}) {
|
||||||
const [expectedDate] = useState(Date.now()/1000+props.seconds);
|
const [expectedDate] = useState(Date.now()/1000+props.seconds);
|
||||||
@@ -24,7 +33,6 @@ export function Time(props: {seconds: number, setIndex: (index: number) => void}
|
|||||||
// }
|
// }
|
||||||
// hello();
|
// hello();
|
||||||
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
decreaseClock();
|
decreaseClock();
|
||||||
}, []);
|
}, []);
|
||||||
@@ -45,7 +53,7 @@ export function Time(props: {seconds: number, setIndex: (index: number) => void}
|
|||||||
className="absolute top-0 flex flex-col bg-[#ff5757] h-full w-full items-center justify-center
|
className="absolute top-0 flex flex-col bg-[#ff5757] h-full w-full items-center justify-center
|
||||||
from-[#ff5757] to-[rgba(56,56,56,.6)] bg-gradient-to-b from-90%">
|
from-[#ff5757] to-[rgba(56,56,56,.6)] bg-gradient-to-b from-90%">
|
||||||
<h1 className="text-2xl text-center absolute top-[15%] font-bold">
|
<h1 className="text-2xl text-center absolute top-[15%] font-bold">
|
||||||
What is covered in the "day 4 nested quantifiers" from the course?
|
{questions[randomIndex]}
|
||||||
</h1>
|
</h1>
|
||||||
<h1 className="absolute text-9xl font-bold" style={{textShadow: "5px 5px 5px 5px black"}}>
|
<h1 className="absolute text-9xl font-bold" style={{textShadow: "5px 5px 5px 5px black"}}>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user