-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
1 parent
58f98ec
commit ed6b212
Showing
112 changed files
with
2,081 additions
and
1,319 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
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,11 +1,11 @@ | ||
--- | ||
import CodeBlock from "./CodeBlock.astro"; | ||
import CodeBlock from './CodeBlock.astro'; | ||
interface Props { | ||
path: string; | ||
} | ||
const { path = "/" } = Astro.props; | ||
const { path = '/' } = Astro.props; | ||
--- | ||
|
||
<CodeBlock lines={[{ shellPrompt: "", code: path }]} type="storepath" /> | ||
<CodeBlock lines={[{ shellPrompt: '', code: path }]} type="storepath" /> |
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,23 +1,23 @@ | ||
--- | ||
import { generatePathFromPost, createExcerpt } from "../../../lib/utils"; | ||
import { createExcerpt, generatePathFromPost } from '../../../lib/utils'; | ||
const { post } = Astro.props; | ||
--- | ||
|
||
<article | ||
data-category={post.slug.split("/")[0]} | ||
data-category={post.slug.split('/')[0]} | ||
class="font-light" | ||
aria-hidden="false" | ||
> | ||
<a href={generatePathFromPost(post)}> | ||
<h2 | ||
class="text-4xl leading-tight text-nix-blue font-heading font-ned, composition in a document, page, applicaextrabold" | ||
class="font-ned, composition in a document, page, applicaextrabold font-heading text-4xl leading-tight text-nix-blue" | ||
> | ||
{post.data.title} | ||
</h2> | ||
</a> | ||
<p class="text-gray-700 text-xs mb-2"> | ||
- Published on {post.data.date ? post.data.date.toDateString() : ""} | ||
<p class="mb-2 text-xs text-gray-700"> | ||
- Published on {post.data.date ? post.data.date.toDateString() : ''} | ||
</p> | ||
<p class="font-extralight">{createExcerpt(post.body)}...</p> | ||
</article> |
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
Oops, something went wrong.