forked from nebulosus/web
fix: grammar and things
This commit is contained in:
parent
a117d2e09d
commit
818d78413b
2 changed files with 7 additions and 9 deletions
|
@ -11,7 +11,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header>
|
<header style="display: flex; justify-content: space-between;">
|
||||||
<div class="logo">
|
<div class="logo">
|
||||||
<span class="mono">[N]</span>
|
<span class="mono">[N]</span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div>
|
<div>
|
||||||
<section id="offer">
|
<section id="offer">
|
||||||
<h2>What do we offer?</h2>
|
<h2>What does Nebulosus offer?</h2>
|
||||||
<span>We offer a variety of services:</span>
|
<span>Nebulosus offers a variety of services:</span>
|
||||||
<ol>
|
<ol>
|
||||||
<li><span>Server Hosting</span></li>
|
<li><span>Server Hosting</span></li>
|
||||||
<li><span>Website / Application Development</span></li>
|
<li><span>Website / Application Development</span></li>
|
||||||
|
@ -40,8 +40,6 @@
|
||||||
Software should be intuitive, aware of it's environment. That's what Nebulosus strives for.
|
Software should be intuitive, aware of it's environment. That's what Nebulosus strives for.
|
||||||
<br />
|
<br />
|
||||||
If you want simple, intuitive and reliable software, you're in the right spot.
|
If you want simple, intuitive and reliable software, you're in the right spot.
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,7 +47,7 @@
|
||||||
<!-- Not done yet :) -->
|
<!-- Not done yet :) -->
|
||||||
<!-- Technical question? dev (at) faulty (dot) nl -->
|
<!-- Technical question? dev (at) faulty (dot) nl -->
|
||||||
<h2>Contact</h2>
|
<h2>Contact</h2>
|
||||||
<span>To contact us please use the following form:</span>
|
<span>To contact me please use the following form:</span>
|
||||||
<form action="/api/form">
|
<form action="/api/form">
|
||||||
<input name="name" type="text" placeholder="Name">
|
<input name="name" type="text" placeholder="Name">
|
||||||
<input name="email" type="text" placeholder="E-Mail">
|
<input name="email" type="text" placeholder="E-Mail">
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
class Case {
|
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.name = name;
|
||||||
this.description = description;
|
this.description = description;
|
||||||
this.url = url;
|
this.url = url;
|
||||||
|
@ -11,7 +11,7 @@ const CASES = [
|
||||||
|
|
||||||
const casesButton = document.querySelector("button#cases-button");
|
const casesButton = document.querySelector("button#cases-button");
|
||||||
const casesDiv = document.querySelector("div#cases");
|
const casesDiv = document.querySelector("div#cases");
|
||||||
if (casesButton && CASES.length > 0) casesButton.hidden = false;
|
if (casesButton && CASES.length > 0) casesButton.hidden = false;
|
||||||
|
|
||||||
function showCases() {
|
function showCases() {
|
||||||
if (!casesButton) return console.log("k");
|
if (!casesButton) return console.log("k");
|
||||||
|
@ -22,7 +22,7 @@ function showCases() {
|
||||||
CASES.forEach(c => {
|
CASES.forEach(c => {
|
||||||
console.log(c);
|
console.log(c);
|
||||||
// a dirty hack :p
|
// a dirty hack :p
|
||||||
list.innerHTML += `<li><${c.url ? 'a' : 'span'}><strong>${c.name}<strong> - ${c.description}</${c.url ? 'a' : 'span'}></li>`;
|
list.innerHTML += `<li><${c.url ? 'a' : 'span'} ${c.url ? 'href="' + c.url + '"' : ''}><strong>${c.name}<strong> - ${c.description}</${c.url ? 'a' : 'span'}></li>`;
|
||||||
});
|
});
|
||||||
casesDiv.appendChild(list);
|
casesDiv.appendChild(list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue