-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
104 changed files
with
888 additions
and
738 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
|
||
strategy: | ||
matrix: | ||
node-version: [lts/*] | ||
node-version: [21] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# About | ||
|
||
This is [Bret Comnes](https://bret.io)' personal website built with the follwowing tools: | ||
|
||
```json | ||
{{{ vars.pkg }}} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { readFile } from 'node:fs/promises' | ||
import { join } from 'node:path' | ||
const __dirname = import.meta.dirname | ||
|
||
export default async () => { | ||
const pkg = await readFile(join(__dirname, '../../package.json')) | ||
|
||
return { | ||
pkg | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
layout: article | ||
title: "Reorganized" | ||
publishDate: "2023-12-02T20:49:41.713Z" | ||
--- | ||
|
||
Behold, a mildly redesigned and reorganized landing page: | ||
|
||
![screenshot of the new website](./img/screenshot.png) | ||
|
||
It's still not great, but it should make it easier to keep it up to date going forward. | ||
|
||
It has 3 sections: | ||
|
||
- [Featured Projects](/#): important projects of note. | ||
- [Recent Posts](/#recent-posts ): now that this site has proper blog support, I can highlight recent posts on the landing page. | ||
- [Open Source](/#open-source): interesting and notable projects that have found some use and that I still maintain. This section now includes a bunch of open source work from the past year that I've never had time to write about. | ||
- [Past projects](/#past-projects): inactive projects that are not longer active, but still interesting enough to share. | ||
|
||
I removed a bunch of older inactive projects and links and stashed them in a [project](/projects/previous-projects/). | ||
|
||
Additionally, the edit button in the page footer now takes you to the correct page in GitHub for editing, so if you ever see a typo, feel free to send in a fix! | ||
|
||
Finally, the [about](/about/) page includes a live dump of the dependencies that were used to build the website. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.blog-index-list { | ||
padding-left: 0px; | ||
|
||
& .blog-entry { | ||
width: 100%; | ||
display: inline-flex; | ||
justify-content: space-between; | ||
} | ||
& .blog-entry-link {} | ||
& .blog-entry-date { | ||
color: var(--accent-foreground); | ||
font-family: var(--font-code); | ||
flex-shrink: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,2 @@ | ||
@import '../components/breadcrumb/index.css'; | ||
|
||
|
||
.blog-index-list { | ||
padding-left: 0px; | ||
|
||
& .blog-entry { | ||
width: 100%; | ||
display: inline-flex; | ||
justify-content: space-between; | ||
} | ||
& .blog-entry-link {} | ||
& .blog-entry-date { | ||
color: var(--accent-foreground); | ||
font-family: var(--font-code); | ||
flex-shrink: 0; | ||
} | ||
} | ||
|
||
@import '../components/blog-index-list/index.css'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,14 @@ import { html } from 'uhtml-isomorphic' | |
|
||
/** | ||
* @template T | ||
* @typedef {import('@siteup/cli').LayoutFunction<T>} LayoutFunction | ||
* @typedef {import('top-bun').LayoutFunction<T>} LayoutFunction | ||
*/ | ||
|
||
/** | ||
* @typedef {{ | ||
* title: string, | ||
* siteName: string, | ||
* githubRootUrl: string, | ||
* [key: string]: any | ||
* }} RootLayoutVars | ||
*/ | ||
|
@@ -17,11 +18,14 @@ import { html } from 'uhtml-isomorphic' | |
export default async function rootLayout ({ | ||
vars: { | ||
title, | ||
siteName | ||
siteName, | ||
githubRootUrl | ||
}, | ||
scripts, | ||
styles, | ||
children | ||
children, | ||
page | ||
/* pages */ | ||
}) { | ||
return html` | ||
<!DOCTYPE html> | ||
|
@@ -79,15 +83,15 @@ export default async function rootLayout ({ | |
<a href="https://hifiwi.fi" class="top-bar-link" title="HifiWi.fi">hifiwi.fi</a> | ||
<span class="top-bar-right"> | ||
<span class="top-bar-link" > | ||
<input class="dark-icon light-dark-button" onclick="window.toggleTheme()" height="14" width="14" type="image" alt="Toogle Theme" height="14" width="14" src="/static/light-dark.svg"> | ||
<a id="neocities" href="https://neocities.org/site/bret"><img height="14" width="14" src="/static/neocitieshead.svg"></a> | ||
<a rel="me" id="mastadon" href="https://fosstodon.org/@bcomnes"><img height="14" width="14" src="/static/mastodon.svg"></a> | ||
<a rel="me" href="https://github.com/bcomnes" title="github"><img class="dark-icon" height="14" width="14" src="/static/github.svg"></a> | ||
<a href="https://npmjs.com/~bret" title="node packaged modules"><img class="rounded-icon" height="14" width="14" src="/static/npm.svg"></a> | ||
<a rel="me" id="bluesky" href="https://bsky.app/profile/bret.io"><img height="14" width="14" src="/static/bsky.png"></a> | ||
<a rel="me" href="https://twitter.com/bcomnes" title="twitter: @bcomnes"><img class="rounded-icon" height="14" width="14" src="/static/twtr.svg"></a> | ||
<a href="/feed.json"><img class="rounded-icon" height="14" width="14" src="/static/jsonfeed.svg"></a> | ||
<a href="/feed.xml"><img height="14" width="14" src="/static/atom.svg" ></a> | ||
<input class="dark-icon light-dark-button" onclick="window.toggleTheme()" height="14" width="14" type="image" alt="Toogle Theme" height="14" width="14" src="/globals/static/light-dark.svg"> | ||
<a id="neocities" href="https://neocities.org/site/bret"><img height="14" width="14" src="/globals/static/neocitieshead.svg"></a> | ||
<a rel="me" id="mastadon" href="https://fosstodon.org/@bcomnes"><img height="14" width="14" src="/globals/static/mastodon.svg"></a> | ||
<a rel="me" href="https://github.com/bcomnes" title="github"><img class="dark-icon" height="14" width="14" src="/globals/static/github.svg"></a> | ||
<a href="https://npmjs.com/~bret" title="node packaged modules"><img class="rounded-icon" height="14" width="14" src="/globals/static/npm.svg"></a> | ||
<a rel="me" id="bluesky" href="https://bsky.app/profile/bret.io"><img height="14" width="14" src="/globals/static/bsky.png"></a> | ||
<a rel="me" href="https://twitter.com/bcomnes" title="twitter: @bcomnes"><img class="rounded-icon" height="14" width="14" src="/globals/static/twtr.svg"></a> | ||
<a href="/feed.json"><img class="rounded-icon" height="14" width="14" src="/globals/static/jsonfeed.svg"></a> | ||
<a href="/feed.xml"><img height="14" width="14" src="/globals/static/atom.svg" ></a> | ||
</span> | ||
</span> | ||
</nav> | ||
|
@@ -96,7 +100,7 @@ export default async function rootLayout ({ | |
</main> | ||
<footer class="top-bar hide-print"> | ||
<a href="#" class="top-bar-link">© Bret Comnes</a> | ||
<a href="https://github.com/bcomnes/bret.io/tree/master/src" class="top-bar-link" title="edit site on github">edit</a> | ||
<a href="${`${githubRootUrl}${page.pageFile.relname}`}" class="top-bar-link" title="edit site on github">edit</a> | ||
<span class="top-bar-right hide-print"> | ||
<a rel="me" href="mailto:[email protected]" class="top-bar-link" title="email">contact</a> | ||
</span> | ||
|
Oops, something went wrong.