summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/CMakeLists.txt9
-rw-r--r--web/hugo.toml2
-rw-r--r--web/index.html27
-rw-r--r--web/layouts/baseof.html11
-rw-r--r--web/layouts/home.html3
-rw-r--r--web/meson.build6
6 files changed, 33 insertions, 25 deletions
diff --git a/web/CMakeLists.txt b/web/CMakeLists.txt
deleted file mode 100644
index 0cdb498..0000000
--- a/web/CMakeLists.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-cmake_minimum_required(VERSION 3.10)
-
-include(hugo)
-
-hugo_site(
- "website"
- "${CMAKE_CURRENT_SOURCE_DIR}"
- "${CMAKE_CURRENT_BINARY_DIR}/public"
-)
diff --git a/web/hugo.toml b/web/hugo.toml
deleted file mode 100644
index 493ec29..0000000
--- a/web/hugo.toml
+++ /dev/null
@@ -1,2 +0,0 @@
-title = 'IoT contact'
-disableKinds = ["taxonomy", "RSS", "sitemap"]
diff --git a/web/index.html b/web/index.html
new file mode 100644
index 0000000..1f23096
--- /dev/null
+++ b/web/index.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" type="text/css" href="simple.css">
+ <title>IoT contact</title>
+ </head>
+ <body>
+ <main>
+ <h1>IoT contact</h1>
+
+ <h4>Printed circuit board</h4>
+ <ul>
+ <li><a href="schematic.pdf">schematic.pdf</a></li>
+ <li><a href="bill-of-materials.csv">bill-of-materials.csv</a></li>
+ </ul>
+
+ <h4>Firmware</h4>
+ <ul>
+ <li><a href="application.signed.bin">application.signed.bin</a></li>
+ <li><a href="bootloader.bin">bootloader.bin</a></li>
+ <li><a href="simulation-linux-amd64.exe">simulation-linux-amd64.exe</a></li>
+ </ul>
+ </main>
+ </body>
+</html>
diff --git a/web/layouts/baseof.html b/web/layouts/baseof.html
deleted file mode 100644
index 983e6e1..0000000
--- a/web/layouts/baseof.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>{{ .Site.Title }}</title>
- </head>
- <body>
- {{ block "main" . }}{{end}}
- </body>
-</html>
diff --git a/web/layouts/home.html b/web/layouts/home.html
deleted file mode 100644
index 5425ac9..0000000
--- a/web/layouts/home.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{{- define "main" -}}
-<h1>{{ .Site.Title }}</h1>
-{{- end -}}
diff --git a/web/meson.build b/web/meson.build
new file mode 100644
index 0000000..f8c2024
--- /dev/null
+++ b/web/meson.build
@@ -0,0 +1,6 @@
+website = fs.copyfile(
+ meson.current_source_dir() / 'index.html',
+ 'index.html',
+ install: true,
+ install_dir: '/',
+)