Skip to content

Commit

Permalink
socials
Browse files Browse the repository at this point in the history
  • Loading branch information
thepixelmonk committed Aug 18, 2024
1 parent d443950 commit 97e82ba
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Binary file added public/assets/images/discord.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/images/twitch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ const permalink = Astro.site.href;
<div class="hero-caption"><!-- Main Tagline -->
<h1>Bytecraft <span class="colored">Games</span></h1>
</div>
<div class="socials">
<div class="social">
<a href="https://twitch.tv/pixelmonk" target="_blank">
<div style="background-image:url(assets/images/twitch.png)"></div>
</a>
</div>
<div class="social">
<a href="https://dub.sh/bytecraft" target="_blank">
<div style="background-image:url(assets/images/discord.png)"></div>
</a>
</div>
</div>
</div>
</div>
</div><!-- Hero Section End -->
Expand Down
18 changes: 18 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
.socials {
text-align: center;
}

.socials .social {
position: relative;
margin: auto;
padding: 0 20px;
display: inline-block;
width: 100px;
}

.socials .social div {
margin: auto;
background-size: contain;
width: 50px;
height: 50px;
}

0 comments on commit 97e82ba

Please sign in to comment.