Merge branch 'main' of git@github.com:cdransf/coryd.dev.git

This commit is contained in:
Cory Dransfeldt 2023-05-22 20:19:13 -07:00
commit 697e898bf6
28 changed files with 358 additions and 100 deletions

View file

@ -2,6 +2,7 @@
"name": "Cory Dransfeldt",
"email": "hi@coryd.dev",
"url": "https://coryd.dev",
"logo": "https://coryd.dev/assets/img/logo.webp",
"title": "Cory Dransfeldt",
"description": "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.",
"proton": "mailto:hi@coryd.dev",

View file

@ -1,6 +1,4 @@
<!--suppress ALL -->
<div class="mt-12 py-8 border-t-2 flex flex-col md:flex-row justify-between items-center">
<div class="flex flex-col mb-4 md:mb-0 md:flex-row items-center flex-1">
<div class="h-20 w-20">

View file

@ -64,6 +64,9 @@
document.documentElement.classList.remove('dark')
}
</script>
<script type="application/ld+json">
{% jsonLd meta, type, tags %}
</script>
</head>
<body class="dark:text-white bg-white dark:bg-gray-900 font-sans text-gray-800">
{{ content }}

View file

@ -6,4 +6,4 @@ layout: main
<div class="pt-12 prose dark:prose-invert hover:prose-a:text-blue-500 max-w-full">
{{ content }}
</div>
</div>

View file

@ -1,7 +1,7 @@
<div class="border-b border-gray-200 pb-8 dark:border-gray-700 mb-8 pb-8 dark:text-white text-gray-800">
<a class="no-underline" href="/now">
<h2 class="m-0 text-xl font-black leading-tight tracking-normal md:text-2xl text-purple-500 hover:text-purple-400 mb-4">Now</h2>
<h2 class="m-0 text-xl font-black leading-tight tracking-normal md:text-2xl text-purple-600 hover:text-purple-500 dark:hover:text-purple-400 mb-4">Now</h2>
</a>
<p>I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.</p>
<p class="mb-0">{{ status.emoji }} {{ status.content }}</p>
</div>
</div>

View file

@ -44,7 +44,7 @@ layout: main
{% for artist in artists %}
<a href="{{artist.url}}" title="{{artist.name | escape}}">
<div class="relative block">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-500 hover:border-purple-400 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-1 bottom-2 drop-shadow-md">
<div class="px-1 text-xs font-bold text-white">{{ artist.name }}</div>
<div class="px-1 text-xs text-white">
@ -74,7 +74,7 @@ layout: main
{% for album in albums %}
<a href="{{album.url}}" title="{{album.name | escape}}">
<div class="relative block">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-500 hover:border-purple-400 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-1 bottom-2 drop-shadow-md">
<div class="px-1 text-xs font-bold text-white">{{ album.name }}</div>
<div class="px-1 text-xs text-white">
@ -136,7 +136,7 @@ layout: main
{% for movie in movies %}
<a href="{{movie.link}}" title="{{movie.title | escape}}">
<div class="relative block" style="max-width:226px">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-500 hover:border-purple-400 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 bg-cover-gradient dark:border-gray-500 dark:hover:border-purple-400"></div>
<div class="absolute left-1 bottom-2 drop-shadow-md">
<div class="px-1 text-xs font-bold text-white">{{ movie.title }}</div>
</div>

View file

