add new page links and remove unused templates, add icon for external link

This commit is contained in:
elisejakob
2024-06-24 02:15:22 +02:00
parent 62ecffd274
commit b1f3db6a42
7 changed files with 26 additions and 231 deletions

View File

@ -1,6 +1,10 @@
import styles from "./icon.module.scss";
export default function Icon({ type }: { type?: "doc" | "arrow" }) {
export default function Icon({
type,
}: {
type?: "doc" | "arrow" | "externalLink";
}) {
return (
<div className={styles.icon}>
{type === "doc" && (
@ -12,6 +16,7 @@ export default function Icon({ type }: { type?: "doc" | "arrow" }) {
</svg>
)}
{type === "arrow" && <div>&rarr;</div>}
{type === "externalLink" && <div>&#8599;</div>}
{!type && (
<div>
<svg