chore: add dancing baby and sample

This commit is contained in:
Sosokker 2025-01-14 15:24:28 +07:00
parent 54fd126a8f
commit bef6e9a6c1
3 changed files with 18 additions and 1 deletions

BIN
samples/sample-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
static/baby-dance.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@ -19,7 +19,11 @@
</style>
</head>
<body>
<h1>Image Caption Generator</h1>
<div id="title-section">
<img src="static/baby-dance.gif" />
<h1>Image Caption Generator</h1>
<img src="static/baby-dance.gif" />
</div>
<form id="uploadForm">
<label for="file">Upload an image:</label>
<input type="file" id="file" name="file" accept="image/*" required />
@ -138,5 +142,18 @@
font-size: 16px;
color: #007bff;
}
#title-section {
display: flex;
align-items: center;
justify-content: center;
gap: 10px; /* Space between title and GIF */
margin-bottom: 20px;
}
#title-section img {
width: 75px;
height: 75px;
border-radius: 50%;
}
</style>
</html>