fix: grammar and things

This commit is contained in:
Didier Slof 2024-03-29 17:54:45 +01:00
parent a117d2e09d
commit 818d78413b
2 changed files with 7 additions and 9 deletions

View file

@ -11,7 +11,7 @@
</head>
<body>
<header>
<header style="display: flex; justify-content: space-between;">
<div class="logo">
<span class="mono">[N]</span>
</div>
@ -23,8 +23,8 @@
<div class="columns">
<div>
<section id="offer">
<h2>What do we offer?</h2>
<span>We offer a variety of services:</span>
<h2>What does Nebulosus offer?</h2>
<span>Nebulosus offers a variety of services:</span>
<ol>
<li><span>Server Hosting</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.
<br />
If you want simple, intuitive and reliable software, you're in the right spot.
</p>
</section>
</div>
@ -49,7 +47,7 @@
<!-- Not done yet :) -->
<!-- Technical question? dev (at) faulty (dot) nl -->
<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">
<input name="name" type="text" placeholder="Name">
<input name="email" type="text" placeholder="E-Mail">

View file

@ -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;
@ -22,7 +22,7 @@ function showCases() {
CASES.forEach(c => {
console.log(c);
// 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);
}