forked from dProgrammingUniversity/capstone-project-for-ai-enhanced-web3-frontend-development-course
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrontend.html
74 lines (68 loc) · 3.27 KB
/
frontend.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Metadata for character set and viewport -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Token Minter dApp</title>
<!-- Tailwind CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Header section -->
<header class="bg-blue-500 text-white py-4">
<h1 class="text-3xl text-center">Welcome to our Token Minter dApp</h1>
<!-- Navigation menu -->
<nav class="text-center">
<ul class="flex justify-center">
<li class="mr-6"><a href="#home">Home</a></li>
<li class="mr-6"><a href="#mint">Mint Tokens</a></li>
<li><a href="#about">About</a></li>
</ul>
</nav>
</header>
<!-- Main content section -->
<main class="container mx-auto py-8">
<!-- Introduction article -->
<article id="home">
<h2 class="text-2xl mb-4">Introduction to Token Minting</h2>
<p>This dApp allows users to create their own tokens on the blockchain, providing a unique and secure way to represent digital assets.</p>
</article>
<!-- Token minting section -->
<section id="mint" class="py-8">
<h2 class="text-2xl mb-4">Mint Your Tokens</h2>
<!-- Token minting form -->
<form action="#" class="space-y-4">
<fieldset>
<legend class="text-xl">Token Minting Information</legend>
<!-- Email input -->
<label for="email" class="block">Enter your email:</label>
<input type="email" id="email" name="email" placeholder="[email protected]" required class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500">
<!-- Token amount input -->
<label for="tokenAmount" class="block">Token amount:</label>
<input type="number" id="tokenAmount" name="tokenAmount" min="1" required class="w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:border-blue-500">
<!-- Mint button -->
<button type="submit" class="w-full bg-blue-500 text-white py-2 rounded-md hover:bg-blue-600 transition duration-300">Mint Tokens</button>
</fieldset>
</form>
</section>
</main>
<!-- Sidebar section -->
<aside class="py-8">
<h3 class="text-2xl mb-4">Learn More:</h3>
<p class="mb-4">Explore more about blockchain technology and token minting:</p>
<ul class="list-disc pl-8">
<li><a href="#">Understanding Blockchain</a></li>
<li><a href="#">How Token Minting Works</a></li>
<li><a href="#">Benefits of Tokenization</a></li>
</ul>
</aside>
</main>
<!-- Footer section -->
<footer class="w-full bg-blue-500 text-white py-4 text-center">
<!-- Contact information -->
<p>Contact us at <a href="mailto:[email protected]">[email protected]</a></p>
</footer>
</body>
</html>