--- import type { PortfolioEntry } from "@/types"; import BaseLayout from "@components/base/BaseLayout.astro"; import PageHeader from "@/components/common/PageHeader.astro"; import { markdownify } from "@lib/textConverter"; import { FaGithub } from "react-icons/fa"; interface Props { entry: PortfolioEntry; } const { entry } = Astro.props; const { title, description, projects } = entry.data; ---
{ projects.map((project) => ( <>

{project.github && ( )} {project.technologies?.map((element: string) => (
  • {/* Use markdownify to convert markdown to HTML for each technology */}
  • ))}
    {project.content?.map((element: string) => (

    ))}

    )) }