diff --git a/README.md b/README.md index d1e8904..39e36c7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/9d8edaee380a43bcb89a28222c34a4b0)](https://www.codacy.com/gh/aldy505/code/dashboard?utm_source=github.com&utm_medium=referral&utm_content=aldy505/code&utm_campaign=Badge_Grade) [![CodeFactor](https://www.codefactor.io/repository/github/aldy505/code/badge)](https://www.codefactor.io/repository/github/aldy505/code) [![Build](https://github.com/aldy505/code/actions/workflows/ci.yml/badge.svg)](https://github.com/aldy505/code/actions/workflows/ci.yml) [![GitHub license](https://img.shields.io/github/license/aldy505/code)](https://github.com/aldy505/code) -Codebase for [code.reinaldyrafli.com](https://code.reinaldyrafli.com). Written in Nuxt.js, deployed on Cloudflare Pages. +Codebase for [code.reinaldyrafli.com](https://code.reinaldyrafli.com). Written on [Solid](solidjs.com) and deployed on Cloudflare Pages. ## Contributing diff --git a/components/LinkList.jsx b/components/LinkList.jsx new file mode 100644 index 0000000..d5eb3b3 --- /dev/null +++ b/components/LinkList.jsx @@ -0,0 +1,20 @@ +import {createSignal} from 'solid-js'; + +function LinkList({link, text, subtext}) { + const [hoverState, setHoverState] = createSignal(false); + return ( +
  • setHoverState(true)} + onMouseOut={() => setHoverState(false)} + > + {text} +

    — {subtext}

    +
  • + ); +} + +export default LinkList; diff --git a/components/Repository.jsx b/components/Repository.jsx index 7b636a1..efacdd6 100644 --- a/components/Repository.jsx +++ b/components/Repository.jsx @@ -37,7 +37,7 @@ function getLanguageColor(language) { function Repository({url, name, stars, language, description}) { return ( -
    +