Skip to content

Commit

Permalink
formatting project, adding manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
aacevski committed Dec 29, 2024
1 parent 1b53b5c commit 88b1d9c
Show file tree
Hide file tree
Showing 26 changed files with 478 additions and 319 deletions.
Binary file added public/apple-touch-icon.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/favicon-96x96.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/favicon.ico
Binary file not shown.
12 changes: 3 additions & 9 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "Andrej Acevski",
"short_name": "Andrej Acevski",
"icons": [
{
"src": "/web-app-manifest-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "/web-app-manifest-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#0a0a0a",
"background_color": "#0a0a0a",
"display": "standalone"
}
Binary file added public/web-app-manifest-192x192.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/web-app-manifest-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 11 additions & 4 deletions src/components/blog/code-block.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,19 @@ const { code, lang = "plaintext" } = Astro.props;
---

<div class="relative group">
<div class="absolute -inset-y-4 -inset-x-6 z-0 bg-white/5 rounded-xl opacity-0 group-hover:opacity-100 transition-opacity"></div>
<div
class="absolute -inset-y-4 -inset-x-6 z-0 bg-white/5 rounded-xl opacity-0 group-hover:opacity-100 transition-opacity"
>
</div>
<div class="relative z-10">
<div class="flex items-center justify-between mb-2">
<span class="text-sm text-gray-500">{lang}</span>
<button class="text-sm text-gray-500 hover:text-blue-400 transition-colors">Copy</button>
<button
class="text-sm text-gray-500 hover:text-blue-400 transition-colors"
>Copy</button
>
</div>
<pre class="overflow-x-auto"><code class={`language-${lang}`}>{code}</code></pre>
<pre
class="overflow-x-auto"><code class={`language-${lang}`}>{code}</code></pre>
</div>
</div>
</div>
Loading

0 comments on commit 88b1d9c

Please sign in to comment.