feat: migrate user.html to Jekyll
This commit is contained in:
1 parent
ef4b57ba19
commit
434112ecf0
2 files changed
+30
-73
No files matched your search
@@ -3,88 +3,18 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>User Profile - Behind the Desk</title>
|
||||
<title>{{ page.title }} - Behind the Desk</title>
|
||||
<link href="/assets/css/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="font-sans text-text-default pt-navbar-height">
|
||||
<nav class="fixed top-0 left-0 right-0 bg-navbar-bg border-b border-navbar-border z-10" role="navigation" aria-label="main navigation">
|
||||
<div class="max-w-screen-lg mx-auto px-4">
|
||||
<div class="flex justify-between">
|
||||
<div class="flex">
|
||||
<a class="py-2 px-3 font-bold text-primary" href="/">
|
||||
Behind the Desk
|
||||
</a>
|
||||
<div class="hidden md:flex">
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
||||
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center">
|
||||
<div class="py-2 px-3">
|
||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mobile menu button -->
|
||||
<div class="md:hidden flex items-center">
|
||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mobile Menu -->
|
||||
<div id="mobileMenu" class="hidden md:hidden">
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
{% include navbar.html %}
|
||||
<main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
|
||||
<div class="px-4 mt-8">
|
||||
<div class="mb-8">
|
||||
<div class="user-profile">
|
||||
<table class="w-full bg-gray-100 text-primary">
|
||||
<tr>
|
||||
<th class="text-left py-2 px-3 font-normal">Username:</th>
|
||||
<td class="py-2 px-3 text-text-muted">username</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-left py-2 px-3 font-normal">Created:</th>
|
||||
<td class="py-2 px-3">January 1, 2023</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-left py-2 px-3 font-normal">Merits:</th>
|
||||
<td class="py-2 px-3">100</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="text-left py-2 px-3 font-normal align-top">About:</th>
|
||||
<td class="py-2 px-3">
|
||||
<p class="mb-4 text-text-muted">This is the personalized "about me" text.</p>
|
||||
<ul>
|
||||
<li class="hover:underline cursor-pointer underline">submissions</li>
|
||||
<li class="hover:underline cursor-pointer underline">comments</li>
|
||||
<li class="hover:underline cursor-pointer underline">favorites</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
{% include user_profile.html %}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const menuButton = document.getElementById('menuButton');
|
||||
|
||||
Reference in new issue
Block a user