[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte flo-bit.dev/
portfolio portfolio-website svelte sveltekit tailwind threejs threlte typescript
0

Configure Feed

Select the types of activity you want to include in your feed.

small fixes

Florian (Jun 29, 2024, 4:49 AM +0200) 8a7379bd 56fe7f29

+32 -17
+1 -2
src/app.html
··· 2 2 <html lang="en" class="h-full dark"> 3 3 <script> 4 4 !function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled onFeatureFlags getFeatureFlag getFeatureFlagPayload reloadFeatureFlags group updateEarlyAccessFeatureEnrollment getEarlyAccessFeatures getActiveMatchingSurveys getSurveys getNextSurveyStep onSessionId".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]); 5 - posthog.init('phc_1Q4q6SdTwvStnxFWbmdOIusLc5ve0u6Fk7WpsHPoAlD',{api_host:'https://eu.i.posthog.com', person_profiles: 'identified_only' // or 'always' to create profiles for anonymous users as well 6 - }) 5 + posthog.init('phc_1Q4q6SdTwvStnxFWbmdOIusLc5ve0u6Fk7WpsHPoAlD',{api_host:'https://eu.i.posthog.com', person_profiles: 'identified_only', persistence: 'memory'}) 7 6 </script> 8 7 9 8 <head>
+2 -2
src/lib/3D/Scene.svelte
··· 16 16 let sizeSpring = spring<number>(size, 0.1, 0.5); 17 17 18 18 let distance = 1; 19 - const maxSpeed = 0.05; 20 - const acceleration = 0.001; 19 + const maxSpeed = 0.03; 20 + const acceleration = 0.0002; 21 21 const damping = 0.98; 22 22 23 23 let isDragging = false;
+3 -6
src/lib/components/Contact.svelte
··· 51 51 </svelte:fragment> 52 52 instagram 53 53 </SocialLink> 54 - <SocialLink href="https://youtube.com/@flobit" class="mt-4"> 54 + <!-- <SocialLink href="https://youtube.com/@flobit" class="mt-4"> 55 55 <svelte:fragment slot="icon"> 56 56 <svg fill="currentColor" viewBox="0 0 24 24" aria-hidden="true" 57 57 class="w-6 h-6"> ··· 63 63 </svg> 64 64 </svelte:fragment> 65 65 youtube 66 - </SocialLink> 66 + </SocialLink> --> 67 67 <SocialLink href="https://flobit.substack.com/" class="mt-4"> 68 68 <svelte:fragment slot="icon"> 69 69 <svg ··· 102 102 </div> 103 103 </div> 104 104 </div> 105 - </div> 106 - 107 - 108 - <div class="hidden"><img alt="hit counter" src="https://hits.sh/flo-bit.github.io.svg"/></div> 105 + </div>
+20 -3
src/lib/components/Footer.svelte
··· 1 - <footer class="bg-black relative isolate "> 1 + <footer class="bg-black relative isolate"> 2 2 <div class="mx-auto max-w-7xl overflow-hidden px-6 py-12 lg:px-8"> 3 - <p class="mt-4 text-center text-xs leading-5 text-zinc-500 dark:text-zinc-400"> 4 - &copy; 2024 florian killius. all rights reserved. 3 + <p 4 + class="mt-4 flex items-center justify-center text-center text-xs leading-5 text-zinc-500 dark:text-zinc-400 gap-1" 5 + > 6 + made with <svg 7 + xmlns="http://www.w3.org/2000/svg" 8 + viewBox="0 0 24 24" 9 + fill="currentColor" 10 + class="size-4 fill-cyan-400" 11 + > 12 + <path 13 + d="m11.645 20.91-.007-.003-.022-.012a15.247 15.247 0 0 1-.383-.218 25.18 25.18 0 0 1-4.244-3.17C4.688 15.36 2.25 12.174 2.25 8.25 2.25 5.322 4.714 3 7.688 3A5.5 5.5 0 0 1 12 5.052 5.5 5.5 0 0 1 16.313 3c2.973 0 5.437 2.322 5.437 5.25 0 3.925-2.438 7.111-4.739 9.256a25.175 25.175 0 0 1-4.244 3.17 15.247 15.247 0 0 1-.383.219l-.022.012-.007.004-.003.001a.752.752 0 0 1-.704 0l-.003-.001Z" 14 + /> 15 + </svg> 16 + by florian. check out the 17 + <a 18 + target="_blank" 19 + href="https://github.com/flo-bit/flo-bit.github.io" 20 + class="text-zinc-600 dark:text-cyan-400">source code</a 21 + > 5 22 </p> 6 23 </div> 7 24 </footer>
+1 -1
src/lib/components/Hero.svelte
··· 2 2 <div class="mx-auto max-w-5xl px-6 py-40 lg:px-8"> 3 3 <div class=""> 4 4 <h1 5 - class="text-6xl mt-12 md:mt-36 font-bold tracking-tight text-right w-full text-zinc-900 dark:text-zinc-100 md:text-8xl" 5 + class="text-6xl mt-0 md:mt-36 font-bold tracking-tight text-right w-full text-zinc-900 dark:text-zinc-100 md:text-8xl" 6 6 > 7 7 hello world 8 8 </h1>
+5 -3
src/lib/components/nav/MobileNavigation.svelte
··· 40 40 41 41 {#if $open} 42 42 <div 43 - transition:fade={{ duration: 100 }} 43 + transition:fade={{ duration: 300 }} 44 44 class="fixed inset-0 z-50 bg-zinc-800/40 backdrop-blur-sm dark:bg-black/50 transition-all duration-300" 45 45 /> 46 46 47 - <div use:melt={$content}> 47 + <div use:melt={$content} 48 + > 48 49 <div use:melt={$arrow} /> 49 50 <div 51 + transition:slide={{ duration: 300 }} 50 52 class="fixed inset-x-4 bottom-8 z-50 origin-top rounded-3xl bg-white p-8 ring-1 backdrop-blur-md ring-zinc-900/5 dark:bg-black dark:ring-white/10" 51 53 > 52 54 <div class="flex flex-row-reverse items-center justify-between"> 53 - <button aria-label="Close menu" class="-m-1 p-1" use:melt={$close}> 55 + <button aria-label="Close menu" class="-m-1 p-1 focus:outline-none" use:melt={$close}> 54 56 <svg 55 57 viewBox="0 0 24 24" 56 58 aria-hidden="true"