--- import { getCollection } from "astro:content"; import Container from "@components/Container.astro"; import PageLayout from "@layouts/PageLayout.astro"; import ArrowCard from "@components/ArrowCard.astro"; import Link from "@components/Link.astro"; import { dateRange } from "@lib/utils"; import { SITE, HOME, SOCIALS } from "@consts"; const blog = (await getCollection("blog")) .filter(post => !post.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()) .slice(0,SITE.NUM_POSTS_ON_HOMEPAGE); const projects = (await getCollection("projects")) .filter(project => !project.data.draft) .sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf()) .slice(0,SITE.NUM_PROJECTS_ON_HOMEPAGE); const allwork = (await getCollection("work")) .sort((a, b) => new Date(b.data.dateStart).valueOf() - new Date(a.data.dateStart).valueOf()) .slice(0,SITE.NUM_WORKS_ON_HOMEPAGE); const work = await Promise.all( allwork.map(async (item) => { const { Content } = await item.render(); return { ...item, Content }; }) ); ---

Hi, I'm Nano 👋🏻

I am a minimal, seo friendly, accessible portfolio and blog for developers. I am an even more lightweight version of my popular theme Astro Sphere . I have a lighthouse scores of 100 across the board for performance, accesibility, best practices and SEO.

I come packed with full type safety, a sitemap, an rss feed, markdown and mdx support (use components in your markdown) through astro integrations. I am styled with tailwind and come preconfigured with light, dark and system/os theme preferences out of the box.

Visit Astro Nano on Github to fork the repository, read the docs or one-click deploy on Vercel or Netlify.

Latest posts
See all posts
    {blog.map(post => (
  • ))}
Work Experience
See all work
    {work.map(entry => (
  • {dateRange(entry.data.dateStart, entry.data.dateEnd)}
    {entry.data.company}
    {entry.data.role}
  • ))}
Recent projects
See all projects
    {projects.map(project => (
  • ))}
Let's Connect

If you want to get in touch with me about something or just to say hi, reach out on social media or send me an email.

    {SOCIALS.map(SOCIAL => (
  • {SOCIAL.NAME} {"/"}
  • ))}
  • {SITE.EMAIL}