fixed nav added rest of routes
This commit is contained in:
parent
3e32aa1bed
commit
cfec34d133
126 changed files with 15133 additions and 25 deletions
74
templates/base.html
Normal file
74
templates/base.html
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<head>
|
||||
<title>Steven Carpenters Portfolio</title>
|
||||
<link href="/assets/main.css" rel="stylesheet" />
|
||||
<script src="/assets/htmx.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="bg-stone-400">
|
||||
<nav class="bg-stone-800">
|
||||
<div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
|
||||
<div class="relative flex h-16 items-center justify-between">
|
||||
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
|
||||
<!-- Mobile menu button-->
|
||||
<button type="button"
|
||||
class="relative inline-flex items-center justify-center rounded-md p-2 text-stone-400 hover:bg-stone-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white"
|
||||
aria-controls="mobile-menu" aria-expanded="false">
|
||||
<span class="absolute -inset-0.5"></span>
|
||||
<span class="sr-only">Open main menu</span>
|
||||
<!--
|
||||
Icon when menu is closed.
|
||||
|
||||
Menu open: "hidden", Menu closed: "block"
|
||||
-->
|
||||
<svg class="block h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
|
||||
aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
|
||||
</svg>
|
||||
<!--
|
||||
Icon when menu is open.
|
||||
|
||||
Menu open: "block", Menu closed: "hidden"
|
||||
-->
|
||||
<svg class="hidden h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
|
||||
aria-hidden="true">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex flex-1 items-center justify-center sm:items-stretch sm:justify-start">
|
||||
<div class="hidden sm:ml-6 sm:block">
|
||||
<div class="flex space-x-4">
|
||||
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
|
||||
<a href="/" class="bg-stone-900 text-stone-100 rounded-md px-3 py-2 text-sm font-medium"
|
||||
aria-current="page">Home</a>
|
||||
<a href="/blog"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">Blog</a>
|
||||
<a href="/projects"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">Projects</a>
|
||||
<a href="/resume"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white rounded-md px-3 py-2 text-sm font-medium">Resume</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Mobile menu, show/hide based on menu state. -->
|
||||
<div class="sm:hidden" id="mobile-menu">
|
||||
<div class="space-y-1 px-2 pb-3 pt-2">
|
||||
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
|
||||
<a href="/" class="bg-stone-900 text-white block rounded-md px-3 py-2 text-base font-medium"
|
||||
aria-current="page">Home</a>
|
||||
<a href="/blog"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">Blog</a>
|
||||
<a href="/projects"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">Projects</a>
|
||||
<a href="/resume"
|
||||
class="text-stone-300 hover:bg-stone-700 hover:text-white block rounded-md px-3 py-2 text-base font-medium">Resume</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
6
templates/blog.html
Normal file
6
templates/blog.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!-- prettier-ignore -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>HI</h1>
|
||||
{% endblock %}
|
||||
|
|
@ -1,28 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- prettier-ignore -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
<head>
|
||||
<title>Steven Carpenters Portfolio</title>
|
||||
<link href="/assets/main.css" rel="stylesheet" />
|
||||
</head>
|
||||
{% block title %}Hello!{% endblock %}
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>Home</li>
|
||||
<li>Blog</li>
|
||||
<li>Projects</li>
|
||||
<li>Resume</li>
|
||||
</ul>
|
||||
</nav>
|
||||
<h3 class="text-red-500 font-extrabold">Welcome my boy!</h3>
|
||||
<p>My name is Steven Carpenter, and I am 25 years old. Since 2011, I have been immersed in the world of coding,
|
||||
driven by a passion to enhance the ease and security of our daily computer use for everyone. My primary programming
|
||||
{% block content %}
|
||||
<div class="mx-72">
|
||||
<h3 class="text-stone-900 text-4xl font-extrabold pt-6">Hacker.</h3>
|
||||
<h3 class="text-stone-900 text-4xl font-extrabold">Maker.</h3>
|
||||
<h3 class="text-stone-900 text-4xl font-extrabold pb-6">Developer.</h3>
|
||||
|
||||
<p class="text-stone-900">My name is Steven Carpenter, and I am 24 years old. Since 2011, I have been immersed in
|
||||
software developemnt,
|
||||
driven by a passion to enhance the ease and security of daily computer use for everyone. My primary programming
|
||||
language is Rust, but I also have experience in seven other languages, including Go and JavaScript.</p>
|
||||
<p>I aim to update my blog at least twice a week, typically on Tuesdays and Thursdays. Additionally, you might see
|
||||
<br />
|
||||
<p class="text-stone-900">I aim to update my blog at least twice a week, typically on Tuesdays and Thursdays.
|
||||
Additionally, you might see
|
||||
extra posts coinciding with major updates to my projects or significant news in the tech industry. If you wish to
|
||||
get in touch, please email me at steven.carpenter@skdevstudios.com, using 'Portfolio Contact' as the subject.</p>
|
||||
<p>I've chosen to create my own website for this venture instead of relying on traditional blogging platforms or
|
||||
<br />
|
||||
<p class="text-stone-900">I've chosen to create my own website for this venture instead of relying on traditional
|
||||
blogging platforms or
|
||||
social media because I view those as channels primarily for discoverability. In contrast, this website represents my
|
||||
own space on the web—a space I own, moderate, and host. This independence ensures that my content remains unaffected
|
||||
by the profit-driven algorithms of other platforms.</p>
|
||||
</body>
|
||||
{% endblock %}
|
||||
5
templates/projects.html
Normal file
5
templates/projects.html
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<!-- prettier-ignore -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
6
templates/resume.html
Normal file
6
templates/resume.html
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
<!-- prettier-ignore -->
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>HI</h1>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue