From 818d78413bc1ac0c16c0323bffb029dbacfc5672 Mon Sep 17 00:00:00 2001 From: Didier Date: Fri, 29 Mar 2024 17:54:45 +0100 Subject: [PATCH] fix: grammar and things --- public/index.html | 10 ++++------ public/res/cases.js | 6 +++--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/public/index.html b/public/index.html index 70d4a86..5f6409c 100644 --- a/public/index.html +++ b/public/index.html @@ -11,7 +11,7 @@ -
+
@@ -23,8 +23,8 @@
-

What do we offer?

- We offer a variety of services: +

What does Nebulosus offer?

+ Nebulosus offers a variety of services:
  1. Server Hosting
  2. Website / Application Development
  3. @@ -40,8 +40,6 @@ Software should be intuitive, aware of it's environment. That's what Nebulosus strives for.
    If you want simple, intuitive and reliable software, you're in the right spot. - -

@@ -49,7 +47,7 @@

Contact

- To contact us please use the following form: + To contact me please use the following form:
diff --git a/public/res/cases.js b/public/res/cases.js index f4aca47..94b7aa6 100644 --- a/public/res/cases.js +++ b/public/res/cases.js @@ -1,5 +1,5 @@ class Case { - constructor (name = "Project", description = "This is a project.", url = undefined) { + constructor(name = "Project", description = "This is a project.", url = undefined) { this.name = name; this.description = description; this.url = url; @@ -11,7 +11,7 @@ const CASES = [ const casesButton = document.querySelector("button#cases-button"); const casesDiv = document.querySelector("div#cases"); -if (casesButton && CASES.length > 0) casesButton.hidden = false; +if (casesButton && CASES.length > 0) casesButton.hidden = false; function showCases() { if (!casesButton) return console.log("k"); @@ -22,7 +22,7 @@ function showCases() { CASES.forEach(c => { console.log(c); // a dirty hack :p - list.innerHTML += `
  • <${c.url ? 'a' : 'span'}>${c.name} - ${c.description}
  • `; + list.innerHTML += `
  • <${c.url ? 'a' : 'span'} ${c.url ? 'href="' + c.url + '"' : ''}>${c.name} - ${c.description}
  • `; }); casesDiv.appendChild(list); }