fixed css on mobile
All checks were successful
Vercel Production Deployment / Deploy-Production (push) Successful in 1m16s

This commit is contained in:
christian 2024-06-09 16:45:24 +02:00
parent c06cf6dd02
commit 58532c8124
3 changed files with 7 additions and 7 deletions

View File

@ -4,9 +4,9 @@
export let vendors; export let vendors;
</script> </script>
<div class="my-4 dark:bg-slate-800 mx-auto w-fit rounded-2xl p-2"> <div class="my-4 dark:bg-slate-800 mx-auto md:w-fit rounded-2xl p-2">
<h3 class="text-xl mb-2 text-center">built with</h3> <h3 class="text-xl mb-2 text-center">built with</h3>
<div class="flex justify-center gap-4"> <div class="flex gap-2 overflow-x-scroll overflow-y-hidden flex-nowrap md:justify-center">
{#each vendors as vendor} {#each vendors as vendor}
<VendorIcon {...vendor} /> <VendorIcon {...vendor} />
{/each} {/each}

View File

@ -3,7 +3,7 @@
export let img; export let img;
</script> </script>
<div class="flex flex-col justify-center max-w-16 max-h-16 hover:scale-110 text-center"> <div class="flex flex-col justify-center hover:scale-110">
<img src={img} alt={name} class="min-h-12 self-center" /> <img src={img} alt={name} class="h-12 max-w-20" />
<p class="text-slate-900 dark:text-stone-200 font-normal">{name}</p> <p class="text-slate-900 dark:text-stone-200 text-center">{name}</p>
</div> </div>

View File

@ -17,8 +17,8 @@ export const projects = [
url: 'https://jobs.rannes.dev', url: 'https://jobs.rannes.dev',
description: description:
'I wanted an excuse to try out Go, and I also want to find a job. The scraper is built with Go and the Colly package. It runs on a AWS EC2 instance, and the frontend is built with Next.js which is deployed to Vercel.', 'I wanted an excuse to try out Go, and I also want to find a job. The scraper is built with Go and the Colly package. It runs on a AWS EC2 instance, and the frontend is built with Next.js which is deployed to Vercel.',
repo: 'https://gitea.rannes.dev/rannes.dev/sw-jobs-go', repo: 'https://gitea.rannes.dev/rannes.dev/sw-jobs-frontend',
rss: 'https://gitea.rannes.dev/rannes.dev/sw-jobs-go.rss', rss: 'https://gitea.rannes.dev/rannes.dev/sw-jobs-frontend.rss',
image: '', image: '',
vendors: [ vendors: [
{ {