Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
strukturart committed Oct 2, 2024
1 parent 046c52b commit 7db8e4d
Show file tree
Hide file tree
Showing 75 changed files with 6,461 additions and 8 deletions.
15 changes: 9 additions & 6 deletions application/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -897,17 +897,22 @@ var article = {
},
},
[
m("time", dayjs(h.isoDate).format("DD MMM YYYY")),
m(
"h2",
"time",
{
id: "top",
oncreate: () => {
setTimeout(() => {
document.querySelector("#top").scrollIntoView();
}, 1000);
},
},
dayjs(h.isoDate).format("DD MMM YYYY")
),
m(
"h2",
{
id: "top",
},
h.title
),
m("div", { class: "text" }, [m.trust(clean(h.content))]),
Expand Down Expand Up @@ -2091,9 +2096,7 @@ document.addEventListener("DOMContentLoaded", function (e) {

case "Backspace":
if (r.startsWith("/article")) {
history.back();
const index = m.route.param("index"); // Get 'index' param from the current URL
console.log(index);
const index = m.route.param("index");
m.route.set("/start?index=" + index);
}

Expand Down
2 changes: 1 addition & 1 deletion application/sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ self.onsystemmessage = (evt) => {
} catch (e) {}
};

const CACHE_NAME = "pwa-cache-v0.1014";
const CACHE_NAME = "pwa-cache-v0.1015";
const urlsToCache = [
"/assets/icons/link.svg",
"/assets/icons/option.svg",
Expand Down
Binary file added docs/Roboto-Regular.4f1a9903.ttf
Binary file not shown.
Binary file added docs/assets/fonts/Roboto-Regular.ttf
Binary file not shown.
56 changes: 56 additions & 0 deletions docs/assets/icons/2-5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
81 changes: 81 additions & 0 deletions docs/assets/icons/23EF.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions docs/assets/icons/25B6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/assets/icons/2605.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions docs/assets/icons/2B07.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 7db8e4d

Please sign in to comment.