File tree Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 1
1
< html id ="html " class ="">
2
2
< head >
3
3
< title > sogs </ title >
4
+ < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
4
5
< link rel ="stylesheet " href ="{{ url_for('static', filename='main.css') }} ">
5
6
< script src ="https://cdn.tailwindcss.com "> </ script >
6
7
< script >
35
36
lightGray : '#585858' ,
36
37
otherGray : '#272726'
37
38
}
39
+ } ,
40
+ screens : {
41
+ 'xs' : '365px' ,
42
+ 'sm' : '640px' ,
43
+ 'md' : '768px' ,
44
+ 'lg' : '1024px' ,
45
+ 'xl' : '1280px' ,
46
+ '2xl' : '1536px'
38
47
}
39
48
}
40
49
}
41
50
</ script >
42
51
</ head >
43
52
< body class ="dark:bg-otherGray transition duration-500 ">
44
53
<!-- header / navbar -->
45
- < div class ="px-5 flex justify-between items-center w-full h-32 mb-10 bg-sessionGreen dark:bg-otherGray border-b-8 border-black dark:border-sessionGreen transition duration-500 ">
54
+ < div class ="px-5 flex justify-between items-center w-full h-32 mb-4
55
+ bg-sessionGreen dark:bg-otherGray border-b-8 border-black dark:border-sessionGreen transition duration-500 ">
46
56
< div class ="text-black dark:text-white text-center ">
47
- < h1 class ="text-7xl "> {% block heading %}{% endblock %}</ h1 >
48
- < p class ="text-2xl "> Session Open Group Server</ p >
57
+ < h1 class ="text-3xl xs:text-4xl sm:text-5xl "> {% block heading %}{% endblock %}</ h1 >
58
+ < p class ="text-lg xs:text-xl sm:text-2xl "> Session Open Group Server</ p >
49
59
</ div >
50
- < button class ='h-8 px-4 bg-black text-white rounded-full space-x-3 ' onclick ="toggleDarkMode() "> Toggle Dark Mode</ button >
60
+ < button class ='h-12 px-1 bg-black text-white rounded ' onclick ="toggleDarkMode() "> Dark< br > Mode</ button >
51
61
</ div >
52
62
53
63
<!-- content/body -->
54
64
< section class ="text-black dark:text-white ">
55
65
{% block body %}
56
66
{% endblock %}
57
- </ section >
67
+ </ section >
58
68
</ body >
59
69
</ html >
Original file line number Diff line number Diff line change 6
6
7
7
{% block body %}
8
8
9
- < div class ="grid grid-cols-2 lg:grid-cols-4 2xl:grid-cols-6 justify-items-center gap-y-5 gap-x-7 px-5 mx-16 ">
9
+ < div class ="grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 2xl:grid-cols-6 justify-items-center gap-y-2 gap-x-2 mx-4 ">
10
10
{% for room in rooms %}
11
- < a class ="px-5 flex flex-col justify-center items-center transition duration-500 text-center
12
- w-full h-36 md:h-28 bg-sessionGreen hover:bg-black hover:text-white text-6xl lg:text-4xl border-8 border-black
13
- dark:border-sessionGreen rounded-full dark:bg-black dark:hover:bg-sessionGreen dark:hover:text-black " href ="/r/{{room.token}} ">
14
- < p > {{room.token }}</ p >
15
- < p class ="text-3xl lg:text-xl "> {{room.active_users() }} Active User{{'s' if room.active_users() > 1}}</ p >
16
- </ a >
11
+ {% for i in range(8) %}
12
+ < a class ="px-5 flex flex-col justify-center items-center transition duration-500 text-center w-full h-24
13
+ border-8 border-black bg-sessionGreen hover:bg-black hover:text-white md:h-28
14
+ dark:border-sessionGreen rounded-full dark:bg-black dark:hover:bg-sessionGreen dark:hover:text-black " href ="/r/{{room.token}} ">
15
+ < p class ="text-2xl xs:text-3xl sm:text-4xl "> {{room.token }}</ p >
16
+ < p class ="text-sm xs:text-lg sm:text-xl "> {{room.active_users() }} Active User{{'s' if room.active_users() > 1}}</ p >
17
+ </ a >
18
+ {% endfor %}
17
19
{% endfor %}
18
20
</ div >
19
21
You can’t perform that action at this time.
0 commit comments