Compare commits
No commits in common. "9e07238ddccaab2bb93363afc6a0d1a4765e0511" and "b4fed6e3c9953b48605c8f86066b42064f6038d5" have entirely different histories.
9e07238ddc
...
b4fed6e3c9
5 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ const people = [
|
||||||
name: 'Alexandru Gabriel Stan',
|
name: 'Alexandru Gabriel Stan',
|
||||||
role: 'Back end developer',
|
role: 'Back end developer',
|
||||||
imageUrl:
|
imageUrl:
|
||||||
'alex.png',
|
'alex.jpg',
|
||||||
},
|
},
|
||||||
// More people...
|
// More people...
|
||||||
]
|
]
|
||||||
|
|
|
@ -55,7 +55,7 @@ const QuestionView = ({ question, setState, state }: { question: Question, setSt
|
||||||
</div>
|
</div>
|
||||||
</div>) : (<button className="text-sm font-semibold leading-6 text-gray-200" onClick={handleOpenClick}>
|
</div>) : (<button className="text-sm font-semibold leading-6 text-gray-200" onClick={handleOpenClick}>
|
||||||
Show answer
|
Show answer
|
||||||
</button>)}
|
</button>
|
||||||
<div className="mt-10 flex items-center justify-center gap-x-6">
|
<div className="mt-10 flex items-center justify-center gap-x-6">
|
||||||
<button
|
<button
|
||||||
onClick={() => { handleAnswerClick( true )}}
|
onClick={() => { handleAnswerClick( true )}}
|
||||||
|
@ -69,7 +69,7 @@ const QuestionView = ({ question, setState, state }: { question: Question, setSt
|
||||||
onClick={() => {handleAnswerClick( false )}}
|
onClick={() => {handleAnswerClick( false )}}
|
||||||
className="rounded-md bg-red-600 px-3.5 py-2.5 text-xs font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
className="rounded-md bg-red-600 px-3.5 py-2.5 text-xs font-semibold text-white shadow-sm hover:bg-red-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
|
||||||
style={{width:'30%', height:'30%'}}
|
style={{width:'30%', height:'30%'}}
|
||||||
>
|
>
|
||||||
<XCircleIcon></XCircleIcon>
|
<XCircleIcon></XCircleIcon>
|
||||||
I didn't know that!
|
I didn't know that!
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// the base URL of the api; all requests start with it
|
// the base URL of the api; all requests start with it
|
||||||
const base_url: string = "https://api.phite.ro";
|
const base_url: string = "http://localhost:4000/";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
export const makeGetRequest = async<T> (path: string): Promise<T> => {
|
export const makeGetRequest = async<T> (path: string): Promise<T> => {
|
||||||
|
|
BIN
public/alex.jpg
Normal file
BIN
public/alex.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 567 KiB |
BIN
public/alex.png
BIN
public/alex.png
Binary file not shown.
Before Width: | Height: | Size: 5.9 KiB |
Loading…
Reference in a new issue