Merge branch 'docks54-see-also'

This commit is contained in:
Yanick Champoux 2023-05-05 12:02:48 -04:00
commit 504f20475c
3 changed files with 31 additions and 1 deletions

View File

@ -1,8 +1,12 @@
<nav class="m l left"> <nav class="m l left">
<a> <a href="/about">
<i>Question_Mark</i> <i>Question_Mark</i>
<span>About</span> <span>About</span>
</a> </a>
<a href="/about/see-also">
<i>Read_more</i>
<span>Other resources</span>
</a>
<!-- TODO <!-- TODO
<a> <a>
<i>Quiz</i> <i>Quiz</i>

View File

@ -0,0 +1,9 @@
import { render, fireEvent, screen, getByText } from "@testing-library/svelte";
import "@testing-library/jest-dom";
import Layout from "./+layout.svelte";
test("we have a see-also page", () => {
const { getByText } = render(Layout);
expect(getByText("Other resources")).toBeInTheDocument();
});

View File

@ -0,0 +1,17 @@
<h2>Other Full Thrust resources out there</h2>
<ul>
<li>
<a href="http://shipyard.mechworld.de/" target="_new"
>Full Thrust Shipyard</a
>, by mechworld.
</li>
</ul>
<style>
ul {
font-size: var(--font-scale-11);
margin-top: 2em;
margin-left: 2em;
}
</style>