Example output
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Social Media Analytics Dashboard</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
.header {
background-color: #4CAF50;
color: white;
padding: 15px;
text-align: center;
}
.container {
display: flex;
justify-content: space-around;
padding: 20px;
}
.sidebar {
width: 20%;
background-color: #333;
color: white;
padding: 20px;
height: 100vh;
}
.sidebar a {
color: white;
text-decoration: none;
display: block;
padding: 10px 0;
}
.content {
width: 75%;
padding: 20px;
}
.card {
background-color: white;
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h2, h3 {
margin: 0 0 10px;
}
.chart {
height: 300px;
background-color: #ccc;
display: flex;
justify-content: center;
align-items: center;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
table, th, td {
border: 1px solid #ddd;
}
th, td {
padding: 10px;
text-align: center;
}
th {
background-color: #4CAF50;
color: white;
}
.footer {
background-color: #4CAF50;
color: white;
text-align: center;
padding: 10px;
position: absolute;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div class="header">
<h1>Social Media Analytics Dashboard</h1>
</div>
<div class="container">
<div class="sidebar">
<h3>Menu</h3>
<a href="#">Dashboard</a>
<a href="#">Instagram Analytics</a>
<a href="#">Facebook Analytics</a>
<a href="#">Twitter Analytics</a>
<a href="#">Hashtag Tracking</a>
<a href="#">Competitor Benchmarking</a>
<a href="#">Custom Reports</a>
</div>
<div class="content">
<div class="card">
<h2>Overview</h2>
<div class="chart">
<p>Chart Placeholder</p>
</div>
</div>
<div class="card">
<h2>Top Posts</h2>
<table>
<tr>
<th>Post</th>
<th>Engagement</th>
<th>Likes</th>
<th>Comments</th>
</tr>
<tr>
<td>Instagram Post 1</td>
<td>85%</td>
<td>1,200</td>
<td>150</td>
</tr>
<tr>
<td>Facebook Post 1</td>
<td>70%</td>
<td>900</td>
<td>80</td>
</tr>
<tr>
<td>Twitter Post 1</td>
<td>65%</td>
<td>500</td>
<td>60</td>
</tr>
</table>
</div>
</div>
</div>
<div class="footer">
<p>© 2024 Social Media Analytics</p>
</div>
</body>
</html>