summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/consts.ts0
-rw-r--r--src/index.ts2
-rw-r--r--src/main.ts1
-rw-r--r--src/styles/index.css18
-rw-r--r--src/styles/main.css0
-rw-r--r--src/templates/index.html20
-rw-r--r--src/templates/main.html18
7 files changed, 59 insertions, 0 deletions
diff --git a/src/consts.ts b/src/consts.ts
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/consts.ts
diff --git a/src/index.ts b/src/index.ts
new file mode 100644
index 0000000..00391b5
--- /dev/null
+++ b/src/index.ts
@@ -0,0 +1,2 @@
+import "@/styles/index.css";
+
diff --git a/src/main.ts b/src/main.ts
new file mode 100644
index 0000000..a955f0e
--- /dev/null
+++ b/src/main.ts
@@ -0,0 +1 @@
+console.log("main.ts")
diff --git a/src/styles/index.css b/src/styles/index.css
new file mode 100644
index 0000000..99fef17
--- /dev/null
+++ b/src/styles/index.css
@@ -0,0 +1,18 @@
+body {
+ background-color: black;
+ color: white;
+ font-size: 1.3em
+}
+div {
+ display: flex;
+ height: 95vh;
+ align-items: center;
+ justify-content: center;
+}
+input[type="text"] {
+ margin: 5px;
+}
+button {
+ background-color: rgba(0, 0, 0, 0);
+ border-color: rgba(0, 0, 0, 0);
+}
diff --git a/src/styles/main.css b/src/styles/main.css
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/styles/main.css
diff --git a/src/templates/index.html b/src/templates/index.html
new file mode 100644
index 0000000..0208796
--- /dev/null
+++ b/src/templates/index.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <!-- Required meta tags -->
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+
+ <!-- Added automatically by webpack -->
+</head>
+
+<body>
+ <div>
+ <label for="name">Igama lefriji yakho:</label>
+ <input name="name" id="name" type="text">
+ <button type="button" onclick="goToFridge(event)">👍</button>
+ </div>
+</body>
+
+</html>
diff --git a/src/templates/main.html b/src/templates/main.html
new file mode 100644
index 0000000..aceeb0d
--- /dev/null
+++ b/src/templates/main.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+ <!-- Required meta tags -->
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+
+ <link rel="icon" href="<%= htmlWebpackPlugin.options.staticPath %>/favicon.ico" />
+
+ <title>Hello, world!</title>
+</head>
+
+<body>
+ main
+</body>
+
+</html>