Initial commit
This commit is contained in:
14
frontend/index.html
Normal file
14
frontend/index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Tauri App</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello, Tauri!</h1>
|
||||
<button id="greet-btn">Greet</button>
|
||||
<script src="script.js"></script>
|
||||
</body>
|
||||
</html>
|
3
frontend/main.js
Normal file
3
frontend/main.js
Normal file
@@ -0,0 +1,3 @@
|
||||
document.getElementById("greet-btn").addEventListener("click", () => {
|
||||
alert("Hello from Tauri!");
|
||||
});
|
10
frontend/style.css
Normal file
10
frontend/style.css
Normal file
@@ -0,0 +1,10 @@
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
}
|
Reference in New Issue
Block a user