@ -2,7 +2,7 @@
<nav class="flex justify-between mt-8 items-center">
{% if pagination.href.previous %}
<a href="{{ pagination.href.previous }}">
<button class="py-2 pr-4 text-purple-500 hover:text-purple-400" aria-label="Previous page">
<button class="py-2 pr-4 text-purple-600 hover:text-purple-500 dark:hover:text-purple-400" aria-label="Previous page">
{% heroicon "solid" "arrow-left" "Previous" "width=20 height=20" %}
</button>
</a>
@ -18,7 +18,7 @@
<div class="flex flex-row items-center">
<select
id="pagination"
class="block cursor-pointer w-12 h-12 rounded-full text-white dark:text-gray-900 bg-purple-500 hover:bg-purple-500 dark:hover:bg-purple-300 mr-1 focus-visible:outline-none focus-visible:bg-purple-400 appearance-none text-center"
class="block cursor-pointer w-12 h-12 rounded-full text-white dark:text-gray-900 bg-purple-600 hover:bg-purple-500 dark:hover:bg-purple-400 mr-1 focus-visible:outline-none focus-visible:bg-purple-400 appearance-none text-center"
style="text-align-last:center">
{% for pageEntry in pagination.pages %}
<option {% if page.url == pagination.hrefs[forloop.index0] %}selected{% endif %} value="{{ forloop.index }}">{{ forloop.index }}</option>
@ -31,7 +31,7 @@
{% if pagination.href.next %}
<a href="{{ pagination.href.next }}">
<button class="py-2 pl-4 text-purple-500 hover:text-purple-400" aria-label="Next page">
<button class="py-2 pl-4 text-purple-600 hover:text-purple-500 dark:hover:text-purple-400" aria-label="Next page">
{% heroicon "solid" "arrow-right" "Next" "width=20 height=20" %}
</button>
</a>

View file

@ -15,4 +15,4 @@ layout: main
</div>
</article>
{% include "webmentions.liquid" %}
{% include "author.liquid" %}
{% include "author.liquid" %}

View file

@ -11,7 +11,7 @@
<img
src="{{mention.author.photo}}"
alt="{{mention.author.name}}"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all hover:border-purple-500 dark:hover:border-purple-300"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all hover:border-purple-500 dark:hover:border-purple-400"
loading="lazy" />
</a>
</li>
@ -29,7 +29,7 @@
<img
src="{{mention.author.photo}}"
alt="{{mention.author.name}}"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all hover:border-purple-500 dark:hover:border-purple-300"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all hover:border-purple-500 dark:hover:border-purple-400"
loading="lazy" />
</a>
</li>
@ -46,11 +46,11 @@
<img
src="{{mention.author.photo}}"
alt="{{mention.author.name}}"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all group-hover:border-purple-500 dark:group-hover:border-purple-300"
class="bg-gray-900 dark:bg-white h-14 w-14 rounded-full border-4 border-white dark:border-gray-900 transition-all group-hover:border-purple-500 dark:group-hover:border-purple-400"
loading="lazy" />
<div class="ml-3">
<p class="text-sm group-hover:text-purple-500 dark:group-hover:text-purple-300">{{ mention.content.text }}</p>
<p class="mt-1 text-xs group-hover:text-purple-500 dark:group-hover:text-purple-300">{{ mention.published | isoDateOnly }}</p>
<p class="text-sm group-hover:text-purple-500 dark:group-hover:text-purple-400">{{ mention.content.text }}</p>
<p class="mt-1 text-xs group-hover:text-purple-500 dark:group-hover:text-purple-400">{{ mention.published | isoDateOnly }}</p>
</div>
</a>
</div>

View file

@ -1,6 +1,21 @@
---
layout: default
title: About
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt • About'
description: 'Husband, dad, developer, music nerd.'
url: https://coryd.dev/about
image:
src: https://coryd.dev/assets/img/avatar.webp
---
<div class="flex items-center justify-center w-full">

View file

@ -30,7 +30,7 @@ xmlns:atom="http://www.w3.org/2005/Atom">
<div class="min-h-screen flex flex-col">
<main class="flex-1 w-10/12 max-w-screen-sm md:max-w-screen-md mx-auto">
<div class="flex flex-col md:flex-row md:items-center md:justify-between md:pt-10 pt-5">
<a class="text-gray-800 dark:text-gray-200 dark:hover:text-purple-400 hover:text-purple-400" href="/">
<a class="text-gray-800 dark:text-gray-200 dark:hover:text-purple-400 hover:text-purple-500" href="/">
<h1 class="font-black leading-tight md:pb-0 md:text-3xl pb-5 text-2xl">Links • Cory Dransfeldt</h1>
</a>
<a href="/">

View file

