Skip to content

Commit

Permalink
deploy: b5e2d5d
Browse files Browse the repository at this point in the history
  • Loading branch information
efinauri committed Jun 27, 2024
0 parents commit a2c07be
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 0 deletions.
Empty file added .nojekyll
Empty file.
73 changes: 73 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Search Card</title>
<script src="https://unpkg.com/[email protected]"></script>
<style>
body {
font-family: Arial, sans-serif;
margin: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
}
form {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
}
input[type="text"] {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
button {
padding: 10px 15px;
background-color: #007bff;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #0056b3;
}
#result {
padding: 20px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #f9f9f9;
}
.card-name {
font-size: 1.5em;
margin-bottom: 10px;
font-weight: bold;
}
.card-types {
font-style: italic;
margin-bottom: 10px;
}
.card-desc {
font-size: 1em;
}
</style>
</head>
<body>
<div class="container">
<h1>Search Card</h1>
<form hx-get="/card" hx-target="#result" hx-swap="innerHTML">
<label for="id">Card ID:</label>
<input type="text" id="id" name="id" required>
<button type="submit">Search</button>
</form>
<div id="result"></div>
</div>
</body>
</html>

0 comments on commit a2c07be

Please sign in to comment.