Link the job tracker, activity tracker and USACO from the front page
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
/**
|
/**
|
||||||
* Route `/` — the professional front door. Deliberately plain: a short bio and a
|
* Route `/` — the professional front door. Deliberately plain: a short bio and a
|
||||||
* row of links out to the CV, the personal home page (/stp) and social profiles.
|
* row of links out to the CV, the personal home page (/stp), the projects that
|
||||||
|
* run as their own containers, and social profiles.
|
||||||
* Statically imported by the router (it is the first paint).
|
* Statically imported by the router (it is the first paint).
|
||||||
*/
|
*/
|
||||||
import Link from "@/components/text/Link.vue";
|
import Link from "@/components/text/Link.vue";
|
||||||
@@ -9,6 +10,14 @@ import InlineLink from "@/components/text/InlineLink.vue";
|
|||||||
import Header from "@/components/text/Header.vue";
|
import Header from "@/components/text/Header.vue";
|
||||||
import Paragraph from "@/components/text/Paragraph.vue";
|
import Paragraph from "@/components/text/Paragraph.vue";
|
||||||
|
|
||||||
|
// The projects are nginx routes to other containers, not SPA routes, so they
|
||||||
|
// must be plain hrefs: a RouterLink would resolve them client-side to the 404.
|
||||||
|
const projects = [
|
||||||
|
{ name: "Jobs", href: "/jobs/" },
|
||||||
|
{ name: "Tracker", href: "/tracker/" },
|
||||||
|
{ name: "USACO", href: "/usaco/" },
|
||||||
|
];
|
||||||
|
|
||||||
const links = [
|
const links = [
|
||||||
{ name: "GitHub", href: "https://github.com/SteveThePug" },
|
{ name: "GitHub", href: "https://github.com/SteveThePug" },
|
||||||
{ name: "Gitea", href: "/gitea/explore/repos" },
|
{ name: "Gitea", href: "/gitea/explore/repos" },
|
||||||
@@ -43,6 +52,9 @@ const links = [
|
|||||||
<nav class="navRow flex flex-row flex-wrap gap-4 justify-around">
|
<nav class="navRow flex flex-row flex-wrap gap-4 justify-around">
|
||||||
<Link to="/cv"> CV </Link>
|
<Link to="/cv"> CV </Link>
|
||||||
<Link to="/stp"> STP </Link>
|
<Link to="/stp"> STP </Link>
|
||||||
|
<Link v-for="p in projects" :key="p.name" :href="p.href">
|
||||||
|
{{ p.name }}
|
||||||
|
</Link>
|
||||||
<Link href="mailto:[email protected]"> Email </Link>
|
<Link href="mailto:[email protected]"> Email </Link>
|
||||||
<Link v-for="link in links" :key="link.name" :href="link.href">
|
<Link v-for="link in links" :key="link.name" :href="link.href">
|
||||||
{{ link.name }}
|
{{ link.name }}
|
||||||
|
|||||||
Reference in New Issue
Block a user