-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
120 lines (101 loc) · 3.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Personal Page</title>
<style>
body {
font-family: 'Montserrat', sans-serif;
margin: 0;
padding: 0;
background-color: #fff;
color: #333;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
header, footer {
background-color: #fff;
color: #333;
text-align: center;
padding: 1em;
width: 100%;
}
section {
max-width: 800px;
margin: 20px;
text-align: center;
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
nav {
background-color: #fff;
color: #333;
padding: 0.5em;
width: 100%;
}
form {
max-width: 600px;
width: 80%;
background-color: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin-top: 20px;
}
input,
textarea {
width: 100%;
padding: 12px;
margin-bottom: 20px;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 6px;
background-color: #fff;
transition: border-color 0.3s;
font-family: 'Montserrat', sans-serif;
}
button {
background-color: #333;
color: #fff;
padding: 15px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 18px;
transition: background-color 0.3s;
}
button:hover {
background-color: #555;
}
#generatedWebsite {
margin-top: 30px;
text-align: left;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<script src="generator.js" defer></script>
</head>
<body>
<h5><p style="text-align:center;">Ready to Showcase Your Work? Create Your Personal Page Now!</p></h5>
<form id="websiteForm">
<p style="text-align:center;">PERSONAL DETAILS</p>
<p style="text-align:center; font-size:small;">We will never sell it</p>
<input type="text" id="name" name="name" placeholder="Your Name" required>
<input type="text" id="hobby" name="hobby" placeholder="Your Hobby" required>
<input type="file" accept="image/*" id="homePhotoUrl" name="homePhotoUrl" required>
<input type="file" accept="image/*" id="aboutPhotoUrl" name="aboutPhotoUrl" required>
<textarea id="bio" name="bio" rows="4" placeholder="Write a brief bio" required></textarea>
<button type="button" onclick="generateWebsite()">Generate Website</button>
</form>
<div id="generatedWebsite"></div>
<script data-name="BMC-Widget" data-cfasync="false" src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js" data-id="ramijar2020" data-description="Support me on Buy me a coffee!" data-message="" data-color="#FF813F" data-position="Right" data-x_margin="18" data-y_margin="18"></script>
<footer>
<h6><p>© 2023 Ram Mijar All rights reserved.</p></h6>
</footer>
</body>
</html>