File tree 3 files changed +60
-12
lines changed
3 files changed +60
-12
lines changed Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="UTF-8 ">
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
- < title > Your IRC Client </ title >
6
+ < title > Home - PyeChat </ title >
7
7
< link rel ="icon " type ="image/png " href ="elitechat.png ">
8
8
< link rel ="stylesheet " href ="styles.css ">
9
9
</ head >
10
10
< body >
11
11
< header class ="header ">
12
- < h1 > PyeChat</ h1 >
12
+ < div class ="logo-container ">
13
+ < h1 > PyeChat</ h1 >
14
+ </ div >
13
15
< nav >
14
- < button onclick ="window.location.href='link1.html' "> Link 1</ button >
15
- < button onclick ="window.location.href='link2.html' "> Link 2</ button >
16
- < button onclick ="window.location.href='link3.html' "> Link 3</ button >
16
+ < ul >
17
+ < li > < a href ="index.html "> < button > Install</ button > </ a > </ li >
18
+ < li > < a href ="https://github.com/pyechat "> < button > GitHub</ button > </ a > </ li >
19
+ < li > < a href ="news.html "> < button > News</ button > </ a > </ li >
20
+ </ ul >
17
21
</ nav >
18
22
</ header >
19
23
20
- < div class ="container ">
24
+ < main class ="container ">
21
25
< section class ="main ">
22
26
< h2 > About the Client</ h2 >
23
- < p > Your IRC client is based on HexChat...</ p >
27
+ < p > PyeChat is a modern, user-friendly IRC client built with PyQt. It's inspired by the design and functionality of HexChat.</ p >
28
+ <!-- Add your screenshot here -->
29
+ < img class ="screenshot " src ="screenshot.png " alt ="Screenshot of the app ">
24
30
</ section >
25
31
26
32
< aside class ="sidebar ">
@@ -31,8 +37,8 @@ <h3>Features</h3>
31
37
< li > Feature 3</ li >
32
38
</ ul >
33
39
</ aside >
34
- </ div >
40
+ </ main >
35
41
36
42
< script src ="script.js "> </ script >
37
43
</ body >
38
- </ html >
44
+ </ html >
Original file line number Diff line number Diff line change 3
3
margin : 0 ;
4
4
padding : 0 ;
5
5
background-color : # f4f4f4 ;
6
+ color : # 333 ;
6
7
}
7
8
8
9
.header {
10
+ display : flex;
11
+ justify-content : space-between;
12
+ align-items : center;
9
13
background-color : # 333 ;
10
14
color : # fff ;
11
15
padding : 10px ;
12
- text-align : center;
16
+ border-bottom : 3px solid # 444 ;
17
+ }
18
+
19
+ .logo-container h1 {
20
+ margin : 0 ;
13
21
}
14
22
15
23
.container {
16
24
width : 80% ;
17
25
margin : auto;
18
26
overflow : hidden;
27
+ padding : 20px ;
28
+ box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.1 );
19
29
}
20
30
21
31
.main {
22
32
float : left;
23
33
width : 70% ;
24
- padding : 30px 0 ;
34
+ padding : 30px ;
35
+ box-sizing : border-box;
25
36
}
26
37
27
38
.sidebar {
28
39
float : right;
29
40
width : 30% ;
30
- padding : 30px 0 ;
41
+ padding : 30px ;
31
42
background-color : # 333 ;
32
43
color : # fff ;
44
+ box-sizing : border-box;
33
45
}
46
+
47
+ nav ul {
48
+ list-style : none;
49
+ padding : 0 ;
50
+ display : flex;
51
+ justify-content : center;
52
+ }
53
+
54
+ nav ul li {
55
+ margin : 0 10px ;
56
+ }
57
+
58
+ nav ul li a button {
59
+ padding : 10px 20px ;
60
+ font-size : 1.2em ;
61
+ background-color : # fff ;
62
+ color : # 333 ;
63
+ border : none;
64
+ cursor : pointer;
65
+ transition : background-color 0.3s ease;
66
+ }
67
+
68
+ nav ul li a button : hover {
69
+ background-color : # eee ;
70
+ }
71
+
72
+ .screenshot {
73
+ width : 100% ; /* adjust this value as needed */
74
+ height : auto;
75
+ }
You can’t perform that action at this time.
0 commit comments