@ -30,7 +30,7 @@ xmlns:atom="http://www.w3.org/2005/Atom">
<div class="min-h-screen flex flex-col">
<main class="flex-1 w-10/12 max-w-screen-sm md:max-w-screen-md mx-auto">
<div class="flex flex-col md:flex-row md:items-center md:justify-between md:pt-10 pt-5">
<a class="text-gray-800 dark:text-gray-200 dark:hover:text-purple-400 hover:text-purple-400" href="/">
<a class="text-gray-800 dark:text-gray-200 dark:hover:text-purple-400 hover:text-purple-500" href="/">
<h1 class="font-black leading-tight md:pb-0 md:text-3xl pb-5 text-2xl">Cory Dransfeldt</h1>
</a>
<a href="/">

5
src/assets/img/logo.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 242 KiB

View file

@ -5,6 +5,21 @@ pagination:
size: 10
reverse: true
alias: posts
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt'
description: 'Husband, dad, developer, music nerd.'
url: https://coryd.dev/uses
image:
src: https://coryd.dev/assets/img/avatar.webp
---
{% include "now-topper.liquid" %} {% for post in pagination.items %} {% if post.data.published %}

View file

@ -1,4 +1,19 @@
---
layout: now
title: Now
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt • Now'
description: "See what I'm doing now."
url: https://coryd.dev/now
image:
src: https://coryd.dev/assets/img/avatar.webp
---

View file

@ -0,0 +1,32 @@
const { getFirstAttachment } = require('../../config/filters')
const md = require('markdown-it')()
const striptags = require('striptags')
module.exports = {
eleventyComputed: {
meta: {
site: {
name: 'Cory Dransfeldt',
description:
"I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies.",
url: 'https://coryd.dev',
logo: {
src: 'https://coryd.dev/assets/img/logo.webp',
width: 2000,
height: 2000,
},
},
language: 'en-US',
title: (data) => data.title,
description: (data) => striptags(md.render(data.post_excerpt)),
url: (data) => data.url,
image: {
src: (data) => data.post | getFirstAttachment,
},
author: {
name: 'Cory Dransfeldt',
},
published: (data) => data.date,
},
},
}

View file

@ -1,5 +1,6 @@
{
"layout": "post.liquid",
"tags": ["posts"],
"published": true
"published": true,
"type": "post"
}

View file

@ -1,6 +1,21 @@
---
layout: default
title: Referrals
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt • Referrals'
description: 'Referral links for services that I use.'
url: https://coryd.dev/referrals
image:
src: https://coryd.dev/assets/img/avatar.webp
---
<h2

View file

@ -1,13 +1,28 @@
---
layout: default
title: Tags
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt • Tags'
description: 'Browse all of my posts by tag.'
url: https://coryd.dev/tags
image:
src: https://coryd.dev/assets/img/avatar.webp
---
{% for tag in collections.tagList %}
<span>
<a href="/tags/{{ tag }}" class="no-underline">
<button class="font-semibold py-2 px-4 mr-4 mb-4 rounded-full text-white dark:text-gray-900 bg-purple-400 hover:bg-purple-500 dark:hover:bg-purple-300">
<button class="font-semibold py-2 px-4 mr-4 mb-4 rounded-full text-white dark:text-gray-900 bg-purple-600 hover:bg-purple-500 dark:hover:bg-purple-400">
{{ tag }}
</button>
</a>

View file

@ -1,6 +1,21 @@
---
layout: default
title: Uses
meta:
site:
name: 'Cory Dransfeldt'
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
url: https://coryd.dev
logo:
src: https://coryd.dev/assets/img/logo.webp
width: 2000
height: 2000
language: en-US
title: 'Cory Dransfeldt • Uses'
description: 'Software, tools and services that I use regularly.'
url: https://coryd.dev/uses
image:
src: https://coryd.dev/assets/img/avatar.webp
---
<h2
@ -24,7 +39,7 @@ Software and services that I use for work and my own enjoyment.
- [Obsidian](https://obsidian.md)
- [Readkit](https://readkit.app)
- [Pinstachio](https://pinstachio.com)
- [Pins for Pinboard](https://get-pins.app)
- [Plexamp](https://plexamp.com)
- [Ivory](https://tapbots.com/ivory)
- [Parcel](https://parcelapp.net)