-
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.
- Loading branch information
1 parent
5b0c5cb
commit 91b48d7
Showing
13 changed files
with
117 additions
and
99 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
const { title, url, coverTheme = 'dark' } = Astro.props; | ||
const { customClasses, url, title, imageSrc, imageAlt } = Astro.props; | ||
import { Image } from "astro:assets"; | ||
--- | ||
<li class={ `webzineCard ${coverTheme}` }> | ||
<li class={ `webzineCard ${customClasses}` }> | ||
<a href={ url } class="delayed"> | ||
<h2>{ title }</h2> | ||
<img src="" width="1024" height="1024" alt="" /> | ||
<Image src={ imageSrc } alt={ imageAlt } /> | ||
</a> | ||
</li> |
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
11 changes: 4 additions & 7 deletions
11
src/pages/dor-cronica/drive.md → src/content/dor-cronica/drive.md
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,9 @@ | ||
--- | ||
title: "Drive" | ||
description: "This is my first story" | ||
pubDate: 2023-07-09 | ||
cover: "../../assets/dor-cronica/drive/cover.svg" | ||
coverAlt: "This is the cover image" | ||
customClasses: "light" | ||
--- | ||
This is a test |
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,9 @@ | ||
--- | ||
title: "Drive" | ||
description: "This is my first story" | ||
pubDate: 2023-07-09 | ||
cover: "../../assets/dor-cronica/drive/cover.svg" | ||
coverAlt: "This is the cover image" | ||
customClasses: "light" | ||
--- | ||
This is a test |
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,8 +1,9 @@ | ||
--- | ||
title: "Footer" | ||
--- | ||
Website designed, illustrated and assembled by me, with the help of GPT-4, using <a href="http://2ttf.com/2Y7a9kJ9U4e" title="Whiteboard Beta font page" target="_blank">my script font</a>, <a href="https://www.lexend.com/" title="Lexend's website" target="_blank">Lexend</a>, <a href="https://astro.build/" title="Astro's website" target="_blank">Astro</a>, <a href="https://github.com/anvaka/panzoom" title="panzoom library at GitHub" target="_blank">panzoom</a>, <a href="https://atomiks.github.io/tippyjs/" title="Tippy.js website" target="_blank">Tippy.js</a>, <a href="https://markjs.io/" title="mark.js website" target="_blank">mark.js</a>, and <a href="https://github.com/jsplumb/jsplumb" title="jsPlumb Community library at GitHub" target="_blank">jsPlumb Community</a>. | ||
Website designed, illustrated and assembled by me, with the help of GPT-4, using <a href="http://2ttf.com/2Y7a9kJ9U4e" title="Whiteboard Beta font page" target="_blank">my script font</a>, <a href="https://www.lexend.com/" title="Lexend's website" target="_blank">Lexend</a>, <a href="https://astro.build/" title="Astro's website" target="_blank">Astro</a>, <a href="https://github.com/anvaka/panzoom" title="panzoom library at GitHub" target="_blank">panzoom</a>, <a href="https://atomiks.github.io/tippyjs/" title="Tippy.js website" target="_blank">Tippy.js</a>, <a href="https://markjs.io/" title="mark.js website" target="_blank">mark.js</a>, <a href="https://apoorv.pro/lozad.js/" title="Lozad.js website" target="_blank">Lozad.js</a>, and <a href="https://github.com/jsplumb/jsplumb" title="jsPlumb Community library at GitHub" target="_blank">jsPlumb Community</a>. | ||
|
||
<br> | ||
|
||
Unless otherwise stated, copyright Pedro MC Fernandes. | ||
Unless otherwise stated,<br> | ||
Copyright, Pedro MC Fernandes |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
import Shell from '../../layouts/Shell.astro'; | ||
import WebzineView from '../../components/webzineView.astro'; | ||
import { getCollection } from 'astro:content'; | ||
export async function getStaticPaths() { | ||
const allZines = await getCollection('dor-cronica'); | ||
return allZines.map(entry => ({ | ||
params: { slug: entry.slug }, props: { entry }, | ||
})); | ||
}; | ||
const { entry } = Astro.props; | ||
const { Content } = await entry.render(); | ||
--- | ||
<Shell title={ entry.data.title } description={ entry.data.description } author={ entry.data.author } customClass={ `wz-${entry.slug}` }> | ||
<WebzineView parentFolder={`/${entry.collection}`} author={entry.data.author} pubDate={entry.data.pubDate}> | ||
<Content /> | ||
</WebzineView> | ||
</Shell> |
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