Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
|
@@ -42,6 +42,7 @@ app.get("/", async (req, res) => {
|
|
| 42 |
<html>
|
| 43 |
<head>
|
| 44 |
<meta charset="UTF-8" />
|
|
|
|
| 45 |
<title>IQC Canvas Premium</title>
|
| 46 |
|
| 47 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap" rel="stylesheet">
|
|
@@ -61,49 +62,55 @@ body {
|
|
| 61 |
justify-content: center;
|
| 62 |
align-items: center;
|
| 63 |
color: white;
|
|
|
|
| 64 |
}
|
| 65 |
|
|
|
|
| 66 |
.container {
|
| 67 |
-
width:
|
| 68 |
-
max-width:
|
| 69 |
-
padding: 40px;
|
| 70 |
-
border-radius: 25px;
|
| 71 |
backdrop-filter: blur(25px);
|
| 72 |
background: rgba(255,255,255,0.05);
|
| 73 |
box-shadow: 0 0 60px rgba(0,0,0,0.6);
|
| 74 |
text-align: center;
|
|
|
|
| 75 |
}
|
| 76 |
|
|
|
|
| 77 |
h1 {
|
| 78 |
-
font-size: 28px;
|
| 79 |
font-weight: 800;
|
| 80 |
-
margin-bottom: 30px;
|
| 81 |
background: linear-gradient(90deg,#00f5ff,#7b2ff7);
|
| 82 |
-webkit-background-clip: text;
|
| 83 |
-webkit-text-fill-color: transparent;
|
| 84 |
}
|
| 85 |
|
|
|
|
| 86 |
input {
|
| 87 |
width: 100%;
|
| 88 |
-
padding: 14px;
|
| 89 |
-
margin:
|
| 90 |
-
border-radius: 15px;
|
| 91 |
border: none;
|
| 92 |
outline: none;
|
| 93 |
background: rgba(255,255,255,0.1);
|
| 94 |
color: white;
|
| 95 |
-
font-size: 14px;
|
| 96 |
}
|
| 97 |
|
|
|
|
| 98 |
button {
|
| 99 |
width: 100%;
|
| 100 |
-
padding: 14px;
|
| 101 |
margin-top: 15px;
|
| 102 |
-
border-radius: 15px;
|
| 103 |
border: none;
|
| 104 |
cursor: pointer;
|
| 105 |
font-weight: 600;
|
| 106 |
-
font-size: 15px;
|
| 107 |
background: linear-gradient(90deg,#00f5ff,#7b2ff7);
|
| 108 |
color: white;
|
| 109 |
transition: 0.3s;
|
|
@@ -114,22 +121,43 @@ button:hover {
|
|
| 114 |
box-shadow: 0 0 25px #7b2ff7;
|
| 115 |
}
|
| 116 |
|
|
|
|
| 117 |
.preview {
|
| 118 |
-
margin-top: 30px;
|
| 119 |
display: none;
|
| 120 |
}
|
| 121 |
|
| 122 |
.preview img {
|
| 123 |
-
|
| 124 |
-
|
|
|
|
|
|
|
| 125 |
box-shadow: 0 0 40px rgba(0,0,0,0.6);
|
|
|
|
| 126 |
}
|
| 127 |
|
|
|
|
| 128 |
.footer {
|
| 129 |
-
margin-top: 25px;
|
| 130 |
-
font-size: 12px;
|
| 131 |
opacity: 0.6;
|
| 132 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 133 |
</style>
|
| 134 |
</head>
|
| 135 |
|
|
|
|
| 42 |
<html>
|
| 43 |
<head>
|
| 44 |
<meta charset="UTF-8" />
|
| 45 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 46 |
<title>IQC Canvas Premium</title>
|
| 47 |
|
| 48 |
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap" rel="stylesheet">
|
|
|
|
| 62 |
justify-content: center;
|
| 63 |
align-items: center;
|
| 64 |
color: white;
|
| 65 |
+
padding: 20px;
|
| 66 |
}
|
| 67 |
|
| 68 |
+
/* ================= RESPONSIVE CONTAINER ================= */
|
| 69 |
.container {
|
| 70 |
+
width: 100%;
|
| 71 |
+
max-width: 650px;
|
| 72 |
+
padding: clamp(20px, 5vw, 40px);
|
| 73 |
+
border-radius: clamp(15px, 3vw, 25px);
|
| 74 |
backdrop-filter: blur(25px);
|
| 75 |
background: rgba(255,255,255,0.05);
|
| 76 |
box-shadow: 0 0 60px rgba(0,0,0,0.6);
|
| 77 |
text-align: center;
|
| 78 |
+
transition: 0.3s ease;
|
| 79 |
}
|
| 80 |
|
| 81 |
+
/* ================= RESPONSIVE TITLE ================= */
|
| 82 |
h1 {
|
| 83 |
+
font-size: clamp(20px, 5vw, 28px);
|
| 84 |
font-weight: 800;
|
| 85 |
+
margin-bottom: clamp(20px, 4vw, 30px);
|
| 86 |
background: linear-gradient(90deg,#00f5ff,#7b2ff7);
|
| 87 |
-webkit-background-clip: text;
|
| 88 |
-webkit-text-fill-color: transparent;
|
| 89 |
}
|
| 90 |
|
| 91 |
+
/* ================= INPUT ================= */
|
| 92 |
input {
|
| 93 |
width: 100%;
|
| 94 |
+
padding: clamp(10px, 3vw, 14px);
|
| 95 |
+
margin: 10px 0;
|
| 96 |
+
border-radius: clamp(10px, 3vw, 15px);
|
| 97 |
border: none;
|
| 98 |
outline: none;
|
| 99 |
background: rgba(255,255,255,0.1);
|
| 100 |
color: white;
|
| 101 |
+
font-size: clamp(13px, 3.5vw, 14px);
|
| 102 |
}
|
| 103 |
|
| 104 |
+
/* ================= BUTTON ================= */
|
| 105 |
button {
|
| 106 |
width: 100%;
|
| 107 |
+
padding: clamp(10px, 3vw, 14px);
|
| 108 |
margin-top: 15px;
|
| 109 |
+
border-radius: clamp(10px, 3vw, 15px);
|
| 110 |
border: none;
|
| 111 |
cursor: pointer;
|
| 112 |
font-weight: 600;
|
| 113 |
+
font-size: clamp(14px, 3.5vw, 15px);
|
| 114 |
background: linear-gradient(90deg,#00f5ff,#7b2ff7);
|
| 115 |
color: white;
|
| 116 |
transition: 0.3s;
|
|
|
|
| 121 |
box-shadow: 0 0 25px #7b2ff7;
|
| 122 |
}
|
| 123 |
|
| 124 |
+
/* ================= PREVIEW ================= */
|
| 125 |
.preview {
|
| 126 |
+
margin-top: clamp(20px, 4vw, 30px);
|
| 127 |
display: none;
|
| 128 |
}
|
| 129 |
|
| 130 |
.preview img {
|
| 131 |
+
width: 100%;
|
| 132 |
+
max-width: 350px;
|
| 133 |
+
height: auto;
|
| 134 |
+
border-radius: clamp(15px, 3vw, 20px);
|
| 135 |
box-shadow: 0 0 40px rgba(0,0,0,0.6);
|
| 136 |
+
transition: 0.3s;
|
| 137 |
}
|
| 138 |
|
| 139 |
+
/* ================= FOOTER ================= */
|
| 140 |
.footer {
|
| 141 |
+
margin-top: clamp(15px, 4vw, 25px);
|
| 142 |
+
font-size: clamp(11px, 3vw, 12px);
|
| 143 |
opacity: 0.6;
|
| 144 |
}
|
| 145 |
+
|
| 146 |
+
/* ================= EXTRA BREAKPOINTS ================= */
|
| 147 |
+
|
| 148 |
+
/* Tablet */
|
| 149 |
+
@media (min-width: 768px) {
|
| 150 |
+
.container {
|
| 151 |
+
max-width: 550px;
|
| 152 |
+
}
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
/* Desktop */
|
| 156 |
+
@media (min-width: 1200px) {
|
| 157 |
+
.container {
|
| 158 |
+
max-width: 650px;
|
| 159 |
+
}
|
| 160 |
+
}
|
| 161 |
</style>
|
| 162 |
</head>
|
| 163 |
|