From a055640fa8eb89ac2bb9170abd0b4d9dc45e8268 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 7 May 2026 20:21:17 +0200 Subject: [PATCH] Edit hero & add Infosec Notes section Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- src/components/Hero.astro | 30 ++++-------------------------- src/components/Notes.astro | 27 +++++++++++++++++++++++++++ src/config.ts | 2 -- src/pages/index.astro | 5 +++-- 4 files changed, 34 insertions(+), 30 deletions(-) create mode 100644 src/components/Notes.astro diff --git a/src/components/Hero.astro b/src/components/Hero.astro index f857cf7..bf4f1ad 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -1,5 +1,5 @@ --- -import { ArrowRight, FolderCode, Key, Rss } from "@lucide/astro"; +import { FolderCode, Key, Rss } from "@lucide/astro"; import { Image } from "astro:assets"; import type { SocialLinks } from "../config"; @@ -8,7 +8,6 @@ interface Props { title: string; description: string; avatar: any; - location?: string; socialLinks?: SocialLinks; gpgKey?: string; rssFeed?: string; @@ -19,18 +18,17 @@ const { title, description, avatar, - location, socialLinks, gpgKey, rssFeed, } = Astro.props; --- -
-
+
+
{name}
@@ -40,7 +38,6 @@ const { Hi, I'm {name}

{title}

- {location &&

{location}

}

{description}

@@ -335,25 +332,6 @@ const {
) } - -
diff --git a/src/components/Notes.astro b/src/components/Notes.astro new file mode 100644 index 0000000..5d3bd90 --- /dev/null +++ b/src/components/Notes.astro @@ -0,0 +1,27 @@ +--- +import { ArrowRight } from "@lucide/astro"; +--- + +
+
+
+

Infosec notes

+
+ +
+

+ Cheatsheets and references on tools and techniques I use for CTFs and + pentesting. +

+ + Browse notes + + +
+
+
diff --git a/src/config.ts b/src/config.ts index a5573fa..a407ea8 100644 --- a/src/config.ts +++ b/src/config.ts @@ -23,7 +23,6 @@ export interface SiteConfig { title: string; description: string; avatar: string; - location: string; socialLinks: SocialLinks; gpgKey?: string; rssFeed?: string; @@ -39,7 +38,6 @@ export const siteConfig: SiteConfig = { description: "Infosec engineer passionate about Linux/NixOS, blockchains, OSINT & FOSS. Hacking with Go, exploring open tech, and contributing whenever I can 🐧", avatar: "/avatar.png", - location: "🇫🇷 France", socialLinks: { github: "https://github.com/anotherhadi", gitlab: "https://gitlab.com/anotherhadi_mirror", diff --git a/src/pages/index.astro b/src/pages/index.astro index 0bba479..4582b23 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,25 +3,26 @@ import Layout from "../layouts/Layout.astro"; import Hero from "../components/Hero.astro"; import Projects from "../components/Projects.astro"; import Blog from "../components/Blog.astro"; +import Notes from "../components/Notes.astro"; import Contact from "../components/Contact.astro"; import { siteConfig } from "../config"; import avatar from "../../public/avatar.jpg"; --- -
+
+