// eslint-disable-next-line no-unused-vars import {createMemo, For, onMount, Suspense} from 'solid-js'; import anime from 'animejs'; import axios from 'axios'; function Index() { const image = { me: 'me.png', }; const repositories = createMemo(async () => { const response = (await axios.get('https://api.github.com/users/aldy505/repos')).data; const randNumber = Math.random() * (response.length - 5); return response.sort().slice(randNumber, randNumber + 5); }); onMount(() => { anime({ targets: '.repository', opacity: [ {value: 0, duration: 500, delay: 500}, {value: 100, duration: 2500}, ], translateY: [ {value: 1000, duration: 500, delay: 800}, {value: 0, duration: 2500}, ], delay: this.$anime.stagger(300, {start: 0, from: 'first', easing: 'spring'}), }); }); return (

Reinaldy Rafli

My Memoji

Not a CS student, don't work in IT industry, but most of the time I do web development. Always love to be working on a cool project 😉

}>
); } export default Index;