146 lines
3.9 KiB
PHP
146 lines
3.9 KiB
PHP
<?php
|
|
session_start();
|
|
if (!isset($_SESSION['user'])) {
|
|
header('Location: login.php');
|
|
exit;
|
|
}
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Settings</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--bg-color: #f8f9fa;
|
|
--sidebar-bg: #ffffff;
|
|
--text-color: #343a40;
|
|
--heading-color: #212529;
|
|
--primary-color: #007bff;
|
|
--border-color: #dee2e6;
|
|
--card-bg: #ffffff;
|
|
--shadow: 0 0 15px rgba(0, 0, 0, 0.05);
|
|
}
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: var(--bg-color);
|
|
color: var(--text-color);
|
|
display: flex;
|
|
}
|
|
.sidebar {
|
|
width: 260px;
|
|
background-color: var(--sidebar-bg);
|
|
border-right: 1px solid var(--border-color);
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100vh;
|
|
position: fixed;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.sidebar-header {
|
|
padding: 1.5rem;
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: var(--primary-color);
|
|
border-bottom: 1px solid var(--border-color);
|
|
text-align: center;
|
|
}
|
|
.sidebar-nav {
|
|
flex-grow: 1;
|
|
list-style: none;
|
|
padding: 1rem 0;
|
|
margin: 0;
|
|
}
|
|
.sidebar-nav a {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 1rem 1.5rem;
|
|
text-decoration: none;
|
|
color: var(--text-color);
|
|
font-weight: 500;
|
|
transition: background-color 0.2s, color 0.2s;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
.sidebar-nav a:hover, .sidebar-nav a.active {
|
|
background-color: #e9ecef;
|
|
color: var(--primary-color);
|
|
border-left-color: var(--primary-color);
|
|
}
|
|
.sidebar-footer {
|
|
padding: 1.5rem;
|
|
border-top: 1px solid var(--border-color);
|
|
}
|
|
.logout-btn {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.8rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
background: var(--primary-color);
|
|
color: #ffffff;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
transition: background-color 0.2s;
|
|
}
|
|
.logout-btn:hover {
|
|
background-color: #0056b3;
|
|
}
|
|
.main-content {
|
|
margin-left: 260px;
|
|
flex-grow: 1;
|
|
padding: 3rem;
|
|
}
|
|
h1 {
|
|
font-size: 2.2rem;
|
|
font-weight: 700;
|
|
color: var(--heading-color);
|
|
margin-bottom: 2rem;
|
|
}
|
|
.coming-soon {
|
|
text-align: center;
|
|
padding: 4rem;
|
|
background-color: var(--card-bg);
|
|
border-radius: 12px;
|
|
border: 1px solid var(--border-color);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.coming-soon h2 {
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="sidebar">
|
|
<div class="sidebar-header">Digital Suite</div>
|
|
<nav class="sidebar-nav">
|
|
<a href="dashboard.php">Dashboard</a>
|
|
<a href="post-generator.php">Post Generator</a>
|
|
|
|
<a href="image-library.php">Image Library</a>
|
|
<a href="video-library.php">Video Library</a>
|
|
<a href="website-builder.php">Website Builder</a>
|
|
<a href="analytics.php">Analytics</a>
|
|
<a href="settings.php" class="active">Settings</a>
|
|
</nav>
|
|
<div class="sidebar-footer">
|
|
<a href="?action=logout" class="logout-btn">Logout</a>
|
|
</div>
|
|
</div>
|
|
|
|
<main class="main-content">
|
|
<h1>Settings</h1>
|
|
<div class="coming-soon">
|
|
<h2>Coming Soon!</h2>
|
|
<p>This feature is under development. Check back later for updates.</p>
|
|
</div>
|
|
</main>
|
|
</body>
|
|
</html>
|