-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Features - Add image position to blog schema - Add margin to links on posts - Add link to git history on PostUpdatedAt component - Add width param to Description component - Add description to some pages - Add remark-codeset (Code with tab list) Changes - Move some dependencies to dev - Update dependencies - Update post template and showcase - Update post text and description color to gray - Update description on some pages - Update post to support new codeset component - Remove horizontal margin from LinkBox - Simplify open-graph images Fixes - Wrong example highlight on post `pNCgOiQi` - Wrong iconSize from LinkBox on Socials - Link overflow on posts *Bump version to 1.5.0*
- Loading branch information
Showing
29 changed files
with
1,331 additions
and
204 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
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,27 +1,42 @@ | ||
--- | ||
import { getFormatedDate } from '@lib/date'; | ||
import Link from '../Link/Link.astro'; | ||
interface Props { | ||
slug: string; | ||
updatedAt: string; | ||
} | ||
const { updatedAt } = Astro.props; | ||
const { slug, updatedAt } = Astro.props; | ||
const GIT_REF = `https://github.com/LucJosin/lucasjosino.com/commits/main/src/content/blog/${slug}.md`; | ||
--- | ||
|
||
<div class="post-updated-at"> | ||
<i>Last modified: {getFormatedDate(updatedAt, true)} UTC</i> | ||
<i class="post-updated-at-content"> | ||
Last modified: | ||
<Link | ||
href={GIT_REF} | ||
alt="See post history" | ||
title={getFormatedDate(updatedAt, true)} | ||
isLocal={false} | ||
/> | ||
</i> | ||
</div> | ||
|
||
<style> | ||
.post-updated-at { | ||
width: 100%; | ||
margin: 1rem 0 0 0; | ||
margin: 0 0 1rem 0; | ||
display: flex; | ||
gap: 0.2rem; | ||
text-align: center; | ||
} | ||
|
||
.post-updated-at > i { | ||
.post-updated-at-content { | ||
width: 100%; | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: 0.5rem; | ||
justify-content: center; | ||
} | ||
</style> |
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
Oops, something went wrong.