Initial rewrite
This commit is contained in:
parent
a5f64a3ff8
commit
0d183c8335
200 changed files with 12537 additions and 18659 deletions
44
src/pages/index.astro
Normal file
44
src/pages/index.astro
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
import ArticleList from '../components/ArticleList.astro';
|
||||
import ProjectList from '../components/ProjectList.astro';
|
||||
import Base from '../layouts/Base.astro';
|
||||
import { getProjects, getPublishedPosts } from '../lib/site';
|
||||
|
||||
const posts = await getPublishedPosts();
|
||||
const latestPosts = posts.slice(0, 5);
|
||||
const projects = await getProjects();
|
||||
const selectedProjects = projects.filter((project) => project.data.selected);
|
||||
---
|
||||
|
||||
<Base>
|
||||
<section class="home-intro">
|
||||
<p class="eyebrow">
|
||||
Software systems, AI deployment, graphics, simulations, and tools
|
||||
</p>
|
||||
<h1>
|
||||
<span class="home-name-accent">Andras Schmelczer</span> writes about building software
|
||||
that has to work under real constraints.
|
||||
</h1>
|
||||
<p>
|
||||
I am a software engineer with an MSc in Computer Science. This site is mostly a
|
||||
notebook of technical articles and project writeups; the hiring details live on the
|
||||
<a href="/about/">About</a> page.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="home-section" aria-labelledby="latest-articles">
|
||||
<div class="section-heading">
|
||||
<h2 id="latest-articles">Latest Articles</h2>
|
||||
<a href="/articles/">All articles</a>
|
||||
</div>
|
||||
<ArticleList posts={latestPosts} />
|
||||
</section>
|
||||
|
||||
<section class="home-section" aria-labelledby="selected-projects">
|
||||
<div class="section-heading">
|
||||
<h2 id="selected-projects">Selected Projects</h2>
|
||||
<a href="/projects/">All projects</a>
|
||||
</div>
|
||||
<ProjectList projects={selectedProjects} />
|
||||
</section>
|
||||
</Base>
|
||||
Loading…
Add table
Add a link
Reference in a new issue