← back to Model Arena

data/artifacts/1cc50031c12f/hf-qwen-coder-32b.html

173 lines

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Grandmillennial Lookbook</title>
    <style>
        :root {
            --bg: #faf8f4;
            --surface: #ffffff;
            --text: #1c1a17;
            --muted: #9b948a;
            --accent: #b0472e;
            --line: #eaeaea;
            --shadow: rgba(0, 0, 0, .12);
            --hover-shadow: rgba(0, 0, 0, .18);
            --glow: rgba(176, 71, 46, .35);
            --ease: cubic-bezier(.22,1,.36,1);
        }
        body {
            margin: 0;
            font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.5;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 24px;
            background-color: var(--bg);
            box-shadow: 0 4px 8px rgba(0, 0, 0, .05);
            z-index: 100;
        }
        header h1 {
            margin: 0;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 67px;
            letter-spacing: .18em;
            text-transform: uppercase;
            color: var(--text);
        }
        main {
            width: 100%;
            max-width: 1200px;
            margin-top: 128px;
            padding: 48px 24px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: scroll;
            scroll-snap-type: x mandatory;
        }
        .carousel {
            display: flex;
            gap: 32px;
        }
        .slide {
            min-width: 100%;
            box-sizing: border-box;
            scroll-snap-align: start;
            padding: 48px;
            background-color: var(--surface);
            border-radius: 14px;
            box-shadow: 0 8px 24px var(--shadow);
            transition: transform .3s var(--ease), box-shadow .3s var(--ease);
        }
        .slide:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 48px var(--hover-shadow);
        }
        .slide h2 {
            margin-top: 0;
            font-family: 'Playfair Display', Georgia, serif;
            font-size: 50px;
            color: var(--text);
            text-align: center;
        }
        .slide p {
            font-size: 21px;
            color: var(--muted);
            text-align: center;
        }
        .pattern-swatch {
            width: 100%;
            height: 300px;
            background-color: var(--accent);
            margin-bottom: 48px;
            border-radius: 8px;
            overflow: hidden;
        }
        .room-vignette {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 300px;
            background-color: var(--surface);
            margin-bottom: 48px;
            border-radius: 8px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
        }
        .room-vignette svg {
            width: 70%;
            height: auto;
        }
        .slide:last-child h2 {
            font-size: 38px;
        }
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(28px); }
            to { opacity: 1; transform: none; }
        }
        .slide:nth-child(n+2):nth-child(-n+4) {
            animation: fadeUp .7s var(--ease);
        }
    </style>
</head>
<body>
<header>
    <h1>DESIGNER WALLCOVERINGS</h1>
</header>
<main>
    <div class="carousel">
        <div class="slide">
            <h2>GRANDMILLENNIAL</h2>
        </div>
        <div class="slide">
            <h2>Pattern Swatch 1</h2>
            <div class="pattern-swatch" style="background: linear-gradient(45deg, var(--accent), var(--muted));"></div>
            <div class="room-vignette">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
                    <circle cx="50" cy="50" r="45" fill="var(--surface)" stroke="var(--line)" stroke-width="2"/>
                    <rect x="35" y="35" width="30" height="30" fill="var(--accent)" opacity=".1"/>
                </svg>
            </div>
            <p>Elevate your space with a touch of retro glamour.</p>
        </div>
        <div class="slide">
            <h2>Pattern Swatch 2</h2>
            <div class="pattern-swatch" style="background: repeating-linear-gradient(45deg, var(--accent), var(--accent) 10px, var(--muted) 10px, var(--muted) 20px);"></div>
            <div class="room-vignette">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
                    <circle cx="50" cy="50" r="45" fill="var(--surface)" stroke="var(--line)" stroke-width="2"/>
                    <polygon points="30,70 70,70 50,30" fill="var(--accent)" opacity=".1"/>
                </svg>
            </div>
            <p>Add a modern twist to classic aesthetics.</p>
        </div>
        <div class="slide">
            <h2>Pattern Swatch 3</h2>
            <div class="pattern-swatch" style="background: radial-gradient(circle, var(--accent), var(--muted));"></div>
            <div class="room-vignette">
                <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
                    <circle cx="50" cy="50" r="45" fill="var(--surface)" stroke="var(--line)" stroke-width="2"/>
                    <rect x="40" y="30" width="20" height="40" fill="var(--accent)" opacity=".1"/>
                </svg>
            </div>
            <p>Embrace the elegance of timeless design.</p>
        </div>
        <div class="slide">
            <h2>Contact Us</h2>
            <p>Discover how our designs can transform your home or office. Get in touch today!</p>
        </div>
    </div>
</main>
</body>
</html>