--- import Layout from "@/layouts/Layout.astro"; import LinkButton from "@/components/link-button"; import { getCollection } from "astro:content"; import PostItem from "@/components/post-item"; import { sortContentByDate } from "@/utils/sorts"; const allPosts = await getCollection("blog", ({ data }) => data.draft !== true); sortContentByDate(allPosts); const last3Blogs = allPosts.slice(0, 3); const allProjects = await getCollection( "portfolio", ({ data }) => data.draft !== true, ); sortContentByDate(allProjects); const last3Projects = allProjects.slice(0, 3); ---

Welcome to my domain, stranger.

I am juancmandev.

I like computers, and all stuff related to technology.

Take a seat, drink some tea, and enjoy your stay.

Latest posts

    { last3Blogs.map((blogpost: any) => (
  • )) }
More posts

Latest projects

    { last3Projects.map((project: any) => (
  • )) }
More projects