Remove .html extensions from all links and URLs

- Updated all navigation links in HTML files
- Updated all hrefs and window.location redirects in JavaScript
- All links now use clean URLs without .html extensions
- Improves SEO and provides cleaner user experience
This commit is contained in:
Mikael Westöö
2026-01-23 22:40:26 +01:00
parent 2d6b2eece2
commit 61269bb9a4
11 changed files with 103 additions and 103 deletions

View File

@@ -15,9 +15,9 @@
<h1 style="margin: 0; color: #1E293B; font-size: 18px; font-weight: 700;">Ryans Recruit Admin</h1>
</div>
<nav style="display: flex; gap: 32px; align-items: center;">
<a href="/admin/dashboard.html" style="color: #64748B; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s;" onmouseover="this.style.color='#2563EB'" onmouseout="this.style.color='#64748B'">Dashboard</a>
<a href="/admin/applicants.html" style="color: #2563EB; text-decoration: none; font-weight: 500; font-size: 14px;">Applicants</a>
<a href="/admin/jobs.html" style="color: #64748B; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s;" onmouseover="this.style.color='#2563EB'" onmouseout="this.style.color='#64748B'">Jobs</a>
<a href="/admin/dashboard" style="color: #64748B; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s;" onmouseover="this.style.color='#2563EB'" onmouseout="this.style.color='#64748B'">Dashboard</a>
<a href="/admin/applicants" style="color: #2563EB; text-decoration: none; font-weight: 500; font-size: 14px;">Applicants</a>
<a href="/admin/jobs" style="color: #64748B; text-decoration: none; font-weight: 500; font-size: 14px; transition: color 0.2s;" onmouseover="this.style.color='#2563EB'" onmouseout="this.style.color='#64748B'">Jobs</a>
<div style="display: flex; align-items: center; gap: 16px; padding-left: 32px; border-left: 1px solid #E2E8F0;">
<span id="admin-name" style="color: #64748B; font-size: 14px;">Admin</span>
<button onclick="logout()" style="background: #EF4444; color: white; padding: 8px 16px; border: none; border-radius: 6px; font-weight: 500; font-size: 13px; cursor: pointer; transition: background 0.2s;" onmouseover="this.style.background='#DC2626'" onmouseout="this.style.background='#EF4444'">Logout</button>