You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
893 B
32 lines
893 B
import { h } from "../jsx.ts";
|
|
import watt, { watt as originalWatt } from "../wattpad.ts";
|
|
import Base from "../templates/Base.tsx";
|
|
|
|
import Script from "../components/Script.tsx";
|
|
import HistoryScript from "../scripts/History.ts";
|
|
|
|
function search() {
|
|
console.log(document.getElementById("query"));
|
|
}
|
|
|
|
export default (params: URLSearchParams) => {
|
|
return (
|
|
<Base
|
|
title="History"
|
|
description="Previously read stories."
|
|
stylepath="css/index.scss"
|
|
>
|
|
<h1>Previously-read stories</h1>
|
|
<button
|
|
type="button"
|
|
style="border-radius: 0.25em;margin-bottom:0.5em;"
|
|
id="clear-button"
|
|
>
|
|
Clear History
|
|
</button>
|
|
<Script function={HistoryScript} />
|
|
<div id="stories" class="stories" />
|
|
</Base>
|
|
);
|
|
};
|