Skip to content

Commit cf1f3bb

Browse files
Improved the site
1 parent 850af3b commit cf1f3bb

File tree

3 files changed

+60
-12
lines changed

3 files changed

+60
-12
lines changed

index.html

+15-9
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,30 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Your IRC Client</title>
6+
<title>Home - PyeChat</title>
77
<link rel="icon" type="image/png" href="elitechat.png">
88
<link rel="stylesheet" href="styles.css">
99
</head>
1010
<body>
1111
<header class="header">
12-
<h1>PyeChat</h1>
12+
<div class="logo-container">
13+
<h1>PyeChat</h1>
14+
</div>
1315
<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>
1721
</nav>
1822
</header>
1923

20-
<div class="container">
24+
<main class="container">
2125
<section class="main">
2226
<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">
2430
</section>
2531

2632
<aside class="sidebar">
@@ -31,8 +37,8 @@ <h3>Features</h3>
3137
<li>Feature 3</li>
3238
</ul>
3339
</aside>
34-
</div>
40+
</main>
3541

3642
<script src="script.js"></script>
3743
</body>
38-
</html>
44+
</html>

screenshot.png

39.8 KB
Loading

styles.css

+45-3
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,73 @@ body {
33
margin: 0;
44
padding: 0;
55
background-color: #f4f4f4;
6+
color: #333;
67
}
78

89
.header {
10+
display: flex;
11+
justify-content: space-between;
12+
align-items: center;
913
background-color: #333;
1014
color: #fff;
1115
padding: 10px;
12-
text-align: center;
16+
border-bottom: 3px solid #444;
17+
}
18+
19+
.logo-container h1 {
20+
margin: 0;
1321
}
1422

1523
.container {
1624
width: 80%;
1725
margin: auto;
1826
overflow: hidden;
27+
padding: 20px;
28+
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1929
}
2030

2131
.main {
2232
float: left;
2333
width: 70%;
24-
padding: 30px 0;
34+
padding: 30px;
35+
box-sizing: border-box;
2536
}
2637

2738
.sidebar {
2839
float: right;
2940
width: 30%;
30-
padding: 30px 0;
41+
padding: 30px;
3142
background-color: #333;
3243
color: #fff;
44+
box-sizing: border-box;
3345
}
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+
}

0 commit comments

Comments
 (0)