27 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
import * as utils from '@utils/index';
import PageLayout from '@layouts/default.astro';
import RecentArticles from '@components/RecentArticles';
import { Splash, SplashHeading, SplashLinks, Link } from '@components/Splash';
const data = await Astro.glob<ArticleType>('../../content/articles/**/*.mdx');
const articles = utils.transformArticles(data);
---
<PageLayout showPageHeading={false}>
<Splash>
<SplashHeading>
<hgroup>
<h1>Hello, I'am Sergey</h1>
<h2>Fullstack <b>web-developer</b> & <b>freelancer</b></h2>
</hgroup>
<p>Я занимаюсь разработкой веб-сайтов и веб-приложений разной сложности, а также публикую различные статьи и туториалы на разные IT темы.</p>
</SplashHeading>
<SplashLinks>
<Link icon="information" href="/about">обо мне</Link>
<Link icon="email_filled" href="/contacts">написать мне</Link>
</SplashLinks>
</Splash>
<RecentArticles articles={articles} length={4} />
</PageLayout>