Updated
This commit is contained in:
parent
6fb5145b16
commit
bb58c17286
24 changed files with 129 additions and 57 deletions
|
|
@ -1,23 +1,26 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import { Page, Row } from '../../@dasig'
|
||||
import { Page, Row, Image, Logo } from '../../@dasig'
|
||||
import ArticleCard from '../components/ArticleCard.astro'
|
||||
|
||||
import TechA from '../../@dasig/images/5-tech.avif'
|
||||
import TechW from '../../@dasig/images/5-tech.webp'
|
||||
import logoA from '../../@dasig/images/logo.avif'
|
||||
import logoW from '../../@dasig/images/logo.webp'
|
||||
|
||||
const articles = Object.values(import.meta.glob('../content/articles/*.md', { eager: true }))
|
||||
---
|
||||
|
||||
<Layout title="Articles - Pat Alcala">
|
||||
<Page alignment="column">
|
||||
<Row wrap gap={0} content="left">
|
||||
<Row wrap gap={1} content="left">
|
||||
<Logo size={90} />
|
||||
<h1 class="title">Pat's Articles</h1>
|
||||
</Row>
|
||||
|
||||
<div class="articles">
|
||||
<Row wrap gap={1}>
|
||||
{articles.map((post: any) => <ArticleCard url={post.frontmatter.url} title={post.frontmatter.title} subtitle={post.frontmatter.subtitle} imageA={TechA.src} imageW={TechW.src} alt="5-tech" minutes={post.frontmatter.minutes} date={post.frontmatter.date} />)}
|
||||
{articles.map((post: any) => <ArticleCard category="Technology" categoryColor="blue" url={post.frontmatter.url} title={post.frontmatter.title} subtitle={post.frontmatter.subtitle} imageA={TechA.src} imageW={TechW.src} alt="5-tech" minutes={post.frontmatter.minutes} date={post.frontmatter.date} />)}
|
||||
</Row>
|
||||
</div>
|
||||
</Page>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue