Compare commits
2 commits
b4fed6e3c9
...
9e07238ddc
Author | SHA1 | Date | |
---|---|---|---|
|
9e07238ddc | ||
|
a3dc222184 |
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.jpg',
|
'alex.png',
|
||||||
},
|
},
|
||||||
// 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 = "http://localhost:4000/";
|
const base_url: string = "https://api.phite.ro";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
export const makeGetRequest = async<T> (path: string): Promise<T> => {
|
export const makeGetRequest = async<T> (path: string): Promise<T> => {
|
||||||
|
|
BIN
public/alex.jpg
BIN
public/alex.jpg
Binary file not shown.
Before Width: | Height: | Size: 567 KiB |
BIN
public/alex.png
Normal file
BIN
public/alex.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.9 KiB |
Loading…
Reference in a new issue