style: Style adjustments, headings, search result etc. #20

Merged
timharek merged 14 commits from style-layout-changes into main 2024-04-02 19:14:06 +00:00
3 changed files with 15 additions and 1 deletions
Showing only changes of commit 40e3025af4 - Show all commits

9
components/Footer.tsx Normal file
View File

@ -0,0 +1,9 @@
import config from "../deno.json" with { type: "json" };
export default function Footer() {
return (
<div className="mt-4 border-t-2 pt-4">
<a class="text-blue-500 hover:underline" href={config.source}>Kildekode</a>
</div>
);
}

View File

@ -1,5 +1,8 @@
{ {
"lock": false, "lock": false,
"name": "NRSS",
"source": "https://github.com/olaven/NRSS",
"author": " Olav Sundfør <olav@sundfoer.com>",
"tasks": { "tasks": {
"start": "deno run -A --watch=static/,routes/ dev.ts", "start": "deno run -A --watch=static/,routes/ dev.ts",
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx" "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx"
@ -35,4 +38,4 @@
] ]
} }
} }
} }

View File

@ -1,5 +1,6 @@
import { Head } from "$fresh/runtime.ts"; import { Head } from "$fresh/runtime.ts";
import { Handlers, PageProps } from "$fresh/server.ts"; import { Handlers, PageProps } from "$fresh/server.ts";
import Footer from "../components/Footer.tsx";
import Header from "../components/Header.tsx"; import Header from "../components/Header.tsx";
import Search from "../components/Search.tsx"; import Search from "../components/Search.tsx";
import SeriesCard from "../components/SeriesCard.tsx"; import SeriesCard from "../components/SeriesCard.tsx";
@ -68,6 +69,7 @@ export default function Home({ data }: PageProps<HandlerData>) {
</a>{" "} </a>{" "}
for en oversikt over hvordan det gjøres i populære podcastspillere. for en oversikt over hvordan det gjøres i populære podcastspillere.
</p> </p>
<Footer />
</div> </div>
</> </>
); );