Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(site): author links are no longer broken #859

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/src/mdsvex/BlogLayout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{#if published}
<h1 class="text-3xl sm:text-5xl font-bold mb-0">{title}</h1>
<div class="font-mono mb-2 mt-1 sm:text-lg"
>{date} - <a class="text-accent" href={`https://x.com/${author}`}>{author}</a></div
>{date} - <a class="text-accent" href={`https://x.com/${author}`}>@{author}</a></div
>
<slot />
{/if}
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{#each filteredPosts as [path, {metadata}] }
<a class="block p-4" href={extractSlug(path)}>
<h1 class="text-3xl sm:text-5xl font-bold mb-0">{metadata.title}</h1>
<div class="font-mono mb-2 mt-1 sm:text-lg">{metadata.date} - <a class="text-accent" href={`https://x.com/${metadata.author}`}>{metadata.author}</a></div>
<div class="font-mono mb-2 mt-1 sm:text-lg">{metadata.date} - <a class="text-accent" href={`https://x.com/${metadata.author}`}>@{metadata.author}</a></div>
<p class="sm:text-xl">{metadata.preview}</p>
<p class="block mt-2 font-mono text-lg">READ FULL POST -&gt;</p>
</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: ICS-20 Transfers to Ethereum
slug: ics20-transfers-to-ethereum
date: "2023-10-25"
author: "@union_build"
author: "union_build"
preview: "Today we present a first look at UCS-01, a superset ICS-20 for asset transfers between EVM and Cosmos-SDK-based chains."
published: true
---
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/blog/seed-raise/+page.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Unionlabs raises 3.7 million USDC
date: "2023-09-29"
author: "@union_build"
author: "union_build"
preview: "We have successfully raised $3.7 million USDC at a 35 million valuation from the top investors in the infra space for our seed round."
published: false
---
Expand Down
2 changes: 1 addition & 1 deletion site/src/routes/blog/the-journey-so-far/+page.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: The Journey So Far
date: "2023-09-27"
author: "@union_build"
author: "union_build"
preview: "Today, we are happy to announce the work we have done so far on Union, the trustless infrastructure layer. Over the last six months, Union Labs was founded with nothing but an idea, a diverse skill set, and a mission to ship zero-knowledge proof infrastructure everywhere."
published: true
---
Expand Down