-
Notifications
You must be signed in to change notification settings - Fork 5
feat: add "Exploring Hardened Shielded Pools" blog post #34
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
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
9593ecf
feat: add "The Next Generation of Shielded Pools" blog post
Meyanis95 7256546
fix: reframe Tachyon paragraph with delegation key mechanism
Meyanis95 d1f5216
fix: rename post to "The Next Iteration of Shielded Pools"
Meyanis95 645f805
feat: add hero image and fix image path
Meyanis95 6f600d1
fix: update title and shorten description
Meyanis95 85a1ade
fix: replace hero image with correct version
Meyanis95 2ae7c97
feat: hide future-dated posts from the build
Meyanis95 271c39b
fix: address PR review on the shielded-pools post
Meyanis95 f45465c
fix: Fable humanize pass
Meyanis95 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+2.53 MB
public/assets/images/2026-06-11-next-iteration-shielded-pools/hero.png
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 hidden or 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,25 @@ | ||
| import type { CollectionEntry } from 'astro:content'; | ||
|
|
||
| /* | ||
| * Date gating for the `posts` collection, matching Jekyll's `future: false`: | ||
| * a post whose `date` is in the future is hidden until the site is rebuilt at | ||
| * or after that moment (GH Pages rebuilds on push/merge). | ||
| * | ||
| * Shared by every consumer of getCollection('posts') so the blog index, the | ||
| * homepage latest-posts list, and static path generation all agree. | ||
| * | ||
| * The comparison is on the full timestamp, not just the calendar day, so a | ||
| * post can be scheduled to the hour. Give `date` a time and offset to pin a | ||
| * release (e.g. `2026-06-11T07:00:00-04:00` for 7am ET). A bare `YYYY-MM-DD` | ||
| * is parsed as midnight UTC, which keeps day-granular scheduling working. | ||
| * Note this only gates the static output: a future-dated post still appears | ||
| * only once a build actually runs at or after its `date`. | ||
| */ | ||
| export function isPublished( | ||
| post: CollectionEntry<'posts'>, | ||
| now: Date = new Date(), | ||
| ): boolean { | ||
| const date = | ||
| post.data.date instanceof Date ? post.data.date : new Date(post.data.date); | ||
| return date.getTime() <= now.getTime(); | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.