Compare commits

..

2 commits

Author SHA1 Message Date
Ioan Chelaru Cristian
9e07238ddc Changed API url and Alex's picture
Signed-off-by: Ioan Chelaru Cristian <iccjoc@localhost.localdomain>
2024-06-02 01:09:56 +03:00
Ioan Chelaru Cristian
a3dc222184 Fixed a dumb error
Signed-off-by: Ioan Chelaru Cristian <iccjoc@localhost.localdomain>
2024-06-02 01:06:38 +03:00
5 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ const people = [
name: 'Alexandru Gabriel Stan',
role: 'Back end developer',
imageUrl:
'alex.jpg',
'alex.png',
},
// More people...
]

View file

@ -55,7 +55,7 @@ const QuestionView = ({ question, setState, state }: { question: Question, setSt
</div>
</div>) : (<button className="text-sm font-semibold leading-6 text-gray-200" onClick={handleOpenClick}>
Show answer
</button>
</button>)}
<div className="mt-10 flex items-center justify-center gap-x-6">
<button
onClick={() => { handleAnswerClick( true )}}
@ -69,7 +69,7 @@ const QuestionView = ({ question, setState, state }: { question: Question, setSt
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"
style={{width:'30%', height:'30%'}}
>
>
<XCircleIcon></XCircleIcon>
I didn't know that!
</button>

View file

@ -1,5 +1,5 @@
// 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> => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 567 KiB

BIN
public/alex.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB