From 9b84073c7c8681e6382a4b72c0a6ce22e78aae84 Mon Sep 17 00:00:00 2001 From: Viktor Holta Date: Wed, 8 Oct 2025 18:19:51 +0200 Subject: [PATCH 1/5] Create CollapsableSection component Co-authored-by: Tove Haernfelt --- src/lib/components/CollapsableSection.svelte | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/lib/components/CollapsableSection.svelte diff --git a/src/lib/components/CollapsableSection.svelte b/src/lib/components/CollapsableSection.svelte new file mode 100644 index 0000000..6d9512f --- /dev/null +++ b/src/lib/components/CollapsableSection.svelte @@ -0,0 +1,49 @@ + + +
+ + {#if isCollapsed} +
+ {@render children()} +
+ {/if} +
+ + From ef247d14abd0e55f863cbc561c4ce0c2668ac301 Mon Sep 17 00:00:00 2001 From: Viktor Holta Date: Sun, 12 Oct 2025 18:35:20 +0200 Subject: [PATCH 2/5] Init page for hacking resources Co-authored-by: Tove Haernfelt Co-authored-by: ItLiuDavid --- src/routes/+layout.svelte | 1 + src/routes/resources/+page.svelte | 81 +++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 src/routes/resources/+page.svelte diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 91dce73..d79edc1 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -18,6 +18,7 @@ { href: "/new-member", label: "Member" }, { href: "/events", label: "Upcoming Events" }, { href: "/events/previous", label: "Previous Events" }, + { href: "/resources", label: "Hacking Resources" }, // TODO(72): Redesign nav links to include dropdowns ]; diff --git a/src/routes/resources/+page.svelte b/src/routes/resources/+page.svelte new file mode 100644 index 0000000..03d471d --- /dev/null +++ b/src/routes/resources/+page.svelte @@ -0,0 +1,81 @@ + + + + + +
+ + +

+ Swedish criminal code, Chapter 4, paragraphs + 8 + and + 9c +

+
+ +

+ Tryhackme is a gamified + cybersecurity platform with hands-on labs and challenges for learning ethical hacking and SOC + at any skill level. +

+

+ Hack The Box is a platform + that provides a variety of challenges and labs for learning ethical hacking and penetration testing. +

+

+ picoctf is a + free online platform that offers CTF challenges and competitions for students and beginners. +

+
+ +

+ Kali Linux is a Debian-based + Linux distribution that comes pre-installed with a wide range of security tools for penetration + testing and ethical hacking. +

+

+ Parrot Security OS is + another Debian-based Linux distribution that provides a suite of security tools for ethical hacking + and penetration testing. +

+
+ +

+ Nmap is a network scanning + tool used for scanning ip addresses and ports in a network. +

+

+ Wireshark is a network + protocol analyzer that allows you to capture and interactively browse the traffic running on + a network. +

+

+ Burp Suite is a collection + of tools used for pentesting web applications. +

+

+ John the ripper + John the ripper is a free and open-source password cracking software tool that supports various + encryption algorithms. +

+
+ +

+ CVE Details is a database + of known vulnerabilities and exposures, providing information on security issues in software + and hardware. +

+
+
+
From d3a97c06043e18ed6cd40a152dc548812ced6246 Mon Sep 17 00:00:00 2001 From: Viktor Holta Date: Sat, 1 Nov 2025 14:23:45 +0100 Subject: [PATCH 3/5] Add transitions & icons to collapsable sections Co-authored-by: Tove Haernfelt --- src/lib/components/CollapsableSection.svelte | 28 +++++++++++++++----- src/lib/styles/default.scss | 3 +++ 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/lib/components/CollapsableSection.svelte b/src/lib/components/CollapsableSection.svelte index 6d9512f..c22c048 100644 --- a/src/lib/components/CollapsableSection.svelte +++ b/src/lib/components/CollapsableSection.svelte @@ -7,19 +7,20 @@ type Props = { children: Snippet; title: string }; const { children, title }: Props = $props(); - let isCollapsed = $state(false); + let isCollapsed = $state(true); function toggleCollapsed() { isCollapsed = !isCollapsed; }
- - {#if isCollapsed} -
- {@render children()} -
- {/if} + +
+ {@render children()} +