make less repeated

This commit is contained in:
2026-01-25 20:24:12 +00:00
parent 68a96ce41d
commit 5a4f2f9680

View File

@@ -3,212 +3,239 @@ import { ref } from "vue";
import ToggleLinkTable from "@/components/quick/ToggleLinkTable.vue"; import ToggleLinkTable from "@/components/quick/ToggleLinkTable.vue";
const reading_links = [ const links = [
{ [
name: "Substack", "Reading Links",
link: "https://substack.com/", [
}, {
{ name: "Substack",
name: "Medium", link: "https://substack.com/",
link: "https://medium.com/", },
}, {
{ name: "Medium",
name: "4Chan", link: "https://medium.com/",
link: "https://www.4chan.org/", },
}, {
]; name: "4Chan",
link: "https://www.4chan.org/",
const job_links = [ },
{ ],
name: "LinkedIn", ],
link: "https://www.linkedin.com/", [
}, "Job Links",
{ [
name: "Jack and Jill", {
link: "https://app.jackandjill.ai", name: "LinkedIn",
}, link: "https://www.linkedin.com/",
{ },
name: "LinkedIn", {
link: "https://www.linkedin.com/", name: "Jack and Jill",
}, link: "https://app.jackandjill.ai",
{ },
name: "Prospects", {
link: "https://www.prospects.ac.uk/", name: "LinkedIn",
}, link: "https://www.linkedin.com/",
{ },
name: "GOV", {
link: "https://findajob.dwp.gov.uk", name: "Prospects",
}, link: "https://www.prospects.ac.uk/",
{ },
name: "Glassdoor", {
link: "https://www.glassdoor.co.uk/", name: "GOV",
}, link: "https://findajob.dwp.gov.uk",
{ },
name: "Indeed", {
link: "https://www.indeed.co.uk/", name: "Glassdoor",
}, link: "https://www.glassdoor.co.uk/",
]; },
{
const learning_links = [ name: "Indeed",
{ link: "https://www.indeed.co.uk/",
name: "Leetcode", },
link: "https://leetcode.com/", ],
}, ],
{ [
name: "ISLP", "Learning Links",
link: "https://hastie.su.domains/ISLP/ISLP_website.pdf.download.html", [
}, {
]; name: "Leetcode",
link: "https://leetcode.com/",
const social_links = [ },
{ {
name: "Outlook", name: "ISLP",
link: "https://outlook.live.com/", link: "https://hastie.su.domains/ISLP/ISLP_website.pdf.download.html",
}, },
{ ],
name: "Gmail", ],
link: "https://mail.google.com/", [
}, "Social Links",
{ [
name: "Whatsapp", {
link: "https://web.whatsapp.com/", name: "Outlook",
}, link: "https://outlook.live.com/",
]; },
{
const radio_links = [ name: "Gmail",
{ link: "https://mail.google.com/",
name: "Radio Helsinki", },
link: "https://www.radiohelsinki.fi/", {
}, name: "Whatsapp",
{ link: "https://web.whatsapp.com/",
name: "Palanga Street Radio", },
link: "https://palanga.live/", ],
}, ],
{ [
name: "IDA Radio", "Radio links",
link: "https://idaidaida.net/", [
}, {
{ name: "Radio Helsinki",
name: "Tīrkultūra", link: "https://www.radiohelsinki.fi/",
link: "https://www.tirkultura.lv/", },
}, {
]; name: "Palanga Street Radio",
link: "https://palanga.live/",
const hacking_links = [ },
{ {
name: "pwn.college", name: "IDA Radio",
link: "https://pwn.college/", link: "https://idaidaida.net/",
}, },
{ {
name: "OSINT Framework", name: "Tīrkultūra",
link: "https://osintframework.com/", link: "https://www.tirkultura.lv/",
}, },
{ ],
name: "OverTheWire", ],
link: "https://overthewire.org/", [
}, "Hacking Links",
{ [
name: "TryHackMe", {
link: "https://tryhackme.com/", name: "pwn.college",
}, link: "https://pwn.college/",
]; },
{
const chinese_links = [ name: "OSINT Framework",
{ link: "https://osintframework.com/",
name: "MDBG Chinese Dictionary", },
link: "https://www.mdbg.net/chinese/dictionary", {
}, name: "OverTheWire",
{ link: "https://overthewire.org/",
name: "Stroke Order", },
link: "https://www.strokeorder.com/", {
}, name: "TryHackMe",
{ link: "https://tryhackme.com/",
name: "HSK 1 Peking University", },
link: "https://youtube.com/playlist?list=PLVWfp7qXLmKVfSUkucXErLncKn-JqgBbK&si=2ytO3inS8-iOAOx2", ],
}, ],
{ [
name: "Stroke Order", "Chinese Links",
link: "https://www.strokeorder.com/", [
}, {
{ name: "MDBG Chinese Dictionary",
name: "Offbeat Mandarin", link: "https://www.mdbg.net/chinese/dictionary",
link: "https://www.youtube.com/@OffbeatMandarin", },
}, {
]; name: "Stroke Order",
link: "https://www.strokeorder.com/",
const art_links = [ },
{ {
name: "Frida Kahlo", name: "HSK 1 Peking University",
link: "https://www.fridakahlo.org/", link: "https://youtube.com/playlist?list=PLVWfp7qXLmKVfSUkucXErLncKn-JqgBbK&si=2ytO3inS8-iOAOx2",
}, },
{ {
name: "Cameron's World", name: "Stroke Order",
link: "https://www.cameronsworld.net/", link: "https://www.strokeorder.com/",
}, },
{ {
name: "Neocities", name: "Offbeat Mandarin",
link: "https://neocities.org/", link: "https://www.youtube.com/@OffbeatMandarin",
}, },
]; ],
],
const vue_links = [ [
{ "Art links",
name: "Vue", [
link: "https://vuejs.org/guide/introduction.html", {
}, name: "Frida Kahlo",
{ link: "https://www.fridakahlo.org/",
name: "Vue Router", },
link: "https://router.vuejs.org/introduction.html", {
}, name: "Cameron's World",
{ link: "https://www.cameronsworld.net/",
name: "Pinia", },
link: "https://pinia.vuejs.org/introduction.html", {
}, name: "Neocities",
]; link: "https://neocities.org/",
},
const go_links = [ ],
{ ],
name: "Golang", [
link: "https://golang.org/doc/", "Vue links",
}, [
{ {
name: "Gin Gonic", name: "Vue",
link: "https://gin-gonic.com/en/docs/introduction/", link: "https://vuejs.org/guide/introduction.html",
}, },
{ {
name: "GORM", name: "Vue Router",
link: "https://gorm.io/gen/index.html", link: "https://router.vuejs.org/introduction.html",
}, },
]; {
name: "Pinia",
const doc_links = [ link: "https://pinia.vuejs.org/introduction.html",
{ },
name: "Rust", ],
link: "https://doc.rust-lang.org/stable/book/index.html", ],
}, [
{ "Go links",
name: "Javascript", [
link: "https://developer.mozilla.org/en-US/docs/Web/JavaScript", {
}, name: "Golang",
{ link: "https://golang.org/doc/",
name: "Python", },
link: "https://docs.python.org/3/", {
}, name: "Gin Gonic",
]; link: "https://gin-gonic.com/en/docs/introduction/",
},
const article_links = [ {
{ name: "GORM",
name: "Go and GORM", link: "https://gorm.io/gen/index.html",
link: "https://medium.com/@chaewonkong/learn-go-understanding-and-implementing-foreign-keys-with-gorm-6d7608e1dbf6", },
}, ],
{ ],
name: "JWT Auth in GO", [
link: "https://medium.com/monstar-lab-bangladesh-engineering/jwt-auth-in-go-dde432440924", "Doc links",
}, [
{ {
name: "Websockets in GO", name: "Rust",
link: "https://medium.com/@tanngontn/golang-gin-framework-with-normal-websocket-and-websocket-with-producer-is-rabbitmq-guide-93cad7d290f7", link: "https://doc.rust-lang.org/stable/book/index.html",
}, },
{
name: "Javascript",
link: "https://developer.mozilla.org/en-US/docs/Web/JavaScript",
},
{
name: "Python",
link: "https://docs.python.org/3/",
},
],
],
[
"Article links",
[
{
name: "Go and GORM",
link: "https://medium.com/@chaewonkong/learn-go-understanding-and-implementing-foreign-keys-with-gorm-6d7608e1dbf6",
},
{
name: "JWT Auth in GO",
link: "https://medium.com/monstar-lab-bangladesh-engineering/jwt-auth-in-go-dde432440924",
},
{
name: "Websockets in GO",
link: "https://medium.com/@tanngontn/golang-gin-framework-with-normal-websocket-and-websocket-with-producer-is-rabbitmq-guide-93cad7d290f7",
},
],
],
]; ];
</script> </script>
@@ -216,20 +243,10 @@ const article_links = [
<main class="center-content flex-col"> <main class="center-content flex-col">
<div class="background halftone" /> <div class="background halftone" />
<div class="a4page-portrait bdr-1 flex-col relative scroll-y gap"> <div class="a4page-portrait bdr-1 flex-col relative scroll-y gap">
<ToggleLinkTable title="Learning" :linkArr="learning_links" />
<ToggleLinkTable title="Radio" :linkArr="radio_links" />
<ToggleLinkTable title="Hacking" :linkArr="hacking_links" />
<ToggleLinkTable title="Chinese" :linkArr="chinese_links" />
<ToggleLinkTable title="Web Art" :linkArr="art_links" />
<ToggleLinkTable title="Go Docs" :linkArr="go_links" />
<ToggleLinkTable title="Vue Docs" :linkArr="vue_links" />
<ToggleLinkTable title="Job Apps" :linkArr="job_links" />
<ToggleLinkTable title="Social" :linkArr="social_links" />
<ToggleLinkTable title="Other Docs" :linkArr="doc_links" />
<ToggleLinkTable title="Fun Reading" :linkArr="reading_links" />
<ToggleLinkTable <ToggleLinkTable
title="Helpful Articles" v-for="link in links"
:linkArr="article_links" :title="link[0]"
:linkArr="link[1]"
/> />
</div> </div>
</main> </main>