Skip to content

Commit

Permalink
fix: avatar & grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
notgabry committed Feb 29, 2024
1 parent e219caa commit 9847be7
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 24 deletions.
11 changes: 11 additions & 0 deletions src/components/Footer.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
const commit: { html_url: string; sha: string } = await fetch('https://api.github.com/repos/notgabry/gabryy.me/commits/main')
.then((a) => a.json())
.catch(() => {})
---

<hr class="my-6 border-gray-600 mx-6" />
<footer class="mx-6 font-josefin font-bold mb-10 text-gray-500">
<p class="text-md">📃 Code under <a href="https://github.com/notgabry/gabryy.me/blob/main/LICENSE" class="decoration-dashed hover:underline">MIT</a> license.</p>
<p class="text-md">🍁 GitHub Commit <a class="decoration-dashed hover:underline" href={commit.html_url}>{String(commit.sha || '00000').substring(0, 5)}.</a></p>
</footer>
2 changes: 2 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
const { title } = Astro.props
import Footer from '@components/Footer.astro'
import '../styles/input.css'
---

Expand All @@ -25,5 +26,6 @@ import '../styles/input.css'

<body class="bg-p-bg max-w-xl mx-auto">
<slot />
<Footer />
</body>
</html>
19 changes: 5 additions & 14 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import Presence from '@components/Presence.svelte'
import GenerateDynDate from '@modules/GenerateDynDate'
const age = GenerateDynDate(new Date(2007, 9, 12))
const linux = GenerateDynDate(new Date(2021, 5, 11))
const commit: { html_url: string; sha: string } = await fetch('https://api.github.com/repos/notgabry/gabryy.me/commits/main').then((a) => a.json())
---

<Layout title="notgabry">
Expand All @@ -26,18 +23,18 @@ const commit: { html_url: string; sha: string } = await fetch('https://api.githu
<section class="mt-6">
<h3 class="font-young-serif text-2xl text-p-text underline decoration-wavy decoration-p-underline">About Me</h3>
<p class="font-josefin text-p-text">
I'm a {age}-year-old developer from Italy. Ever since I was little I've always been passionate about computers and how they operate, now I'm learning new technologies or programming languages, like <Mark>Go</Mark> and <Mark>Rust</Mark> the two programmming languages I am currently focussing on.
I'm a {age}-year-old developer from Italy. Ever since I was little I've always been passionate about computers and how they operate, now I'm learning new technologies or programming languages, like <Mark>Go</Mark> and <Mark>Rust</Mark> the two programmming languages I love the most.
</p>
</section>

<section class="mt-6">
<h3 class="font-young-serif text-2xl text-p-text underline decoration-wavy decoration-p-underline">Interests</h3>
<p class="font-josefin text-p-text">
For performance related problems I switched to linux {linux} years ago and even if now I have Windows on dual-boot (for playing videogames) I never came back to Windows as my main os. In this lil period of time i tried different linux distros like <Mark>Ubuntu 20</Mark>, <Mark>Manjaro</Mark>, <Mark>Arch</Mark>, <Mark>Kali</Mark> and <Mark>Linux Mint</Mark> the one I'm using right now.
I've half a decade of experience with linux, I've tried different linux distros like <Mark>Ubuntu 20</Mark>, <Mark>Manjaro</Mark>, <Mark>Arch</Mark>, <Mark>Kali</Mark> and <Mark>Linux Mint</Mark> the one I'm using right now.
<br />
In my spare time when I want to relax I play videogames like <Mark>Valorant</Mark> or <Mark>Sea of Thieves</Mark>
In my spare time when I want to relax I play videogames like <Mark>Valorant</Mark>
<br />
I can't play or study without music, feel free to check out one of my most recent played songs...
I can't play without music, feel free to check out one of my most recent played songs...
</p>
<Presence client:load />
</section>
Expand All @@ -46,14 +43,8 @@ const commit: { html_url: string; sha: string } = await fetch('https://api.githu
<h3 class="font-young-serif text-2xl text-p-text underline decoration-wavy decoration-p-underline">Skills</h3>
<p class="font-josefin text-p-text">
I've lots of experience with <Mark>JavaScript</Mark> and <Mark>TypeScript</Mark> also I practiced <Mark>Python</Mark> for over a year, I'm recently moving my focus to <Mark>Go</Mark> and <Mark>Rust</Mark>. <br />
Go check out my top projects on <a class="underline text-pink-200 font-space" href="/projects"><i class="fa-solid fa-location-arrow mr-1"></i>github</a>
Go check out my top projects on <a class="underline text-pink-200 font-space" href="/projects"><i class="fa-solid fa-location-arrow mr-1"></i>/projects</a>
</p>
</section>
</main>

<hr class="my-6 border-gray-600 mx-6" />
<footer class="mx-6 font-josefin font-bold mb-10 text-gray-500">
<p class="text-md">📃 Code under <a href="https://github.com/NotGabry/gabryy.me/blob/main/LICENSE" class="decoration-dashed hover:underline">MIT</a> license.</p>
<p class="text-md">🍁 GitHub Commit <a class="decoration-dashed hover:underline" href={commit.html_url}>{String(commit.sha || '00000').substring(0, 5)}.</a></p>
</footer>
</Layout>
10 changes: 0 additions & 10 deletions src/pages/projects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ import Layout from '@layouts/Layout.astro'
import Head from '@components/Head.astro'
import Repo from '@components/Repo.astro'
const commit: { html_url: string; sha: string } = await fetch('https://api.github.com/repos/notgabry/gabryy.me/commits/main')
.then((a) => a.json())
.catch(() => {})
let repos: { html_url: string; full_name: string; stargazers_count: number; language: string; description: string; fork: boolean; created_at: string }[] = await fetch('https://api.github.com/users/notgabry/repos?sort=stars&order=desc')
.then((a) => a.json())
.catch(() => [])
Expand Down Expand Up @@ -44,10 +40,4 @@ if (repos.length) {
)
}
</main>

<hr class="my-6 border-gray-600 mx-4" />
<footer class="mx-4 font-josefin font-bold mb-10 text-gray-500">
<p class="text-md">📃 Code under <a href="https://github.com/NotGabry/gabryy.me/blob/main/LICENSE" class="decoration-dashed hover:underline">MIT</a> license.</p>
<p class="text-md">🍁 GitHub Commit <a class="decoration-dashed hover:underline" href={commit.html_url}>{String(commit.sha || '00000').substring(0, 5)}.</a></p>
</footer>
</Layout>
Binary file removed static/eyes.png
Binary file not shown.
Binary file modified static/gabry-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/gabry.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9847be7

Please sign in to comment.