Dashboard Temp Share Shortlinks Frames API

HTMLify

needhelp.html
Views: 535 | Author: amar
  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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>quoteby Amar</title>
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
    <style>
    body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    flex-direction: column;
    min-height: 100vh;
    background-color: #FAF0E6; /* Linen */
    background-image: url('https://htmlify.artizote.com/abh/AI_Megpoid_GUMI_transparent.png'); /* Background image ka path */
    background-size: cover; /* Image ko poore background mein fit karne ke liye */
    background-repeat: no-repeat;
    background-size: 120%;
    background-position: flex-start; /* Image ko center mein rakhne ke liye */
    /*background-position-x: 150px;
    background-position-y: 250px;*/
    background-blend-mode: overlay; /* Color aur image ko milane ke liye blend mode */
    color: #4B0082; /* Indigo */
    margin: 10%; /* Header height के बराबर padding */
}
main {
   
   /*  display: block; Use flexbox layout */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    /*min-height: 100vh; /* Full height for centering */
    position: relative; /* Allows layering */
    max-width: 40%;
    height: auto;


}

table > tr > td {
    padding: 30%;
}
.quote-container, .quote-week, .quote-month, .about, .contact {
    width: 600px; /* Fixed width for each quote container */
    max-width: 100%; /* Make it responsive */
    align-content: flex-start;
    background-color: rgba(255, 239, 213, 0.9); /* Semi-transparent background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(66, 66, 66, 0.9);
    padding: 20px; /* Increased padding for better spacing */
    text-align: center; /* Center text */
    margin: 20px 0; /* Margin for vertical spacing */
    z-index: 1; /* Ensure quote containers are above the background */
    align-items: center;
}
        .background-image {
            max-width: 100%;
        }


        .heart {
            font-size: 25px;
            color: #bbb; /* Default color */
            cursor: pointer;
            transition: color 0.3s;
        }
        .liked {
            color: #e74c3c; /* Instagram-like red color */
        }
        nav ul {
            list-style-type: none;
            padding: 0;
            margin: 10px 0;
        }
        nav ul li {
            display: inline;
            margin: 0 15px;
        }
        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.2s ease;
        }
        nav ul li a:hover {
            color: #FFD700; /* Gold */
        }
        .quote-container, .quote-week, .quote-month, .about, .contact {
            width: 600px;
            max-width: 600px;
            background-color: #FFEFD5; /* PapayaWhip */
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(66, 66, 66, 0.9);
            padding: 10px;
            text-align: center;
            margin: 20px auto;
            transition: box-shadow 1.5s ease, border 1.5s ease;
            border: 3px solid transparent;
            animation: fadeIn 1s ease-in-out;
        }
        .author {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            font-weight: 400;
            color: #333;
            margin-top: 10px;
            text-align: center;
        }
       
       
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
   


     footer {
            background-image: linear-gradient(to right, #355c7d, #6C5B7F); /* Slate Blue to Purple */
            color: white;
            text-align: center;
            margin: 0%;
            padding: 10px 0;
            width: 100%;
            bottom: 0;
            
        }
        
 header {
            background-image: linear-gradient(to right, #6C5B7F, #C06C84); /* Purple to Rose */
            color: white;
            padding: 0;
            margin: 0;
            text-align: center;
            font: 'Montserrat', sans-serif;
            size: 150%;
            width: 100%;
            top: 0;

            
    }

    

 </style>
  </head>
   <body>
    <header>
        <h1>quote by Amar <i class="fas fa-lightbulb"></i></h1>
        <nav>
            <ul>
                <li><a href="#quote">Today's quote </a></li>
                <li><a href="#quote-week">quote of the Week</a></li>
                <li><a href="#quote-month">quote of the Month</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#contact">Contact</a></li>
            </ul>
        </nav>
    </header>
<table>
    <tr><td>
 <img src="https://htmlify.artizote.com/abh/AI_Megpoid_GUMI_transparent.png" alt="Background Image" class="background-image">
 </td>
 <td>
    <main>

 <body>
  
    <div class="quote-container" id="quote">
        <h2>Today's quote</h2>
        <p class="quote-text">Death is the premium version of sleep.</p>
        <div>
            <i id="likeBtn1" class="heart fas fa-heart"></i>
            <span id="likeCount1">0</span> 
            <p class="author">By Immortal & Amar</p>
        </div>
    </div>

    <div class="quote-week" id="quote-week">
        <h2>Quote of the Week</h2>
        <p class="quote-text">"Nothing is nice."</p>
        <div>
            <i id="likeBtn2" class="heart fas fa-heart"></i>
            <span id="likeCount2">0</span> 
            <p class="author">By Immortal & Amar</p>
        </div>
    </div>

    <div class="quote-month" id="quote-month">
        <h2>Quote of the Month</h2>
        <p class="quote-text">"Making a billion with a million is easier than making a thousand with nothing."</p>
        <div>
            <i id="likeBtn3" class="heart fas fa-heart"></i>
            <span id="likeCount3">0</span> 
            <p class="author">By Immortal & Amar</p>
        </div>
    </div> 
</main>
</td>
</tr>
</table>




    <div class="about" id="about">
        <h2>About This Series</h2>
        <p>This series aims to provide insightful quoteand knowledge bites that can inspire and empower individuals. Our mission is to spread wisdom in a fun and engaging manner.</p>
    </div>

    <div class="contact" id="contact">
        <h2>Contact Us</h2>
        <p>If you have any suggestions or contributions, feel free to reach out! Email us at: <a href="mailto:info@quotebyamar.com">info@quotebyamar.com</a></p>
    </div>

</body>





























      





    
 
           <footer>
        <div style="display: inline-block; justify-content: space-between; align-items: center; padding: 10px 20px;">
            <a href="https://twitter.com/pokemon__meme" target="_blank">
                <img src="https://htmlify.artizote.com/amar/X_logo_2023_(white).png" alt="Twitter" style="width: 50px; height: 50px;">
            </a>
            <a href="https://buymeacoffee.com/pokemonmeme" target="_blank">
                <img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="buymeacoffee" style="width: 200px;">
            </a>
            <a href="https://instagram.com/pokemon._meme" target="_blank">
                <img src="https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png" alt="Instagram" style="width: 50px; height: 50px;">
            </a>
        </div>
        <p>© 2024 quoteby Amar. All rights reserved.</p>     
    </footer>

    <script>
        function setupLikeButton(btnId, countId) {
            let likeBtn = document.getElementById(btnId);
            let likeCount = document.getElementById(countId);
            let liked = false;

            likeBtn.addEventListener('click', () => {
                liked = !liked;
                if (liked) {
                    likeBtn.classList.add('liked');
                    likeCount.textContent = parseInt(likeCount.textContent) + 1;
                } else {
                    likeBtn.classList.remove('liked');
                    likeCount.textContent = parseInt(likeCount.textContent) - 1;
                }

                // Send like/unlike status to server using API
                fetch('/like', {
                    method: 'POST',
                    headers: {
                        'Content-Type': 'application/json'
                    },
                    body: JSON.stringify({
                        liked: liked
                    })
                });
            });
        }

        setupLikeButton('likeBtn1', 'likeCount1');
        setupLikeButton('likeBtn2', 'likeCount2');
        setupLikeButton('likeBtn3', 'likeCount3');
    </script>
</body>
</html>