File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ const Exam: NextPage<{ searchParams: { url: string; name: string } }> = ({
9292 const numberOfQuestions = data . randomQuestions . length || 0 ;
9393
9494 return (
95- < div className = "py-10 px-5 mb-6 mx-auto w-5/6 sm :w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
95+ < div className = "py-10 px-5 mb-6 mx-auto w-[90vw] lg :w-[60vw] 2xl:w-[45%] bg-slate-800 border-2 border-slate-700 rounded-lg" >
9696 < div >
9797 < div className = "px-2 sm:px-10 w-full flex flex-row justify-between items-center" >
9898 < p className = "text-white font-bold text-sm sm:text-2xl" >
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ const Modes: NextPage<{ searchParams: { url: string; name: string } }> = ({
77 const { url, name } = searchParams ;
88
99 return (
10- < div className = "mx-auto mb-6 w-5/6 sm :w-2/3 lg:w-2/3 xl :w-2/4 text-center" >
10+ < div className = "mx-auto mb-6 w-full md :w-[90vw] lg:w-[70vw] 2xl :w-[45%] text-center" >
1111 < h2 className = "text-white text-4xl text-leading font-bold uppercase md:mt-14" >
1212 { name }
1313 </ h2 >
1414 < p className = "text-white text-lg mt-4 mb-14 px-5 leading-6" >
15- Test your knowledge under pressure with our timed exam mode, or explore
16- and master over 480 questions at your own pace with our practice mode.
15+ Test your knowledge under pressure with our timed exam mode or explore
16+ and master all the questions at your own pace with our practice mode.
1717 </ p >
18- < div className = "flex max-sm:flex-col max-sm:align-center justify-center gap-10 sm :mx-16" >
18+ < div className = "flex max-sm:flex-col max-sm:align-center justify-center gap-10 mx-5 md :mx-16" >
1919 < ExamLink
2020 href = { {
2121 pathname : "/practice" ,
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import exams from "@azure-fundamentals/lib/exams.json";
44
55const Home : NextPage = ( ) => {
66 return (
7- < div className = "mx-auto mb-6 w-5/6 sm:w-2/3 lg:w-2/3 xl :w-2/4 text-center" >
7+ < div className = "mx-auto mb-6 w-full lg:w-[70vw] 2xl :w-[45%] text-center" >
88 < h2 className = "text-white text-5xl text-leading font-bold uppercase md:mt-14" >
99 Welcome!
1010 </ h2 >
1111 < p className = "text-white text-lg mt-4 mb-14 px-5 leading-6" >
1212 Select a Microsoft Azure exam from the list bellow.
1313 </ p >
14- < div className = "grid grid-cols-1 sm:grid-cols-2 gap-x-10 gap-y-5 sm :mx-16 " >
14+ < div className = "grid grid-cols-1 sm:grid-cols-2 gap-x-10 gap-y-5 mx-5 lg :mx-0 " >
1515 { exams . map ( ( exam ) => {
1616 return (
1717 < NameLink
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const Practice: NextPage<{ searchParams: { url: string; name: string } }> = ({
5858 if ( questionsError ) return < p > Oh no... { questionsError . message } </ p > ;
5959
6060 return (
61- < div className = "py-10 px-5 mb-6 sm:p-10 mx-auto w-5/6 sm :w-1/2 bg-slate-800 border-2 border-slate-700 rounded-lg" >
61+ < div className = "py-10 px-5 mb-6 sm:p-10 mx-auto w-[90vw] lg :w-[60vw] 2xl:w-[45%] bg-slate-800 border-2 border-slate-700 rounded-lg" >
6262 < QuizForm
6363 isLoading = { loading || questionsLoading }
6464 questionSet = { data ?. questionById }
You can’t perform that action at this time.
0 commit comments