following tutorial

This commit is contained in:
Blboun3
2024-03-23 08:57:56 +01:00
parent d97457ccc7
commit ec72e14237
8 changed files with 74 additions and 152 deletions

View File

@ -0,0 +1,8 @@
---
import Social from './Social.astro';
---
<footer class="flex mt-4 gap-4">
<Social platform="github" tld="com" username="blboun3"/>
<Social platform="git.cyrilsebek" tld="cz" username="blboun3" />
</footer>

View File

@ -0,0 +1,7 @@
---
---
<div class="hamburger pr-[20px] cursor-pointer" >
<span class="line block w-[40px] h-[5px] mb-10 bg-[#ff9776]"></span>
<span class="line block w-[40px] h-[5px] mb-10 bg-[#ff9776]"></span>
<span class="line block w-[40px] h-[5px] mb-10 bg-[#ff9776]"></span>
</div>

View File

@ -0,0 +1,10 @@
---
---
<div id="navigation" class="w-full bg-[#ff9776] hidden m-0 left-12 top-20">
<a href="/" class="block text-center no-underline text-[1.2rem] font-[bold] uppercase px-0 py-2.5">Home</a>
<a href="/blog/" class="block text-center no-underline text-[1.2rem] font-[bold] uppercase px-0 py-2.5">Blog</a>
</div>
<style>
</style>

View File

@ -0,0 +1,4 @@
---
const { platform, tld, username } = Astro.props;
---
<a href={`https://${platform}.${tld}/${username}`} class="py-2 px-4 text-white bg-[#4c1d95]">{platform}</a>