disclaimer about code that is not mine

This commit is contained in:
2025-02-19 00:35:08 -05:00
parent 0d30048b10
commit 482f5f90c0
11 changed files with 30 additions and 69 deletions

View File

@@ -9,6 +9,9 @@ import dayjs from "dayjs";
import "../css/prism-nord.css";
import type { Post } from "~/types";
/*
* Code from andii.dev
*/
const Blog = (props: RouteSectionProps<unknown>) => {
const meta = () =>
posts.find((p) => props.location.pathname.endsWith(p.slug)) as Post;

View File

@@ -1,6 +1,9 @@
import { For } from "solid-js";
import { tags } from "~/data/tags";
/*
* Code from andii.dev
*/
const Tags = () => {
return (
<div>

View File

@@ -4,6 +4,9 @@ import { posts } from "~/data/posts";
import { Posts } from "~/components/Posts";
import { tags } from "~/data/tags";
/*
* Code from andii.dev
*/
const TagId: Component<RouteSectionProps<unknown>> = (props) => {
const tag = () => tags[props.params.id];
return (