Here’s a simple HTML-only “wireframe” for a financial dashboard. This uses basic CSS for layout and placeholder elements you can later hook up to real data or styling frameworks (Bootstrap, Tailwind, etc.).
html Copy code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Company Financial Dashboard (Wireframe)</title>
<style>
/* Layout */
body {
margin: 0;
font-family: Arial, sans-serif;
display: grid;
grid-template-rows: 60px 1fr;
grid-template-columns: 250px 1fr;
grid-template-areas:
"header header"
"sidebar main";
height: 100vh;
}
header {
grid-area: header;
background: #333;
color: #fff;
display: flex;
align-items: center;
padding: 0 20px;
}
aside.sidebar {
grid-area: sidebar;
background: #f4f4f4;
padding: 20px;
}
main {
grid-area: main;
padding: 20px;
overflow-y: auto;
background: #fafafa;
}
/* Navigation */
.sidebar nav ul {
list-style: none;
padding: 0;
}
.sidebar nav li {
margin: 15px 0;
}
.sidebar nav a {
text-decoration: none;
color: #333;
font-weight: bold;
}
/* Cards */
.card-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.card {
background: #fff;
border: 1px solid #ddd;
padding: 15px;
border-radius: 4px;
}
.card h3 {
margin: 0 0 10px;
font-size: 1rem;
color: #666;
}
.card .value {
font-size: 1.5rem;
font-weight: bold;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
background: #fff;
margin-bottom: 30px;
}
th, td {
padding: 10px;
border: 1px solid #ddd;
text-align: left;
}
th {
background: #f0f0f0;
}
/* Sections */
section {
margin-bottom: 40px;
}
section h2 {
margin-bottom: 15px;
font-size: 1.2rem;
color: #333;
}
/* Placeholder for charts/insights */
.placeholder {
background: #e0e0e0;
height: 200px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #777;
font-style: italic;
}
/* News list */
.news-list {
list-style: none;
padding: 0;
}
.news-list li {
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 1px solid #ddd;
}
.news-list li:last-child {
border-bottom: none;
}
.news-list a {
text-decoration: none;
color: #007bff;
font-weight: bold;
}
.news-list p {
margin: 5px 0 0;
color: #555;
font-size: 0.9rem;
}
</style>
</head>
<body>
<!-- HEADER -->
<header>
<h1>MyCompany Dashboard</h1>
</header>
<!-- SIDEBAR -->
<aside class="sidebar">
<nav>
<ul>
<li><a href="#">📊 Financials</a></li>
<li><a href="#">💳 Transactions</a></li>
<li><a href="#">📰 News</a></li>
<li><a href="#">💡 Insights</a></li>
</ul>
</nav>
</aside>
<!-- MAIN CONTENT -->
<main>
<!-- 1. Financial Overview Cards -->
<section id="financial-overview">
<h2>Financial Overview</h2>
<div class="card-container">
<div class="card">
<h3>Total Revenue</h3>
<div class="value">$1.2M</div>
</div>
<div class="card">
<h3>Gross Profit</h3>
<div class="value">$350K</div>
</div>
<div class="card">
<h3>Net Income</h3>
<div class="value">$85K</div>
</div>
<div class="card">
<h3>Profit Margin</h3>
<div class="value">7.1%</div>
</div>
</div>
</section>
<!-- 2. Transactions Table -->
<section id="transactions">
<h2>Recent Transactions</h2>
<table>
<thead>
<tr>
<th>Date</th>
<th>Txn ID</th>
<th>Type</th>
<th>Amount</th>
<th>Status</th>
</tr>
</thead>
<tbody>
<tr>
<td>2024-06-01</td>
<td>#TXN1023</td>
<td>Invoice</td>
<td>$12,000</td>
<td>Paid</td>
</tr>
<tr>
<td>2024-05-29</td>
<td>#TXN1022</td>
<td>Refund</td>
<td>–$450</td>
<td>Completed</td>
</tr>
<!-- ...more rows -->
</tbody>
</table>
</section>
<!-- 3. Company News & Insights Side-by-Side -->
<section style="display: grid; grid-template-columns: 2fr 1fr; gap: 20px;">
<!-- 3a. News Feed -->
<div>
<h2>Company News</h2>
<ul class="news-list">
<li>
<a href="#">Q2 Earnings Released</a>
<p>Published: 2024-06-05</p>
</li>
<li>
<a href="#">New Product Launch</a>
<p>Published: 2024-05-20</p>
</li>
<!-- ...more news -->
</ul>
</div>
<!-- 3b. Insights/Analytics -->
<div>
<h2>Insights</h2>
<div class="card">
<h3>Revenue Trend</h3>
<div class="placeholder">[ Chart Placeholder ]</div>
</div>
<div class="card" style="margin-top: 20px;">
<h3>Top 5 Customers</h3>
<div class="placeholder">[ Chart Placeholder ]</div>
</div>
</div>
</section>
</main>
</body>
</html>
Feel free to expand this by plugging in real charts (e.g., Chart.js), hooking up data tables, refining styles, or integrating a UI framework. Let me know if you’d like a more detailed version! 👍