File tree 5 files changed +12
-14
lines changed
5 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ export const metadata: Metadata = {
19
19
function AdminLayout ( { children } : { children : React . ReactNode } ) {
20
20
return (
21
21
< div className = "flex w-full flex-1 " >
22
- < div className = "w-20 " >
22
+ < div className = "sm:w-1/8 md:w-20 " >
23
23
< SideNavBar />
24
24
</ div >
25
- < div className = "flex w-full flex-1 flex-col " >
25
+ < div className = "flex w-4/5 flex-1 flex-col " >
26
26
< TopNavBar />
27
27
{ children }
28
28
</ div >
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const metadata: Metadata = {
25
25
} ;
26
26
export default function page ( ) {
27
27
return (
28
- < div className = "flex flex-1 flex-col gap-4 overflow-auto bg-slate-200 p-4 text-3xl font-semibold" >
28
+ < div className = "z-0 flex flex-1 flex-col gap-4 overflow-auto bg-slate-200 p-4 text-3xl font-semibold" >
29
29
< Greetings />
30
30
< h1 className = "text-2xl font-semibold" > Hackathon Statistics</ h1 >
31
31
< CheckUserLoggedIn >
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ export default function TopNavBar() {
14
14
} ;
15
15
return (
16
16
< >
17
- < div className = " flex w-full justify-between bg-white p-4 px-8 text-4xl font-semibold" >
17
+ < div className = "flex w-full flex-col justify-between gap-4 bg-white p-4 px-8 text-4xl font-semibold md:flex-row " >
18
18
< AdminNavTitle />
19
- < div className = "flex flex-row items-center gap-4 " >
19
+ < div className = "flex justify-start " >
20
20
< button
21
21
onClick = { toggleModal }
22
- className = " ml-4 rounded-lg p-2 text-lg shadow-lg ring-2 ring-awesome-purple transition-transform duration-200 ease-in-out hover:-translate-y-2 hover:bg-awesome-purple hover:ring-awesomer-purple"
22
+ className = "rounded-lg p-2 text-lg shadow-lg ring-2 ring-awesome-purple transition-transform duration-200 ease-in-out hover:-translate-y-2 hover:bg-awesome-purple hover:ring-awesomer-purple"
23
23
>
24
24
Announce To All Participants
25
25
</ button >
Original file line number Diff line number Diff line change 1
1
import SocialMediaIcons from "@/components/atoms/SocialMediaIcons" ;
2
2
3
- const footerContainer =
4
- "flex flex-col items-center justify-center text-awesomer-purple h-36 bg-awesome-purple" ;
5
-
6
3
const Footer = ( ) => {
7
4
return (
8
- < div className = { footerContainer } >
5
+ < div
6
+ className = {
7
+ "flex h-36 w-screen flex-col items-center justify-center bg-awesome-purple text-awesomer-purple"
8
+ }
9
+ >
9
10
< h2 className = "font-bold" > Keep Up With Us!</ h2 >
10
11
< SocialMediaIcons />
11
12
< h4 className = "mt-6 font-medium text-ehhh-grey" >
Original file line number Diff line number Diff line change @@ -11,9 +11,6 @@ import { client } from "@/app/QueryProvider";
11
11
import { UserType , useUser } from "@/components/contexts/UserContext" ;
12
12
import { useQuery } from "@tanstack/react-query" ;
13
13
14
- const headerContainerStyles =
15
- "flex flex-row items-center justify-between text-awesomer-purple h-36 bg-white px-8" ;
16
-
17
14
export default function Header ( ) {
18
15
const user = useUser ( ) . currentUser ;
19
16
@@ -53,7 +50,7 @@ export default function Header() {
53
50
router . push ( "/" ) ;
54
51
} ;
55
52
return (
56
- < div className = { headerContainerStyles } >
53
+ < div className = "flex h-36 w-screen flex-row items-center justify-between bg-white px-8 text-awesomer-purple" >
57
54
< div className = "flex w-48 font-semibold" >
58
55
{ user . username ? (
59
56
< >
You can’t perform that action at this time.
0 commit comments