import { createSignal, For, Show } from 'solid-js'; import projects from '../../config/projects'; import ProjectCard from '../Project'; function Projects() { const [toggleLibrary, setToggleLibrary] = createSignal(false); const libraryProjects = projects.filter(project => project.type === 'library'); const moreLibraries = libraryProjects.slice(6); const [toggleApplication, setToggleApplication] = createSignal(false); const applicationProjects = projects.filter(project => project.type === 'application'); const moreApplications = applicationProjects.slice(6); return ( <>

Library

{project => } 0}> setToggleLibrary(true)} class='text-center py-4 w-full cursor-pointer self-center'>See more libraries
}> {project => }
setToggleLibrary(false)} class='text-center py-4 w-full cursor-pointer self-center'>Show less libraries

Application

{project => } 0}> setToggleApplication(true)} class='text-center py-4 w-full cursor-pointer self-center'>See more applications
}> {project => }
setToggleApplication(false)} class='text-center py-4 w-full cursor-pointer self-center'>Show less applications

These are just a few of my projects.  Explore more on my Github

); } export default Projects;