Public Access
1
0

more tweaks, formatting

This commit is contained in:
2025-08-06 20:29:03 -04:00
parent 3f6a319565
commit f02ff70ff3
10 changed files with 357 additions and 303 deletions

View File

@@ -1,89 +1,89 @@
---
title: "Base"
layout: "layout.njk"
---
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
}
.prose {
max-width: 65ch;
margin-left: auto;
margin-right: auto;
}
.prose h1, .prose h2, .prose h3 {
font-weight: 700;
}
.prose a {
color: #3b82f6;
text-decoration: none;
}
.prose a:hover {
text-decoration: underline;
}
.prose code {
background-color: #f3f4f6;
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
border-radius: 3px;
}
.prose pre {
background-color: #1f2937;
color: #f9fafb;
padding: 1em;
border-radius: 0.5rem;
overflow-x: auto;
}
.prose pre code {
background-color: transparent;
padding: 0;
}
.prose blockquote {
border-left: 4px solid #d1d5db;
padding-left: 1em;
font-style: italic;
color: #6b7280;
}
.prose table {
width: 100%;
border-collapse: collapse;
}
.prose th, .prose td {
border: 1px solid #d1d5db;
padding: 0.5em;
}
.prose th {
background-color: #f3f4f6;
}
body {
font-family: 'Inter', sans-serif;
}
.prose {
max-width: 65ch;
margin-left: auto;
margin-right: auto;
}
.prose h1, .prose h2, .prose h3 {
font-weight: 700;
}
.prose a {
color: #3b82f6;
text-decoration: none;
}
.prose a:hover {
text-decoration: underline;
}
.prose code {
background-color: #f3f4f6;
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
border-radius: 3px;
}
.prose pre {
background-color: #1f2937;
color: #f9fafb;
padding: 1em;
border-radius: 0.5rem;
overflow-x: auto;
}
.prose pre code {
background-color: transparent;
padding: 0;
}
.prose blockquote {
border-left: 4px solid #d1d5db;
padding-left: 1em;
font-style: italic;
color: #6b7280;
}
.prose table {
width: 100%;
border-collapse: collapse;
}
.prose th, .prose td {
border: 1px solid #d1d5db;
padding: 0.5em;
}
.prose th {
background-color: #f3f4f6;
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
<h1 class="text-3xl font-bold text-gray-900">{{ title }}</h1>
<p class="text-gray-600 mt-1">A demonstration of what's possible with this powerful static site generator.</p>
</div>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-4">
<h1 class="text-3xl font-bold text-gray-900">{{ title }}</h1>
<p class="text-gray-600 mt-1">A demonstration of what's possible with this powerful static site generator.</p>
</div>
</header>
<main class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="prose">
{{ content | safe }}
</div>
<div class="prose">
{{ content | safe }}
</div>
</main>
<!-- Footer -->
<footer class="bg-white mt-12">
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-4 text-center text-gray-500">
<p>Created to showcase the power of <a href="https://www.11ty.dev/" target="_blank" class="text-blue-500 hover:underline">Eleventy</a>.</p>
</div>
<div class="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-4 text-center text-gray-500">
<p>Created to showcase the power of <a href="https://www.11ty.dev/" target="_blank" class="text-blue-500 hover:underline">Eleventy</a>.</p>
</div>
</footer>
</body>
</html>
</body>
</html>

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ title }}</title>
@@ -10,55 +10,51 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
</head>
<body class="antialiased">
<!-- Header -->
<header class="bg-gray-900 shadow-md sticky top-0 z-50">
<nav class="container mx-auto px-6 py-4 flex justify-between items-center">
<a href="/" class="text-2xl font-bold text-white">{{ site.author.name }}</a>
<div class="hidden md:flex space-x-6 items-center">
<a href="/#about" class="text-gray-300 hover:text-white">About</a>
<a href="/blog" class="text-gray-300 hover:text-white">Blog</a>
<a href="/#services" class="text-gray-300 hover:text-white">Services</a>
<a href="/#skills" class="text-gray-300 hover:text-white">Skills</a>
<a href="/#experience" class="text-gray-300 hover:text-white">Experience</a>
<a href="/#contact" class="text-gray-300 hover:text-white">Contact</a>
<a href="/{{ site.resumeUrl }}" target="_blank" class="btn">View Resume</a>
</div>
<div class="md:hidden">
<button id="mobile-menu-button" class="text-white focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</nav>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden px-6 pt-2 pb-4 space-y-2">
<a href="/#about" class="block text-gray-300 hover:text-white">About</a>
<a href="/blog" class="block text-gray-300 hover:text-white">Blog</a>
<a href="/#services" class="block text-gray-300 hover:text-white">Services</a>
<a href="/#skills" class="block text-gray-300 hover:text-white">Skills</a>
<a href="/#experience" class="block text-gray-300 hover:text-white">Experience</a>
<a href="/#contact" class="block text-gray-300 hover:text-white">Contact</a>
<a href="/{{ site.resumeUrl }}" target="_blank" class="block btn mt-2">View Resume</a>
</head>
<body class="antialiased">
<!-- Header & Nav -->
<header class="sticky top-0 z-50 glass-card shadow-md">
<nav class="container mx-auto px-6 py-4 flex justify-between items-center">
<a href="/" class="text-2xl font-bold text-white">{{ site.author.shortname }}<span class="text-blue-500">.</span></a>
<div class="hidden md:flex space-x-6 items-center">
<a href="/#about" class="text-gray-300 hover:text-blue-400">About</a>
<a href="/blog" class="text-gray-300 hover:text-blue-400">Blog</a>
<a href="/#services" class="text-gray-300 hover:text-blue-400">Services</a>
<a href="/#skills" class="text-gray-300 hover:text-blue-400">Skills</a>
<a href="/#experience" class="text-gray-300 hover:text-blue-400">Experience</a>
<a href="/#contact" class="text-gray-300 hover:text-blue-400">Contact</a>
<a href="/{{ site.resumeUrl }}" target="_blank" class="btn">View Resume</a>
</div>
<div class="md:hidden">
<button id="mobile-menu-button" class="text-white focus:outline-none">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</nav>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden px-6 pt-2 pb-4 space-y-2">
<a href="/#about" class="block text-gray-300 hover:text-blue-400">About</a>
<a href="/blog" class="block text-gray-300 hover:text-blue-400">Blog</a>
<a href="/#services" class="block text-gray-300 hover:text-blue-400">Services</a>
<a href="/#skills" class="block text-gray-300 hover:text-blue-400">Skills</a>
<a href="/#experience" class="block text-gray-300 hover:text-blue-400">Experience</a>
<a href="/#contact" class="block text-gray-300 hover:text-blue-400">Contact</a>
<a href="/{{ site.resumeUrl }}" target="_blank" class="block btn mt-2">View Resume</a>
</div>
</header>
<main class="container mx-auto px-6 py-12">
{{ content | safe }}
{{ content | safe }}
</main>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-400 py-6">
<div class="container mx-auto px-6 text-center">
<div class="flex justify-center space-x-6 mb-4">
<a href="{{ site.author.linkedinUrl }}" target="_blank" class="hover:text-white"><i class="fab fa-linkedin fa-2x"></i></a>
<a href="mailto:{{ site.author.email }}" class="hover:text-white"><i class="fas fa-envelope fa-2x"></i></a>
</div>
<p>&copy; {% year %} {{ site.author.name }}. All Rights Reserved.</p>
<div class="container mx-auto px-6 text-center">
<div class="flex justify-center space-x-6 mb-4">
<a href="{{ site.author.linkedinUrl }}" target="_blank" class="hover:text-blue-400"><i class="fab fa-linkedin fa-2x"></i></a>
<a href="mailto:{{ site.author.email }}" class="hover:text-blue-400"><i class="fas fa-envelope fa-2x"></i></a>
</div>
<p>&copy; {% year %} {{ site.author.name }}. All Rights Reserved.</p>
</div>
</footer>
<script src="/js/main.js"></script>
</body>
</body>
</html>

View File

@@ -6,4 +6,4 @@ layout: "layout.njk"
<p class="text-gray-400">Published on: {{ date | readableDate }}</p>
<br/>
{{ content | safe }}
</article>
</article>