UNPKG

@trieb.work/nextjs-turbo-redis-cache

Version:

Designed for speed, scalability, and optimized performance, nextjs-turbo-redis-cache is your custom cache handler for demanding production environments.

142 lines (119 loc) 2.02 kB
:root { --bg: #0a1628; --bg-alt: #0f2139; --card: #112a49; --text: #e8f1ff; --muted: #b8c8de; --accent: #56c2ff; --accent-strong: #1fa6f3; --border: #2a476b; } * { box-sizing: border-box; } body { margin: 0; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; background: radial-gradient(circle at top, var(--bg-alt), var(--bg)); color: var(--text); line-height: 1.6; } .hero, main, footer { width: min(1080px, 92vw); margin: 0 auto; } .hero { padding: 4.5rem 0 2.2rem; } .eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.82rem; } h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.15; margin: 0.5rem 0 1rem; max-width: 18ch; } .lead { color: var(--muted); font-size: 1.1rem; max-width: 64ch; } .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.5rem; } .button { display: inline-block; text-decoration: none; color: var(--text); border: 1px solid var(--border); padding: 0.75rem 1rem; border-radius: 0.7rem; font-weight: 600; } .button.primary { background: var(--accent-strong); border-color: var(--accent-strong); } main { padding: 1.5rem 0 3rem; display: grid; gap: 1.2rem; } section { background: color-mix(in srgb, var(--card) 82%, black); border: 1px solid var(--border); border-radius: 1rem; padding: 1.2rem; } h2 { margin-top: 0; } .feature-list { margin: 0; padding-left: 1rem; display: grid; gap: 0.75rem; } .feature-list li { list-style: square; } .feature-list h3 { margin-bottom: 0.2rem; } .feature-list p, .links li, footer p { color: var(--muted); } pre { overflow-x: auto; background: #081323; border: 1px solid var(--border); border-radius: 0.7rem; padding: 0.8rem; } a { color: var(--accent); } footer { padding: 0 0 2rem; } @media (max-width: 700px) { .hero { padding-top: 2.8rem; } .button { width: 100%; text-align: center; } }