<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeZillaYe - Facebook Style</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="header">
<div class="header-left">
<a href="#" class="logo">CodeZillaYe</a>
</div>
<div class="header-center">
<input type="text" placeholder="Search CodeZillaYe">
</div>
<div class="header-right">
<a href="#">Home</a>
<a href="#">Profile</a>
<a href="#">Messages</a>
<a href="#">Notifications</a>
<a href="#">Settings</a>
</div>
</div>
<div class="container">
<div class="sidebar">
<h2>About CodeZillaYe</h2>
<p>CodeZillaYe provides design snippets for various web components that anyone can copy or download for free.</p>
<h2>Navigation</h2>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Messages</a></li>
<li><a href="#">Notifications</a></li>
<li><a href="#">Settings</a></li>
</ul>
</div>
<div class="main-content">
<div class="post-box">
<textarea placeholder="What's on your mind?"></textarea>
<button>Post</button>
</div>
<div class="post">
<div class="post-header">
<img src="https://codezillaye.com/wp-content/uploads/2024/07/logo-2.png" alt="Profile Picture">
<div class="post-info">
<h3>Nana warwor</h3>
<p>2 hours ago</p>
</div>
</div>
<div class="post-content">
<p>This is a post on CodeZillaYe's Facebook-like page!</p>
</div>
</div>
<div class="post">
<div class="post-header">
<img src="https://codezillaye.com/wp-content/uploads/2024/07/logo-2.png" alt="Profile Picture">
<div class="post-info">
<h3>Sabrin Yaseen</h3>
<p>5 hours ago</p>
</div>
</div>
<div class="post-content">
<p>Another post example.</p>
</div>
</div>
</div>
<div class="sidebar right">
<h2>Friends</h2>
<ul>
<li>Nana</li>
<li>Hadeel</li>
<li>Madleen Yaseen</li>
<li>Rola shady</li>
</ul>
</div>
</div>
</body>
</html>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #e9ebee;
}
.header {
background-color: #3b5998;
color: white;
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.header-left .logo {
font-size: 24px;
color: white;
text-decoration: none;
}
.header-center input {
padding: 5px;
border: none;
border-radius: 5px;
width: 300px;
}
.header-right a {
color: white;
text-decoration: none;
margin: 0 10px;
font-weight: bold;
}
.container {
display: flex;
margin-top: 20px;
}
.sidebar {
width: 25%;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin: 10px;
}
.main-content {
width: 50%;
padding: 20px;
}
.sidebar.right {
width: 25%;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
margin: 10px;
}
.post-box textarea {
width: 100%;
height: 100px;
padding: 10px;
margin-bottom: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}
.post-box button {
padding: 10px 20px;
background-color: #3b5998;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
.post {
background-color: #fff;
padding: 20px;
margin: 10px 0;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.post-header {
display: flex;
align-items: center;
}
.post-header img {
width: 50px;
height: 50px;
border-radius: 50%;
margin-right: 10px;
}
.post-info h3 {
margin: 0;
}
.post-info p {
margin: 5px 0 0;
color: #888;
}