diff options
| author | Maksymilian Jopek <maks@jopek.eu> | 2021-10-14 23:32:50 +0200 |
|---|---|---|
| committer | Maksymilian Jopek <maks@jopek.eu> | 2021-10-14 23:32:50 +0200 |
| commit | 94ca5987544009f2da17fe27abc6c9de380d34fd (patch) | |
| tree | 5b35293f5d9c76a8e953b5d04391aed15e9fb24d /src | |
| download | isiqandisi-94ca5987544009f2da17fe27abc6c9de380d34fd.tar.gz isiqandisi-94ca5987544009f2da17fe27abc6c9de380d34fd.tar.zst isiqandisi-94ca5987544009f2da17fe27abc6c9de380d34fd.zip | |
Initial commit - config with index.hmtl
Diffstat (limited to 'src')
| -rw-r--r-- | src/consts.ts | 0 | ||||
| -rw-r--r-- | src/index.ts | 2 | ||||
| -rw-r--r-- | src/main.ts | 1 | ||||
| -rw-r--r-- | src/styles/index.css | 18 | ||||
| -rw-r--r-- | src/styles/main.css | 0 | ||||
| -rw-r--r-- | src/templates/index.html | 20 | ||||
| -rw-r--r-- | src/templates/main.html | 18 |
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> |
