This commit is contained in:
Patrick Alvin Alcala 2026-03-13 15:39:40 +08:00
parent fbf0f05463
commit 087fa36876
12 changed files with 38 additions and 6 deletions

BIN
@dasig/images/save-1.avif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
@dasig/images/save-1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

BIN
@dasig/images/save-2.avif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
@dasig/images/save-2.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

BIN
@dasig/images/save.avif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
@dasig/images/save.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,5 +1,5 @@
--- ---
// import { Row, Column } from '../../@dasig' import { Padding, Column } from '../../@dasig'
interface Props { interface Props {
title: string title: string
@ -13,7 +13,7 @@ interface Props {
const { title, subtitle, category, date, minutes, content } = Astro.props const { title, subtitle, category, date, minutes, content } = Astro.props
--- ---
<section> <section class="article">
<span>{category}</span> <span>{category}</span>
<h1>{title}</h1> <h1>{title}</h1>
<h3>{subtitle}</h3> <h3>{subtitle}</h3>
@ -22,3 +22,14 @@ const { title, subtitle, category, date, minutes, content } = Astro.props
<p set:html={content} /> <p set:html={content} />
</div> </div>
</section> </section>
<style lang="sass">
.article
display: flex
gap: 20px
flex-direction: column
flex-wrap: wrap
justify-content: start
align-items: center
text-align: center
</style>

View file

@ -7,6 +7,17 @@ minutes: 5
category: Technology category: Technology
--- ---
<style>
p {
text-align: left;
padding: 0 10rem
}
h2 {
text-align: left;
}
</style>
<picture> <picture>
<source srcset="../../../@dasig/images/5-tech-icons-and-their-meaning.avif" type="image/avif"> <source srcset="../../../@dasig/images/5-tech-icons-and-their-meaning.avif" type="image/avif">
<source srcset="../../../@dasig/images/5-tech-icons-and-their-meaning.webp" type="image/webp"> <source srcset="../../../@dasig/images/5-tech-icons-and-their-meaning.webp" type="image/webp">
@ -52,8 +63,8 @@ The icon consists of two letters: the initial of his first name “H,” represe
## Save Icon ## Save Icon
<picture> <picture>
<source srcset="../../../@dasig/images/bluetooth.avif" type="image/avif"> <source srcset="../../../@dasig/images/save.avif" type="image/avif">
<source srcset="../../../@dasig/images/bluetooth.webp" type="image/webp"> <source srcset="../../../@dasig/images/save.webp" type="image/webp">
<img alt="5 Tech Icons And Their Meaning"> <img alt="5 Tech Icons And Their Meaning">
</picture> </picture>
@ -63,6 +74,18 @@ The icon was designed to represent a floppy disk, the original portable storage
And they looked like this: And they looked like this:
<picture>
<source srcset="../../../@dasig/images/save-1.avif" type="image/avif">
<source srcset="../../../@dasig/images/save-1.webp" type="image/webp">
<img alt="5 Tech Icons And Their Meaning">
</picture>
<picture>
<source srcset="../../../@dasig/images/save-2.avif" type="image/avif">
<source srcset="../../../@dasig/images/save-2.webp" type="image/webp">
<img alt="5 Tech Icons And Their Meaning">
</picture>
## RSS Icon ## RSS Icon
RSS is a method for staying updated on news and content from different websites. Consider it a notification email that keeps you informed whenever a site publishes new content. But to set it up, youll need an RSS reader, and the site should provide an RSS feeder. RSS is a method for staying updated on news and content from different websites. Consider it a notification email that keeps you informed whenever a site publishes new content. But to set it up, youll need an RSS reader, and the site should provide an RSS feeder.

BIN
src/images/save-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

BIN
src/images/save-2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

BIN
src/images/save.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

View file

@ -20,9 +20,7 @@ const content = await articleModule.compiledContent()
<Layout title={frontmatter.title}> <Layout title={frontmatter.title}>
<Page> <Page>
<Column content="center">
<ArticleComponent title={frontmatter.title} subtitle={frontmatter.subtitle} category={frontmatter.category} date={frontmatter.date} minutes={frontmatter.minutes} content={content} /> <ArticleComponent title={frontmatter.title} subtitle={frontmatter.subtitle} category={frontmatter.category} date={frontmatter.date} minutes={frontmatter.minutes} content={content} />
</Column>
</Page> </Page>
</Layout> </Layout>