diff --git a/src/components/Article.astro b/src/components/Article.astro index 12637f8..fbacca2 100644 --- a/src/components/Article.astro +++ b/src/components/Article.astro @@ -1,5 +1,5 @@ --- -import { Padding, Column } from '../../@dasig' +import { Padding, Column, Page } from '../../@dasig' interface Props { title: string @@ -13,15 +13,17 @@ interface Props { const { title, subtitle, category, date, minutes, content } = Astro.props --- -
- {category} -

{title}

-

{subtitle}

+ +
+ {category} +

{title}

+

{subtitle}

+

-
+ diff --git a/src/components/ArticleCard.astro b/src/components/ArticleCard.astro index cc19751..9e79488 100644 --- a/src/components/ArticleCard.astro +++ b/src/components/ArticleCard.astro @@ -1,12 +1,12 @@ --- -import { Row, Column, Padding } from '../../@dasig' +import { Row, Column, Padding, Image } from '../../@dasig' interface Props { title: string subtitle: string date: string - imageA: string - imageW: string + imageA: any + imageW: any alt: string minutes: number url: string @@ -20,6 +20,7 @@ const { title, subtitle, date, imageA, imageW, alt = 'article image', minutes, u
+ @@ -69,12 +70,12 @@ const { title, subtitle, date, imageA, imageW, alt = 'article image', minutes, u height: auto &__title - font-size: 0.8rem + font-size: 1rem font-weight: 700 - font-family: fonts.$Literata + font-family: fonts.$Inter &__subtitle - font-size: 0.65rem + font-size: 0.75rem font-weight: 500 opacity: 0.8 @@ -82,7 +83,7 @@ const { title, subtitle, date, imageA, imageW, alt = 'article image', minutes, u font-family: fonts.$Inter width: 100% padding: 0.5rem 0 0 0 - font-size: 0.5rem + font-size: 0.75rem font-weight: 500 opacity: 0.6 diff --git a/src/content/articles/5-tech-icons-and-their-meaning.md b/src/content/articles/5-tech-icons-and-their-meaning.md index dfc1419..82ae792 100644 --- a/src/content/articles/5-tech-icons-and-their-meaning.md +++ b/src/content/articles/5-tech-icons-and-their-meaning.md @@ -10,18 +10,20 @@ category: Technology - 5 Tech Icons And Their Meaning + 5 Tech Icons And Their Meaning An icon is a small image or symbol used to represent a concept, idea, or, in this case, a function or a technological indication. And digital icons are found everywhere, especially on software and website designs. Thanks to online resources like Material Fonts, Flaticon, Font Awesome, and many more. diff --git a/src/pages/index.astro b/src/pages/index.astro index 7c906ed..788665e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,7 @@ --- -import Layout from '../layouts/Layout.astro' -import { Page, Row, Logo } from '../../@dasig' +import { Logo, Page, Row } from '../../@dasig' import ArticleCard from '../components/ArticleCard.astro' +import Layout from '../layouts/Layout.astro' const articles = Object.values(import.meta.glob('../content/articles/*.md', { eager: true }))