-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
121 lines (116 loc) · 3.62 KB
/
index.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IMAGENATION</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- Header -->
<header>
<h1 class="heading"><a href="#">IMAGENATION</a></h1>
<!-- Navigation menu -->
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="./pages/aboutUs/aboutUs.html">About</a></li>
<li><a href="./pages/contact/contact.html">Contact us</a></li>
</ul>
</nav>
</header>
<main>
<!-- Content -->
<div class="content">
<div class="content_p">
<h1>Generate images from text</h1>
<p>
Enter a text prompt to generate an image. Get your api key by
visiting the Stable Diffusion link below.
</p>
<p class="apiLinks">
<!-- <a
href="https://stablediffusionapi.com/settings/api"
target="_blank"
>
<li>Stable Diffusion</li></a
> -->
<li class="api-link">
<a
href="https://stablediffusionapi.com/settings/api"
target="_blank"
>Stable Diffusion API link</a
>
</li>
</p>
</div>
<div class="imagesDisplay"></div>
<div class="responsiveImagesDisplay"></div>
</div>
<!-- Display images -->
<div class="imgContainer"></div>
<!-- Input area -->
<form>
<div class="prompts-key">
<button class="surpriseMeBtn">Surprise me</button>
<div class="apiContainer">
<div class="apiKeyContainer">
<label for="input">Enter your API key here :</label>
<input type="text" name="key" id="key" placeholder="Enter you API key here" required />
</div>
</div>
</div>
<div class="textarea">
<textarea
placeholder="Enter text prompt here"
name="input"
id="input"
cols="60"
rows="1"
required
></textarea>
<button type="submit" id="submit">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 16 16"
fill="none"
class="h-4 w-4 m-1 md:m-0"
stroke-width="2"
>
<path
d="M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z"
fill="currentColor"
></path>
</svg>
</button>
<div class="imgLoader">
<img src="./assets/loader.svg" alt="loading" title="loading" />
</div>
</div>
</form>
</main>
<!-- Footer -->
<footer class="footer">
<!-- Footer goes here -->
<p class="footer_text-1">
Made with ❤️ by
<a href="pages/aboutUs/aboutUs.html">Team Imagenation</a>
</p>
<a
href="https://github.com/rishuraj1/Imagenationproject"
target="_blank"
class="footer__bottom--link"
><i class="fa fa-github"></i
></a>
<p class="footer_text-2">
© 2023 Imagenation | Dumka Engineering College
</p>
</footer>
<script></script>
<script type="module" src="script.js"></script>
</body>
</html>