matt HOFFNER
commited on
Commit
Β·
9c00a03
1
Parent(s):
81f6c44
holiday mode
Browse files- app/page.module.css +9 -71
- app/page.tsx +0 -1
app/page.module.css
CHANGED
|
@@ -264,7 +264,7 @@
|
|
| 264 |
font-size: 1rem; /* Font size */
|
| 265 |
font-weight: bold; /* Make the text a bit bolder */
|
| 266 |
color: white; /* Text color */
|
| 267 |
-
background-image: linear-gradient(to right, #
|
| 268 |
cursor: pointer; /* Change cursor to indicate it's clickable */
|
| 269 |
transition: transform 0.2s, background-color 0.3s; /* Smooth transitions for interactions */
|
| 270 |
text-transform: uppercase; /* Optional: uppercase text */
|
|
@@ -272,10 +272,9 @@
|
|
| 272 |
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
|
| 273 |
}
|
| 274 |
|
| 275 |
-
.
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08); /* Increase shadow size */
|
| 279 |
}
|
| 280 |
|
| 281 |
.button:active {
|
|
@@ -304,14 +303,13 @@
|
|
| 304 |
|
| 305 |
.messages {
|
| 306 |
flex: 1;
|
| 307 |
-
|
| 308 |
-
border-
|
| 309 |
-
border-width: 4px;
|
| 310 |
-
border-image: linear-gradient(#6ee7b7, #3b82f6) 30;
|
| 311 |
padding: 25px;
|
| 312 |
-
border-
|
| 313 |
}
|
| 314 |
|
|
|
|
| 315 |
.message {
|
| 316 |
background-color: #f9f9f9;
|
| 317 |
border-radius: 15px;
|
|
@@ -349,6 +347,7 @@
|
|
| 349 |
box-sizing: border-box;
|
| 350 |
border: 1px solid #ddd;
|
| 351 |
border-radius: 4px;
|
|
|
|
| 352 |
}
|
| 353 |
|
| 354 |
/* Button styles */
|
|
@@ -394,65 +393,4 @@
|
|
| 394 |
/* In your CSS file */
|
| 395 |
.avatar-user {
|
| 396 |
width: 20px; /* Based on Tailwind's width setting */
|
| 397 |
-
}
|
| 398 |
-
|
| 399 |
-
.bg-white {
|
| 400 |
-
background-color: white;
|
| 401 |
-
}
|
| 402 |
-
|
| 403 |
-
.bg-black {
|
| 404 |
-
background-color: black;
|
| 405 |
-
}
|
| 406 |
-
|
| 407 |
-
.bg-gray-100 {
|
| 408 |
-
background-color: #f7fafc; /* Approximation of Tailwind's gray-100 */
|
| 409 |
-
}
|
| 410 |
-
|
| 411 |
-
.bg-green-500 {
|
| 412 |
-
background-color: #48bb78; /* Approximation of Tailwind's green-500 */
|
| 413 |
-
}
|
| 414 |
-
|
| 415 |
-
.bg-gray-200 {
|
| 416 |
-
background-color: #edf2f7; /* Approximation of Tailwind's gray-200 */
|
| 417 |
-
}
|
| 418 |
-
|
| 419 |
-
.bg-blue-500 {
|
| 420 |
-
background-color: #4299e1; /* Approximation of Tailwind's blue-500 */
|
| 421 |
-
}
|
| 422 |
-
|
| 423 |
-
.border-gradient {
|
| 424 |
-
/* Size of your element */
|
| 425 |
-
width: 200px;
|
| 426 |
-
height: 200px;
|
| 427 |
-
|
| 428 |
-
/* Setting up the gradient as a background image */
|
| 429 |
-
background-image: linear-gradient(90deg, #6ee7b7, #3b82f6);
|
| 430 |
-
|
| 431 |
-
/* Positioning and sizing the pseudo-element to match the parent */
|
| 432 |
-
position: relative;
|
| 433 |
-
display: flex;
|
| 434 |
-
justify-content: center;
|
| 435 |
-
align-items: center;
|
| 436 |
-
|
| 437 |
-
/* Adding the border */
|
| 438 |
-
padding: 10px;
|
| 439 |
-
}
|
| 440 |
-
|
| 441 |
-
.border-gradient::after {
|
| 442 |
-
/* Creating the pseudo-element */
|
| 443 |
-
content: "";
|
| 444 |
-
position: absolute;
|
| 445 |
-
top: -10px;
|
| 446 |
-
left: -10px;
|
| 447 |
-
bottom: -10px;
|
| 448 |
-
right: -10px;
|
| 449 |
-
|
| 450 |
-
/* Applying the gradient to the border */
|
| 451 |
-
background-image: inherit;
|
| 452 |
-
background-clip: padding-box, border-box;
|
| 453 |
-
background-origin: padding-box, border-box;
|
| 454 |
-
box-decoration-break: clone;
|
| 455 |
-
|
| 456 |
-
/* Adding a transparent border */
|
| 457 |
-
border: solid 10px transparent;
|
| 458 |
}
|
|
|
|
| 264 |
font-size: 1rem; /* Font size */
|
| 265 |
font-weight: bold; /* Make the text a bit bolder */
|
| 266 |
color: white; /* Text color */
|
| 267 |
+
background-image: linear-gradient(to right, #000, #3b82f6); /* Gradient background */
|
| 268 |
cursor: pointer; /* Change cursor to indicate it's clickable */
|
| 269 |
transition: transform 0.2s, background-color 0.3s; /* Smooth transitions for interactions */
|
| 270 |
text-transform: uppercase; /* Optional: uppercase text */
|
|
|
|
| 272 |
box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
|
| 273 |
}
|
| 274 |
|
| 275 |
+
.icon {
|
| 276 |
+
height: 75px;
|
| 277 |
+
width: 75px;
|
|
|
|
| 278 |
}
|
| 279 |
|
| 280 |
.button:active {
|
|
|
|
| 303 |
|
| 304 |
.messages {
|
| 305 |
flex: 1;
|
| 306 |
+
border: 8px solid transparent;
|
| 307 |
+
border-radius: 10px;
|
|
|
|
|
|
|
| 308 |
padding: 25px;
|
| 309 |
+
border-image: url('data:image/svg+xml;base64,CjxzdmcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJyB3aWR0aD0nODAnIGhlaWdodD0nMjAnIHZpZXdCb3g9JzAgMCA4MCAyMCc+CiAgPHBhdGggZD0nTSA1LDEwIGE1LDEwIDAgMSwwIDEwLDAgYTUsMTAgMCAxLDAgLTEwLDAnIGZpbGw9J3JlZCcgLz4KICA8cGF0aCBkPSdNIDI1LDEwIGE1LDEwIDAgMSwwIDEwLDAgYTUsMTAgMCAxLDAgLTEwLDAnIGZpbGw9J2dyZWVuJyAvPgogIDxwYXRoIGQ9J00gNDUsMTAgYTUsMTAgMCAxLDAgMTAsMCBhNSwxMCAwIDEsMCAtMTAsMCcgZmlsbD0nYmx1ZScgLz4KICA8cGF0aCBkPSdNIDY1LDEwIGE1LDEwIDAgMSwwIDEwLDAgYTUsMTAgMCAxLDAgLTEwLDAnIGZpbGw9J3llbGxvdycgLz4KPC9zdmc+Cg==') 5 repeat;
|
| 310 |
}
|
| 311 |
|
| 312 |
+
|
| 313 |
.message {
|
| 314 |
background-color: #f9f9f9;
|
| 315 |
border-radius: 15px;
|
|
|
|
| 347 |
box-sizing: border-box;
|
| 348 |
border: 1px solid #ddd;
|
| 349 |
border-radius: 4px;
|
| 350 |
+
background-color: transparent;
|
| 351 |
}
|
| 352 |
|
| 353 |
/* Button styles */
|
|
|
|
| 393 |
/* In your CSS file */
|
| 394 |
.avatar-user {
|
| 395 |
width: 20px; /* Based on Tailwind's width setting */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
}
|
app/page.tsx
CHANGED
|
@@ -128,7 +128,6 @@ const Page: React.FC = () => {
|
|
| 128 |
|
| 129 |
return (
|
| 130 |
<main className={styles.main}>
|
| 131 |
-
<h2 className={styles.title}>ππββοΈ</h2>
|
| 132 |
<div className={styles.messages}>
|
| 133 |
{messages.length > 0 ? (
|
| 134 |
messages.map((message, i) => {
|
|
|
|
| 128 |
|
| 129 |
return (
|
| 130 |
<main className={styles.main}>
|
|
|
|
| 131 |
<div className={styles.messages}>
|
| 132 |
{messages.length > 0 ? (
|
| 133 |
messages.map((message, i) => {
|