aboutsummaryrefslogtreecommitdiff
path: root/frontend/ui.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-07-26 21:48:06 +0200
committermetamuffin <metamuffin@disroot.org>2023-07-26 21:48:37 +0200
commit377e503555a9b5feb89e15275f26333545a6e414 (patch)
tree2e0d5907fee87a91799c9388ede8fa28c2c77579 /frontend/ui.ts
parent25699e2d089ab21072e6894c098efea98fc14fa9 (diff)
downloadfastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar
fastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar.bz2
fastbangs-377e503555a9b5feb89e15275f26333545a6e414.tar.zst
rename project and add some more ui
Diffstat (limited to 'frontend/ui.ts')
-rw-r--r--frontend/ui.ts16
1 files changed, 9 insertions, 7 deletions
diff --git a/frontend/ui.ts b/frontend/ui.ts
index 6a254c7..22f9d71 100644
--- a/frontend/ui.ts
+++ b/frontend/ui.ts
@@ -23,7 +23,7 @@ function section_search(engine: string) {
link.id = "search-link"
link.type = "application/opensearchdescription+xml"
link.href = `/search.xml?default=${encodeURIComponent(engine)}`
- link.title = `Projectname (default engine: ${engine})`
+ link.title = `Fastbangs (default engine: ${engine})`
document.head.append(link)
const heading = document.createElement("h1")
@@ -94,11 +94,11 @@ function section_info_search() {
const section = document.createElement("section")
section.classList.add("info")
- const heading = document.createElement("h1")
- heading.textContent = "Heading"
+ const heading = document.createElement("h2")
+ heading.textContent = "Setup"
const info = document.createElement("p")
- info.textContent = `To install this as the default search engine, select "Add <name>" in the context-menu of the URL-bar.`
+ info.textContent = `To install this as the default search engine, select "Add Fastbangs" in the context-menu of the URL-bar.`
section.append(heading, info)
return section
@@ -109,11 +109,13 @@ function section_info_start() {
section.classList.add("info")
const heading = document.createElement("h1")
- heading.textContent = "Projectname"
+ heading.textContent = "Fastbangs"
const info = document.createElement("p")
- info.textContent = "This is where one would write what this application does..."
-
+ info.textContent = `
+ This application provides a way to (mostly) locally handle search bangs.
+ First select a default engine to use, then register this page as a search in your browser
+ `
section.append(heading, info)
return section
}