This commit is contained in:
Ty Clifford
2026-05-20 21:08:23 -04:00
commit 6ab3058a92
187 changed files with 18355 additions and 0 deletions
+804
View File
@@ -0,0 +1,804 @@
<?php require_once("../members/gate.php"); ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Live at TyClifford.com/Live — Members Area">
<meta name="author" content="Ty Clifford">
<meta name="keywords" content="Ty Clifford, Live, Podcast, Keyser, West Virginia, Nerd, TikTok">
<meta property="og:url" content="https://tyclifford.com/live/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Ty Clifford — Live! Hobbies are my hobby." />
<meta property="og:title" content="Live TC | TyClifford.com/Live" />
<meta property="og:image" content="" />
<meta property="og:image:alt" content="Live stream" />
<meta name="twitter:site" content="@_tyclifford" />
<meta name="twitter:title" content="Live TC | TyClifford.com/Live" />
<meta name="twitter:description" content="Members live stream area — TyClifford.com">
<title>Live — TyClifford.com</title>
<link rel="shortcut icon" href="/images/ico/fa-bl.ico">
<link rel="apple-touch-icon" href="/images/ico/fa-bl.jpg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<style>
/* ── Reset & tokens (exact match to gate.php) ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg: #09090f;
--surface: #0f0f1a;
--surface-2: #141425;
--border: #1e1e38;
--border-2: #2a2a48;
--text: #e8e8f8;
--text-2: #9898c0;
--text-3: #58587a;
--green: #00e87a;
--blue: #00c8ff;
--purple: #b060ff;
--red: #ff3355;
--orange: #ff8800;
--yellow: #ffd040;
--pat: #ff424d;
--pat-lite: rgba(255,66,77,.10);
--pat-border: rgba(255,66,77,.32);
--pat-glow: rgba(255,66,77,.18);
--libera: #f6c915;
--paypal: #009cde;
--r: 6px;
--gap: 1.25rem;
--pp: 1rem; /* page-pad */
/* chat panel */
--chat-w: 320px; /* desktop sidebar width */
--chat-h: 460px; /* mobile stacked height */
}
@media (min-width: 600px) { :root { --pp: 1.5rem; } }
@media (min-width: 1000px) { :root { --pp: 2rem; --chat-w: 340px; } }
@media (min-width: 1280px) { :root { --chat-w: 360px; } }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
min-height: 100dvh;
background: var(--bg);
background-image:
radial-gradient(ellipse 70% 50% at 20% 10%, rgba(176,96,255,.05) 0%, transparent 60%),
radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,200,255,.04) 0%, transparent 60%),
radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,66,77,.03) 0%, transparent 70%);
font-family: 'Inter', system-ui, sans-serif;
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
}
/* scanline overlay */
body::after {
content: '';
position: fixed; inset: 0; pointer-events: none; z-index: 999;
background: repeating-linear-gradient(
0deg, transparent 0px, transparent 3px,
rgba(0,0,0,.06) 3px, rgba(0,0,0,.06) 4px
);
}
/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes rise {
from { opacity: 0; transform: translateY(14px) scale(.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shimmer {
from { background-position: 0% 50%; }
to { background-position: 200% 50%; }
}
@keyframes pulse-border {
0%,100% { box-shadow: 0 0 0 0 var(--pat-glow); }
50% { box-shadow: 0 0 0 6px transparent; }
}
@keyframes live-pulse {
0%,100% { opacity: 1; }
50% { opacity: .4; }
}
/* ── Page wrapper ───────────────────────────────────────────────────────── */
.page {
width: 100%;
max-width: 1280px;
padding: var(--pp);
display: flex;
flex-direction: column;
gap: 1.5rem;
animation: rise .45s cubic-bezier(.22,.68,0,1.2) both;
}
/* ── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.topbar-brand { display: flex; align-items: center; gap: .75rem; }
.brand-name { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.brand-sub {
font-family: 'Share Tech Mono', monospace;
font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-3);
}
.live-badge {
display: inline-flex; align-items: center; gap: .4rem;
padding: .25rem .65rem;
background: rgba(255,51,85,.12); border: 1px solid rgba(255,51,85,.3); border-radius: 99px;
font-family: 'Share Tech Mono', monospace;
font-size: .6rem; letter-spacing: .15em; text-transform: uppercase;
color: var(--red); text-shadow: 0 0 8px rgba(255,51,85,.4);
}
.live-dot {
width: 6px; height: 6px; border-radius: 50%;
background: var(--red); box-shadow: 0 0 6px rgba(255,51,85,.8);
animation: live-pulse 1.4s ease-in-out infinite;
}
.topbar-social { display: flex; align-items: center; gap: .5rem; }
.social-pill {
display: inline-flex; align-items: center; gap: .4rem;
padding: .35rem .75rem;
background: rgba(255,255,255,.03); border: 1px solid var(--border-2); border-radius: 99px;
font-family: 'Share Tech Mono', monospace; font-size: .65rem; letter-spacing: .08em;
color: var(--text-3); text-decoration: none;
transition: color .2s, background .2s;
}
.social-pill:hover { color: var(--text-2); background: rgba(255,255,255,.06); }
.social-pill svg { flex-shrink: 0; }
/* ══════════════════════════════════════════════════════════════════════════
STREAM + CHAT ZONE
Mobile → column: [stream-col] then [chat-col] stacked
≥900px → row: [stream-col] flex-grows | [chat-col] fixed width sidebar
══════════════════════════════════════════════════════════════════════════ */
.stream-zone {
display: flex;
flex-direction: column; /* mobile: stack */
background: var(--surface);
border: 1px solid var(--border);
border-radius: calc(var(--r) + 2px);
overflow: hidden;
position: relative;
box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 4px 50px rgba(0,0,0,.6);
}
/* rainbow shimmer rule along the top */
.stream-zone::before {
content: '';
position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
background: linear-gradient(90deg,
var(--pat), var(--purple), var(--blue), var(--green),
var(--blue), var(--purple), var(--pat));
background-size: 300% 100%;
animation: shimmer 5s linear infinite;
}
@media (min-width: 900px) {
.stream-zone {
flex-direction: row; /* desktop: side-by-side */
align-items: stretch;
}
}
/* ── Stream column ──────────────────────────────────────────────────────── */
.stream-col {
display: flex;
flex-direction: column;
flex: 1 1 auto; /* fills remaining width on desktop */
min-width: 0;
}
/* Pure-CSS 16:9 — zero layout shift, no JS resize loop */
.stream-ratio {
position: relative;
width: 100%;
padding-top: 56.25%; /* 9/16 */
background: #000;
flex-shrink: 0;
}
.stream-ratio iframe {
position: absolute; inset: 0;
width: 100%; height: 100%;
border: 0; display: block;
}
/* bar below the stream video */
.stream-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: .75rem;
padding: .6rem 1rem;
border-top: 1px solid var(--border);
flex-wrap: wrap;
flex-shrink: 0;
}
.stream-bar-right { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
/* ── Chat column ────────────────────────────────────────────────────────── */
.chat-col {
display: flex;
flex-direction: column;
/* mobile: fixed height beneath stream */
height: var(--chat-h);
flex-shrink: 0;
border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
.chat-col {
width: var(--chat-w);
height: auto; /* stretch to full row height */
flex-shrink: 0;
flex-grow: 0;
border-top: none;
border-left: 1px solid var(--border);
min-height: 340px;
}
}
/* thin header strip inside chat column */
.chat-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: .5rem .85rem;
border-bottom: 1px solid var(--border);
background: var(--surface-2);
flex-shrink: 0;
}
.chat-bar-actions { display: flex; align-items: center; gap: .35rem; }
/* iframe wrapper — fills remaining column height */
.chat-embed {
flex: 1;
position: relative;
overflow: hidden;
min-height: 0;
}
.chat-embed iframe {
position: absolute; inset: 0;
width: 100%; height: 100%;
border: 0; display: block;
background: #000;
}
/* placeholder shown when chat is in a popup window */
.chat-placeholder {
display: none; /* JS reveals this */
flex: 1;
flex-direction: column;
align-items: center;
justify-content: center;
gap: .85rem;
padding: 1.5rem;
text-align: center;
}
.chat-placeholder.visible { display: flex; }
.chat-embed.hidden { display: none; }
.ph-icon {
width: 42px; height: 42px; border-radius: 50%;
background: rgba(0,200,255,.07);
border: 1px solid rgba(0,200,255,.2);
display: flex; align-items: center; justify-content: center;
color: var(--blue);
}
.ph-title { font-size: .85rem; font-weight: 600; color: var(--text-2); }
.ph-sub {
font-family: 'Share Tech Mono', monospace;
font-size: .68rem; color: var(--text-3); line-height: 1.65;
}
.ph-sub strong { color: var(--text-2); }
/* ── Shared eyebrow ─────────────────────────────────────────────────────── */
.eyebrow {
font-family: 'Share Tech Mono', monospace;
font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
}
.eyebrow-green { color: var(--green); text-shadow: 0 0 10px rgba(0,232,122,.5); }
.eyebrow-green::before { content: '> '; opacity: .5; }
.eyebrow-blue { color: var(--blue); text-shadow: 0 0 8px rgba(0,200,255,.4); }
.eyebrow-blue::before { content: '> '; opacity: .5; }
.stream-meta {
font-family: 'Share Tech Mono', monospace;
font-size: .63rem; letter-spacing: .08em; color: var(--text-3);
}
.stream-meta span { color: var(--text-2); }
/* ── Small icon-style buttons (popout / re-embed / stream-out) ────────── */
.btn-sm {
display: inline-flex; align-items: center; gap: .38rem;
padding: .28rem .65rem;
background: rgba(255,255,255,.04);
border: 1px solid var(--border-2);
border-radius: calc(var(--r) - 1px);
font-family: 'Share Tech Mono', monospace;
font-size: .6rem; letter-spacing: .07em;
color: var(--text-3);
cursor: pointer; text-decoration: none;
transition: border-color .2s, color .2s, background .2s;
white-space: nowrap; min-height: 28px; line-height: 1;
background: none;
}
.btn-sm svg { flex-shrink: 0; }
.btn-sm:hover { border-color: var(--blue); color: var(--blue); background: rgba(0,200,255,.05); }
.btn-sm.btn-sm-green:hover { border-color: var(--green); color: var(--green); background: rgba(0,232,122,.05); }
/* ══════════════════════════════════════════════════════════════════════════
LOWER GRID
══════════════════════════════════════════════════════════════════════════ */
.lower-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}
@media (min-width: 640px) { .lower-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lower-grid { grid-template-columns: 2fr 1fr 1fr; } }
/* shared card */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: calc(var(--r) + 2px);
padding: 1.4rem 1.5rem;
display: flex; flex-direction: column; gap: .9rem;
position: relative; overflow: hidden;
}
.card::after {
content: '';
position: absolute; bottom: -1px; right: -1px;
width: 14px; height: 14px;
border-bottom: 2px solid var(--purple);
border-right: 2px solid var(--purple);
border-radius: 0 0 calc(var(--r) + 2px) 0;
opacity: .5;
}
.card-title { font-size: .95rem; font-weight: 700; letter-spacing: -.01em; color: var(--text); line-height: 1.2; }
.card-body { font-size: .85rem; color: var(--text-2); line-height: 1.7; }
.card-body strong { color: var(--text); font-weight: 600; }
.card-body a {
color: var(--pat); text-decoration: none;
border-bottom: 1px solid rgba(255,66,77,.25); transition: border-color .15s;
}
.card-body a:hover { border-color: rgba(255,66,77,.6); }
/* Patreon support card */
.card-patreon { border-color: var(--pat-border); box-shadow: 0 0 30px rgba(255,66,77,.05); }
.card-patreon::before {
content: '';
position: absolute; top: 0; left: 0; right: 0; height: 2px;
background: linear-gradient(90deg,
var(--pat), var(--purple), var(--blue), var(--green),
var(--blue), var(--purple), var(--pat));
background-size: 300% 100%;
animation: shimmer 5s linear infinite;
}
.card-about { background: var(--surface-2); }
.card-social { background: var(--surface-2); }
/* Donate buttons */
.donate-stack { display: flex; flex-direction: column; gap: .55rem; }
.btn-donate {
display: flex; align-items: center; justify-content: center; gap: .55rem;
padding: .75rem 1.1rem; border-radius: var(--r);
font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 700; letter-spacing: .02em;
text-decoration: none; position: relative; overflow: hidden;
transition: transform .15s, filter .15s; min-height: 44px;
}
.btn-donate::before {
content: ''; position: absolute; inset: 0;
background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 60%);
pointer-events: none;
}
.btn-donate:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-donate:active { transform: scale(.98); filter: brightness(.96); }
.btn-patreon-donate {
background: var(--pat); color: #fff;
box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset, 0 4px 18px rgba(255,66,77,.3);
animation: pulse-border 3s ease-in-out infinite;
}
.btn-libera { background: var(--libera); color: #1a1400; box-shadow: 0 4px 18px rgba(246,201,21,.2); }
.btn-paypal { background: var(--paypal); color: #fff; box-shadow: 0 4px 18px rgba(0,156,222,.2); }
/* Social list */
.social-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.social-list a {
display: flex; align-items: center; gap: .65rem;
padding: .6rem .8rem;
border: 1px solid var(--border-2); border-radius: var(--r);
font-family: 'Share Tech Mono', monospace; font-size: .78rem;
color: var(--text-2); text-decoration: none;
transition: border-color .2s, color .2s, background .2s;
}
.social-list a:hover { border-color: var(--green); color: var(--text); background: rgba(0,232,122,.04); }
.social-list a svg { flex-shrink: 0; color: var(--text-3); transition: color .2s; }
.social-list a:hover svg { color: var(--green); }
/* Page footer */
.page-footer {
padding: .5rem 0 1rem;
display: flex; align-items: center; justify-content: center;
gap: 1.5rem; flex-wrap: wrap;
border-top: 1px solid var(--border);
}
.footer-note {
font-family: 'Share Tech Mono', monospace;
font-size: .63rem; color: var(--text-3); letter-spacing: .06em; text-align: center;
}
.footer-note::before { content: '// '; opacity: .4; }
.footer-note a { color: var(--text-3); text-decoration: none; transition: color .15s; }
.footer-note a:hover { color: var(--text-2); }
</style>
</head>
<body>
<main class="page" role="main">
<!-- ── Top bar ──────────────────────────────────────────────────────────── -->
<header class="topbar">
<div class="topbar-brand">
<div>
<div class="brand-name">Ty Clifford</div>
<div class="brand-sub">tyclifford.com / live</div>
</div>
<div class="live-badge" aria-label="Live stream indicator">
<span class="live-dot" aria-hidden="true"></span>Live
</div>
</div>
<nav class="topbar-social" aria-label="Social links">
<a class="social-pill" href="https://github.com/snick512"
target="_blank" rel="noopener" aria-label="GitHub">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61
c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77
5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7
0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0
0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>
</svg>GitHub
</a>
<a class="social-pill" href="mailto:ty@tyclifford.com" aria-label="Email Ty">
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<rect x="2" y="4" width="20" height="16" rx="2"/>
<polyline points="2,4 12,13 22,4"/>
</svg>Email
</a>
</nav>
</header>
<!-- ══════════════════════════════════════════════════════════════════════
STREAM + CHAT ZONE
Mobile → stream on top, chat panel below (fixed height)
≥ 900px → stream fills left, chat sidebar pinned to right
═══════════════════════════════════════════════════════════════════════ -->
<section class="stream-zone" aria-label="Live stream and chat">
<!-- ── Stream column ──────────────────────────────────────────────────── -->
<div class="stream-col">
<!-- 16:9 ratio container — pure CSS, no JS resize -->
<div class="stream-ratio">
<iframe
src="https://stream.place/embed/tyclifford.com"
allowfullscreen
allow="autoplay; fullscreen"
title="Ty Clifford live stream"
></iframe>
</div>
<!-- bar: eyebrow + meta + open-in-new-tab -->
<div class="stream-bar">
<p class="eyebrow eyebrow-green">Members stream</p>
<div class="stream-bar-right">
<p class="stream-meta">stream.place / <span>tyclifford.com</span></p>
<!-- Opens the full stream page in a new tab — not a duplicate session -->
<a class="btn-sm btn-sm-green"
href="https://stream.place/embed/tyclifford.com"
target="_blank" rel="noopener"
aria-label="Open stream in new tab">
<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>
<polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/>
</svg>
Open stream ↗
</a>
</div>
</div>
</div><!-- /stream-col -->
<!-- ── Chat column ────────────────────────────────────────────────────── -->
<div class="chat-col" id="chatCol">
<!-- chat top bar -->
<div class="chat-bar">
<p class="eyebrow eyebrow-blue">Live Chat</p>
<div class="chat-bar-actions">
<!-- Pop-out button (visible when embedded) -->
<button class="btn-sm" id="btnPopout" onclick="popoutChat()"
aria-label="Open chat in a separate window" title="Pop chat out">
<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<polyline points="15 3 21 3 21 9"/>
<line x1="10" y1="14" x2="21" y2="3"/>
<polyline points="9 21 3 21 3 15"/>
<line x1="14" y1="10" x2="3" y2="21"/>
</svg>
Pop out
</button>
<!-- Re-embed button (visible when popped out) -->
<button class="btn-sm" id="btnReembed" style="display:none"
onclick="reembedChat()"
aria-label="Re-embed chat here" title="Re-embed chat">
<svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<polyline points="1 4 1 10 7 10"/>
<path d="M3.51 15a9 9 0 1 0 .49-4"/>
</svg>
Re-embed
</button>
</div>
</div>
<!-- live iframe (src set via JS on init to allow clean src-clearing on popout) -->
<div class="chat-embed" id="chatEmbed">
<iframe id="chatIframe" title="Live chat" allow="autoplay"></iframe>
</div>
<!-- placeholder shown while chat is in its own window -->
<div class="chat-placeholder" id="chatPlaceholder" aria-live="polite">
<div class="ph-icon" aria-hidden="true">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
</svg>
</div>
<p class="ph-title">Chat is in a separate window</p>
<p class="ph-sub">
Keep that window alongside your stream.<br>
Click <strong>Re-embed</strong> to bring chat back here.
</p>
</div>
</div><!-- /chat-col -->
</section>
<!-- ── Lower grid ──────────────────────────────────────────────────────── -->
<div class="lower-grid">
<!-- Support card -->
<div class="card card-patreon">
<div>
<p class="eyebrow eyebrow-green" style="margin-bottom:.35rem">Support the stream</p>
<h2 class="card-title">Hobbies are my hobby.</h2>
</div>
<p class="card-body">
If you're enjoying the stream, consider throwing a few bucks in the jar.
<strong>Patreon</strong> members keep this going — even a free membership helps.
You can also tip once via Liberapay or PayPal, no account needed.
</p>
<div class="donate-stack">
<a class="btn-donate btn-patreon-donate"
href="https://go.tyclifford.com/patreon"
target="_blank" rel="noopener noreferrer" aria-label="Become a Patreon supporter">
<svg width="12" height="14" viewBox="0 0 12 14" fill="white" aria-hidden="true">
<ellipse cx="7.5" cy="4.8" rx="4.5" ry="4.5"/>
<rect x="0" y="0" width="2.8" height="14" rx="1.2"/>
</svg>Become a Patron
</a>
<a class="btn-donate btn-libera"
href="https://go.tyclifford.com/liberapay"
target="_blank" rel="noopener noreferrer" aria-label="Support via Liberapay">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M12 2L2 7l10 5 10-5-10-5z"/>
<path d="M2 17l10 5 10-5"/><path d="M2 12l10 5 10-5"/>
</svg>Donate via Liberapay
</a>
<a class="btn-donate btn-paypal"
href="https://www.paypal.com/donate/?hosted_button_id=ZDJ9TXPPMNZ6U"
target="_blank" rel="noopener noreferrer" aria-label="Donate via PayPal">
<svg width="13" height="15" viewBox="0 0 24 28" fill="white" aria-hidden="true">
<path d="M7.8 27H3.5L6.3 9.5h7.6c3.1 0 5.3.7 6.4 2 1.1 1.3 1.3 3 .5 5.1
-.9 2.4-2.4 4.2-4.5 5.3-2 1-4.5 1.5-7.3 1.5H7l-.8 3.6zm1.1-6.5
h1.6c1.5 0 2.8-.3 3.8-.9 1-.6 1.7-1.5 2.1-2.7.4-1.2.2-2-.5-2.6
-.7-.5-1.9-.8-3.6-.8H10L8.9 20.5z"/>
</svg>Donate via PayPal
</a>
</div>
</div>
<!-- About card -->
<div class="card card-about">
<p class="eyebrow eyebrow-green" style="margin-bottom:.1rem">About</p>
<h2 class="card-title">Ty Clifford</h2>
<p class="card-body">
Based in <strong>Keyser, West Virginia</strong>. Nerd, tinkerer, and
creator. Hobbies are my hobby — from tech and podcasting to whatever
rabbit hole I fell into this week.
<br><br>
Follow along on
<a href="https://go.tyclifford.com/patreon" target="_blank" rel="noopener">Patreon</a>
and join the conversation.
</p>
</div>
<!-- Social card -->
<div class="card card-social">
<p class="eyebrow eyebrow-green" style="margin-bottom:.1rem">Links</p>
<h2 class="card-title">Find me online</h2>
<ul class="social-list" aria-label="Social media links">
<li>
<a href="https://github.com/snick512" target="_blank" rel="noopener">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61
c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07
0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65
5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5
3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"/>
</svg>github.com/snick512
</a>
</li>
<li>
<a href="mailto:ty@tyclifford.com">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<rect x="2" y="4" width="20" height="16" rx="2"/>
<polyline points="2,4 12,13 22,4"/>
</svg>ty@tyclifford.com
</a>
</li>
<li>
<a href="https://go.tyclifford.com/patreon" target="_blank" rel="noopener">
<svg width="14" height="14" viewBox="0 0 12 14" fill="currentColor" aria-hidden="true">
<ellipse cx="7.5" cy="4.8" rx="4.5" ry="4.5"/>
<rect x="0" y="0" width="2.8" height="14" rx="1.2"/>
</svg>patreon.com/tyclifford
</a>
</li>
</ul>
</div>
</div><!-- /lower-grid -->
<!-- ── Footer ───────────────────────────────────────────────────────────── -->
<footer class="page-footer" role="contentinfo">
<p class="footer-note">TyClifford.com &nbsp;·&nbsp; members area</p>
<p class="footer-note">hobbies are my hobby</p>
<p class="footer-note"><a href="mailto:ty@tyclifford.com">ty@tyclifford.com</a></p>
</footer>
</main>
<script>
/* ═══════════════════════════════════════════════════════════════════════════
Chat pop-out / re-embed controller
═══════════════════════════════════════════════════════════════════════════
Goals:
1. Embed the chat iframe by default.
2. "Pop out" opens the chat URL in a small named popup window, then
CLEARS the iframe src to eliminate the embedded session — no duplicate.
3. "Re-embed" closes the popup (if still open) and restores the iframe.
4. If the user manually closes the popup, a watcher auto-restores the embed.
5. sessionStorage preserves state across soft navigations in the same tab;
a hard reload always starts embedded (clean state).
No libraries. ~60 lines of vanilla JS.
═══════════════════════════════════════════════════════════════════════════ */
(function () {
var CHAT_SRC = 'https://stream.place/chat-popout/did:plc:wdolp7qjekv5jqgz7h2r5peb';
var STORE_KEY = 'tcChat_popped';
var POPUP_NAME = 'tcChatWin';
var POPUP_OPTS = 'width=400,height=680,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,status=no';
var iframe = document.getElementById('chatIframe');
var embedWrap = document.getElementById('chatEmbed');
var placeholder = document.getElementById('chatPlaceholder');
var btnPopout = document.getElementById('btnPopout');
var btnReembed = document.getElementById('btnReembed');
var popupWin = null;
var watchTimer = null;
/* ── Render helpers ─────────────────────────────────────────────────── */
function showEmbed() {
iframe.src = CHAT_SRC;
embedWrap.classList.remove('hidden');
placeholder.classList.remove('visible');
btnPopout.style.display = '';
btnReembed.style.display = 'none';
}
function showPlaceholder() {
iframe.src = ''; // kill connection → no duplicate session
embedWrap.classList.add('hidden');
placeholder.classList.add('visible');
btnPopout.style.display = 'none';
btnReembed.style.display = '';
}
/* ── Popup watcher — auto-restore if user closes the window ─────────── */
function startWatcher() {
clearInterval(watchTimer);
watchTimer = setInterval(function () {
if (popupWin && popupWin.closed) {
stopWatcher();
sessionStorage.removeItem(STORE_KEY);
showEmbed();
}
}, 600);
}
function stopWatcher() {
clearInterval(watchTimer);
watchTimer = null;
}
/* ── Public actions (called from onclick) ───────────────────────────── */
window.popoutChat = function () {
popupWin = window.open(CHAT_SRC, POPUP_NAME, POPUP_OPTS);
if (!popupWin || popupWin.closed) {
// Popup was blocked — fall back gracefully; leave embed in place
alert('Popup was blocked.\nPlease allow popups for this site and try again.');
return;
}
sessionStorage.setItem(STORE_KEY, '1');
showPlaceholder();
startWatcher();
};
window.reembedChat = function () {
stopWatcher();
if (popupWin && !popupWin.closed) { popupWin.close(); }
popupWin = null;
sessionStorage.removeItem(STORE_KEY);
showEmbed();
};
/* ── Init ───────────────────────────────────────────────────────────── */
// If this tab session had chat popped (e.g. soft nav back), restore that state.
// On a hard reload sessionStorage is cleared → always start embedded.
if (sessionStorage.getItem(STORE_KEY)) {
showPlaceholder();
startWatcher(); // still watch in case popup was already open
} else {
showEmbed(); // default: embed is live
}
})();
</script>
</body>
</html>
+888
View File
@@ -0,0 +1,888 @@
<?php
//require_once("../members/gate.php");
// ── Ad system bootstrap ───────────────────────────────────────────────────────
$ads_above = [];
$ads_below = [];
$ads_json = __DIR__ . '/../admanager/ads.json';
if (file_exists($ads_json)) {
$_all_ads = json_decode(file_get_contents($ads_json), true);
if (is_array($_all_ads)) {
foreach ($_all_ads as $_ad) {
if (!($_ad['active'] ?? true)) continue;
if (empty($_ad['sizes'])) continue;
if (($_ad['placement'] ?? 'above') === 'above') $ads_above[] = $_ad;
else $ads_below[] = $_ad;
}
}
}
$size_breakpoints = [
'mobile-banner' => ['min'=> 0, 'max'=> 479, 'w'=> 320, 'h'=> 50],
'mobile-rect' => ['min'=> 0, 'max'=> 599, 'w'=> 300, 'h'=> 250],
'tablet-banner' => ['min'=> 480, 'max'=> 767, 'w'=> 468, 'h'=> 60],
'leaderboard' => ['min'=> 768, 'max'=>1023, 'w'=> 728, 'h'=> 90],
'billboard' => ['min'=> 1024, 'max'=>null, 'w'=> 970, 'h'=> 90],
'large-rect' => ['min'=> 600, 'max'=>null, 'w'=> 336, 'h'=> 280],
'custom' => ['min'=> 0, 'max'=>null, 'w'=>null, 'h'=>null],
];
?>
<?php
/**
* render_ad_zone() — outputs ad units for one placement.
* All size variants are output with CSS media queries controlling visibility.
* When $ads is empty the caller's <?php if ?> prevents any output.
*/
function render_ad_zone(array $ads, string $placement, array $size_breakpoints): void {
static $zone_counter = 0;
echo '<div class="ad-zone" aria-label="Advertisement">' . "\n";
foreach ($ads as $ad_idx => $ad) {
$sizes = array_values(array_filter($ad['sizes'] ?? []));
if (empty($sizes)) continue;
$zone_counter++;
$unit_id = 'adunit-' . $zone_counter;
$click = htmlspecialchars(trim($ad['click_url'] ?? ''));
echo " <div class=\"ad-unit\" id=\"{$unit_id}\">\n";
// Per-ad inline CSS: media queries reveal exactly one size variant
echo " <style>\n";
foreach ($sizes as $vi => $sv) {
$sk = $sv['size_key'] ?? 'custom';
$bp = $size_breakpoints[$sk] ?? ['min'=>0,'max'=>null,'w'=>null,'h'=>null];
$w = ($sk==='custom' && !empty($sv['custom_w'])) ? (int)$sv['custom_w'] : ($bp['w'] ?? null);
$h = ($sk==='custom' && !empty($sv['custom_h'])) ? (int)$sv['custom_h'] : ($bp['h'] ?? null);
$min = (int)$bp['min'];
$max = $bp['max'];
$parts = [];
if ($min > 0) $parts[] = "(min-width:{$min}px)";
if ($max) $parts[] = "(max-width:{$max}px)";
$mq = $parts ? '@media ' . implode(' and ', $parts) : null;
$sel = "#{$unit_id} .adv-{$vi}";
if ($mq) echo " {$mq} { {$sel} { display:flex; } }\n";
else echo " {$sel} { display:flex; }\n";
if ($w && $h) {
echo " {$sel} .ad-creative { width:{$w}px; height:{$h}px; max-width:100%; }\n";
echo " {$sel} .ad-creative img,{$sel} .ad-creative video { width:{$w}px; height:{$h}px; max-width:100%; }\n";
}
}
echo " </style>\n";
// Render each variant (hidden until its media query fires)
foreach ($sizes as $vi => $sv) {
$murl = htmlspecialchars(trim($sv['media_url'] ?? ''));
$mtype = $sv['media_type'] ?? 'image';
if (!$murl) continue;
$wrap_o = $click ? "<a class=\"ad-creative\" href=\"{$click}\" target=\"_blank\" rel=\"noopener noreferrer sponsored\">" : '<div class="ad-creative">';
$wrap_c = $click ? '</a>' : '</div>';
$media = ($mtype === 'video')
? "<video autoplay muted loop playsinline preload=\"metadata\"><source src=\"{$murl}\"></video>"
: "<img src=\"{$murl}\" alt=\"\" loading=\"lazy\">";
echo " <div class=\"ad-variant adv-{$vi}\">\n";
echo " {$wrap_o}<span class=\"ad-label\">Ad</span>{$media}{$wrap_c}\n";
echo " </div>\n";
}
echo " </div>\n";
}
echo '</div>' . "\n";
}
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Live at TyClifford.com/Live — Members Area">
<meta name="author" content="Ty Clifford">
<meta name="keywords" content="Ty Clifford, Live, Podcast, Keyser, West Virginia, Nerd, TikTok">
<meta property="og:url" content="https://tyclifford.com/live/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Ty Clifford — Live! Hobbies are my hobby." />
<meta property="og:title" content="Live TC | TyClifford.com/Live" />
<meta property="og:image" content="" />
<meta property="og:image:alt" content="Live stream" />
<meta name="twitter:site" content="@_tyclifford" />
<meta name="twitter:title" content="Live TC | TyClifford.com/Live" />
<meta name="twitter:description" content="Members live stream area — TyClifford.com">
<title>Live — TyClifford.com</title>
<link rel="shortcut icon" href="/images/ico/fa-bl.ico">
<link rel="apple-touch-icon" href="/images/ico/fa-bl.jpg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Share+Tech+Mono&display=swap" rel="stylesheet">
<style>
/* ── Reset & design tokens (mirrors gate.php exactly) ─────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--bg: #09090f;
--surface: #0f0f1a;
--surface-2: #141425;
--border: #1e1e38;
--border-2: #2a2a48;
--text: #e8e8f8;
--text-2: #9898c0;
--text-3: #58587a;
--green: #00e87a;
--blue: #00c8ff;
--purple: #b060ff;
--red: #ff3355;
--orange: #ff8800;
--yellow: #ffd040;
--pat: #ff424d;
--pat-lite: rgba(255,66,77,.10);
--pat-border: rgba(255,66,77,.32);
--pat-glow: rgba(255,66,77,.18);
--libera: #f6c915; /* Liberapay yellow */
--paypal: #009cde; /* PayPal blue */
--r: 6px;
--gap: 1.25rem;
--page-pad: 1rem;
}
@media (min-width: 600px) { :root { --page-pad: 1.5rem; } }
@media (min-width: 1000px) { :root { --page-pad: 2rem; } }
html {
font-size: 16px;
-webkit-text-size-adjust: 100%;
scroll-behavior: smooth;
}
body {
min-height: 100dvh;
background: var(--bg);
background-image:
radial-gradient(ellipse 70% 50% at 20% 10%, rgba(176,96,255,.05) 0%, transparent 60%),
radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,200,255,.04) 0%, transparent 60%),
radial-gradient(ellipse 50% 60% at 50% 50%, rgba(255,66,77,.03) 0%, transparent 70%);
font-family: 'Inter', system-ui, sans-serif;
color: var(--text);
display: flex;
flex-direction: column;
align-items: center;
}
/* scanline overlay */
body::after {
content: '';
position: fixed; inset: 0; pointer-events: none; z-index: 999;
background: repeating-linear-gradient(
0deg, transparent 0px, transparent 3px,
rgba(0,0,0,.06) 3px, rgba(0,0,0,.06) 4px
);
}
/* ── Animations ──────────────────────────────────────────────────────── */
@keyframes rise {
from { opacity: 0; transform: translateY(14px) scale(.98); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes shimmer {
from { background-position: 0% 50%; }
to { background-position: 200% 50%; }
}
@keyframes pulse-border {
0%,100% { box-shadow: 0 0 0 0 var(--pat-glow); }
50% { box-shadow: 0 0 0 6px transparent; }
}
@keyframes live-pulse {
0%,100% { opacity: 1; }
50% { opacity: .4; }
}
/* ══════════════════════════════════════════════════════════════════════
PAGE WRAPPER
══════════════════════════════════════════════════════════════════════ */
.page {
width: 100%;
max-width: 1100px;
padding: var(--page-pad);
display: flex;
flex-direction: column;
gap: 1.5rem;
animation: rise .45s cubic-bezier(.22,.68,0,1.2) both;
}
/* ══════════════════════════════════════════════════════════════════════
TOP BAR
══════════════════════════════════════════════════════════════════════ */
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.topbar-brand {
display: flex;
align-items: center;
gap: .75rem;
}
.brand-name {
font-size: 1rem;
font-weight: 700;
letter-spacing: -.01em;
color: var(--text);
}
.brand-sub {
font-family: 'Share Tech Mono', monospace;
font-size: .62rem;
letter-spacing: .18em;
text-transform: uppercase;
color: var(--text-3);
}
/* Live badge */
.live-badge {
display: inline-flex;
align-items: center;
gap: .4rem;
padding: .25rem .65rem;
background: rgba(255,51,85,.12);
border: 1px solid rgba(255,51,85,.3);
border-radius: 99px;
font-family: 'Share Tech Mono', monospace;
font-size: .6rem;
letter-spacing: .15em;
text-transform: uppercase;
color: var(--red);
text-shadow: 0 0 8px rgba(255,51,85,.4);
}
.live-dot {
width: 6px; height: 6px;
border-radius: 50%;
background: var(--red);
box-shadow: 0 0 6px rgba(255,51,85,.8);
animation: live-pulse 1.4s ease-in-out infinite;
}
/* Social links in topbar */
.topbar-social {
display: flex;
align-items: center;
gap: .5rem;
}
.social-pill {
display: inline-flex;
align-items: center;
gap: .4rem;
padding: .35rem .75rem;
background: rgba(255,255,255,.03);
border: 1px solid var(--border-2);
border-radius: 99px;
font-family: 'Share Tech Mono', monospace;
font-size: .65rem;
letter-spacing: .08em;
color: var(--text-3);
text-decoration: none;
transition: border-color .2s, color .2s, background .2s;
}
.social-pill:hover {
border-color: var(--border-2);
color: var(--text-2);
background: rgba(255,255,255,.06);
}
.social-pill svg { flex-shrink: 0; }
/* ══════════════════════════════════════════════════════════════════════
STREAM CARD
══════════════════════════════════════════════════════════════════════ */
.stream-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: calc(var(--r) + 2px);
overflow: hidden;
position: relative;
box-shadow:
0 0 0 1px rgba(255,255,255,.03),
0 4px 50px rgba(0,0,0,.6);
}
/* rainbow top rule — same shimmer as gate.php panel-cta */
.stream-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 2px; z-index: 2;
background: linear-gradient(90deg,
var(--pat), var(--purple), var(--blue), var(--green),
var(--blue), var(--purple), var(--pat));
background-size: 300% 100%;
animation: shimmer 5s linear infinite;
}
/* 16:9 responsive container — no JS needed */
.stream-ratio {
position: relative;
width: 100%;
padding-top: 56.25%; /* 9/16 */
background: #000;
}
.stream-ratio iframe {
position: absolute;
inset: 0;
width: 100%; height: 100%;
border: 0;
display: block;
}
/* ── Stream footer bar ───────────────────────────────────────────────── */
.stream-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: .75rem;
padding: .75rem 1.1rem;
border-top: 1px solid var(--border);
flex-wrap: wrap;
}
.stream-meta {
font-family: 'Share Tech Mono', monospace;
font-size: .65rem;
letter-spacing: .1em;
color: var(--text-3);
}
.stream-meta span { color: var(--text-2); }
/* eyebrow used inside stream footer */
.eyebrow {
font-family: 'Share Tech Mono', monospace;
font-size: .62rem;
letter-spacing: .2em;
text-transform: uppercase;
}
.eyebrow-green { color: var(--green); text-shadow: 0 0 10px rgba(0,232,122,.5); }
.eyebrow-green::before { content: '> '; opacity: .5; }
/* ══════════════════════════════════════════════════════════════════════
SUPPORT + INFO GRID
══════════════════════════════════════════════════════════════════════ */
.lower-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}
@media (min-width: 640px) {
.lower-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
.lower-grid { grid-template-columns: 2fr 1fr 1fr; }
}
/* shared card shell */
.card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: calc(var(--r) + 2px);
padding: 1.4rem 1.5rem;
display: flex;
flex-direction: column;
gap: .9rem;
position: relative;
overflow: hidden;
}
/* subtle corner accent — mirrors gate.php .card::after */
.card::after {
content: '';
position: absolute;
bottom: -1px; right: -1px;
width: 14px; height: 14px;
border-bottom: 2px solid var(--purple);
border-right: 2px solid var(--purple);
border-radius: 0 0 calc(var(--r) + 2px) 0;
opacity: .5;
}
.card-title {
font-size: .95rem;
font-weight: 700;
letter-spacing: -.01em;
color: var(--text);
line-height: 1.2;
}
.card-body {
font-size: .85rem;
color: var(--text-2);
line-height: 1.7;
}
.card-body strong { color: var(--text); font-weight: 600; }
.card-body a {
color: var(--pat);
text-decoration: none;
border-bottom: 1px solid rgba(255,66,77,.25);
transition: border-color .15s;
}
.card-body a:hover { border-color: rgba(255,66,77,.6); }
/* ── Support card Patreon left-stripe ───────────────────────────────── */
.card-patreon {
background: var(--surface);
border-color: var(--pat-border);
box-shadow: 0 0 30px rgba(255,66,77,.05);
}
.card-patreon::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0; height: 2px;
background: linear-gradient(90deg,
var(--pat), var(--purple), var(--blue), var(--green),
var(--blue), var(--purple), var(--pat));
background-size: 300% 100%;
animation: shimmer 5s linear infinite;
}
/* ── Donate button stack ─────────────────────────────────────────────── */
.donate-stack {
display: flex;
flex-direction: column;
gap: .55rem;
}
/* Base donate button */
.btn-donate {
display: flex;
align-items: center;
justify-content: center;
gap: .55rem;
padding: .75rem 1.1rem;
border-radius: var(--r);
font-family: 'Inter', sans-serif;
font-size: .85rem;
font-weight: 700;
letter-spacing: .02em;
text-decoration: none;
position: relative;
overflow: hidden;
transition: transform .15s, box-shadow .2s, filter .15s;
min-height: 44px;
}
.btn-donate::before {
content: '';
position: absolute; inset: 0;
background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 60%);
pointer-events: none;
}
.btn-donate:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-donate:active { transform: scale(.98); filter: brightness(.96); }
/* Patreon */
.btn-patreon-donate {
background: var(--pat);
color: #fff;
box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset,
0 4px 18px rgba(255,66,77,.3);
animation: pulse-border 3s ease-in-out infinite;
}
/* Liberapay */
.btn-libera {
background: var(--libera);
color: #1a1400;
box-shadow: 0 4px 18px rgba(246,201,21,.2);
}
/* PayPal */
.btn-paypal {
background: var(--paypal);
color: #fff;
box-shadow: 0 4px 18px rgba(0,156,222,.2);
}
.btn-stripe {
background: #635BFF;
color: #fff;
box-shadow: 0 4px 14px rgba(99,91,255,.2);
}
.payment-methods-row {
display: flex;
align-items: center;
gap: .5rem;
flex-wrap: wrap;
}
.payment-methods-label {
font-family: 'Share Tech Mono', monospace;
font-size: .65rem;
letter-spacing: .06em;
color: var(--text-3);
white-space: nowrap;
}
/* ── Info / about card ───────────────────────────────────────────────── */
.card-about { background: var(--surface-2); }
/* ── Social links card ───────────────────────────────────────────────── */
.card-social { background: var(--surface-2); }
.social-list {
list-style: none;
display: flex;
flex-direction: column;
gap: .5rem;
}
.social-list a {
display: flex;
align-items: center;
gap: .65rem;
padding: .6rem .8rem;
border: 1px solid var(--border-2);
border-radius: var(--r);
font-family: 'Share Tech Mono', monospace;
font-size: .78rem;
color: var(--text-2);
text-decoration: none;
transition: border-color .2s, color .2s, background .2s;
}
.social-list a:hover {
border-color: var(--green);
color: var(--text);
background: rgba(0,232,122,.04);
}
.social-list a svg { flex-shrink: 0; color: var(--text-3); transition: color .2s; }
.social-list a:hover svg { color: var(--green); }
/* ══════════════════════════════════════════════════════════════════════
PAGE FOOTER
══════════════════════════════════════════════════════════════════════ */
.page-footer {
padding: .5rem 0 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 1.5rem;
flex-wrap: wrap;
border-top: 1px solid var(--border);
}
.footer-note {
font-family: 'Share Tech Mono', monospace;
font-size: .63rem;
color: var(--text-3);
letter-spacing: .06em;
text-align: center;
}
.footer-note::before { content: '// '; opacity: .4; }
.footer-note a {
color: var(--text-3);
text-decoration: none;
transition: color .15s;
}
.footer-note a:hover { color: var(--text-2); }
/* ════════════════════════════════════════════════════════════════════════
AD ZONES — gate.php theme
Containers only rendered when active ads exist. Zero DOM impact if empty.
════════════════════════════════════════════════════════════════════════ */
.ad-zone {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
gap: .75rem;
}
.ad-unit {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
}
.ad-creative {
display: block;
line-height: 0;
border-radius: var(--r, 6px);
overflow: hidden;
background: var(--surface-2, #141425);
border: 1px solid var(--border, #1e1e38);
transition: opacity .2s, border-color .2s;
position: relative;
max-width: 100%;
}
a.ad-creative:hover { border-color: var(--green, #00e87a); opacity: .93; }
.ad-creative img,
.ad-creative video {
display: block;
max-width: 100%;
height: auto;
object-fit: cover;
}
.ad-label {
position: absolute; top: 3px; right: 5px;
font-family: 'Share Tech Mono', monospace;
font-size: .46rem; letter-spacing: .1em; text-transform: uppercase;
color: var(--text-3, #58587a);
background: rgba(9,9,15,.72);
padding: .08em .32em; border-radius: 2px;
pointer-events: none; z-index: 2;
}
/* All size variants hidden by default; media queries in per-ad <style> reveal one */
.ad-variant { display: none; }
</style>
</head>
<body>
<main class="page" role="main">
<!-- ═══════════════════════════════════════════════════════════════════════
TOP BAR
═══════════════════════════════════════════════════════════════════════ -->
<header class="topbar">
<div class="topbar-brand">
<div>
<div class="brand-name">Ty Clifford</div>
<div class="brand-sub">tyclifford.com / live</div>
</div>
<!-- <div class="live-badge" aria-label="Live stream">
<span class="live-dot" aria-hidden="true"></span>
Live
</div>-->
</div>
<nav class="topbar-social" aria-label="Social links">
<a class="social-pill" href="https://github.com/snick512" target="_blank" rel="noopener" aria-label="GitHub">
<!-- GitHub icon -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61
c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77
5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0
0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77
a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7
A3.37 3.37 0 0 0 9 18.13V22"/>
</svg>
GitHub
</a>
<a class="social-pill" href="mailto:ty@tyclifford.com" aria-label="Email Ty">
<!-- Email icon -->
<svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<rect x="2" y="4" width="20" height="16" rx="2"/>
<polyline points="2,4 12,13 22,4"/>
</svg>
Email
</a>
</nav>
</header>
<!-- ═══════════════════════════════════════════════════════════════════════
STREAM CARD
═══════════════════════════════════════════════════════════════════════ -->
<section class="stream-card" aria-label="Live stream">
<!-- Pure CSS 16:9 ratio — no layout-shift JS needed -->
<div class="stream-ratio">
<iframe
src="https://stream.place/embed/tyclifford.com"
allowfullscreen
allow="autoplay; fullscreen"
title="Ty Clifford live stream"
></iframe>
</div>
<div class="stream-footer">
<p class="eyebrow eyebrow-green">Stream</p>
<p class="stream-meta">Keyser, WV / <span>tyclifford.com</span></p>
</div>
</section>
<!-- ═══════════════════════════════════════════════════════════════════════
LOWER GRID — Support · About · Social
═══════════════════════════════════════════════════════════════════════ -->
<div class="lower-grid">
<!-- ── Support card ─────────────────────────────────────────────────── -->
<div class="card card-patreon">
<div>
<p class="eyebrow eyebrow-green" style="margin-bottom:.35rem">Support the stream</p>
<h2 class="card-title">Hobbies are my hobby.</h2>
</div>
<p class="card-body">
If you're enjoying the stream, consider throwing a few bucks in the jar.
<strong>Patreon</strong> members keep this going - even a free membership helps.
You can also tip via PayPal, no account needed.
</p>
<div class="donate-stack">
<a class="btn-donate btn-patreon-donate"
href="https://go.tyclifford.com/patreon"
target="_blank" rel="noopener noreferrer"
aria-label="Become a Patreon supporter">
<!-- Patreon P icon -->
<svg width="12" height="14" viewBox="0 0 12 14" fill="white" aria-hidden="true">
<ellipse cx="7.5" cy="4.8" rx="4.5" ry="4.5"/>
<rect x="0" y="0" width="2.8" height="14" rx="1.2"/>
</svg>
Become a Patron
</a>
<a class="btn-donate btn-paypal"
href="https://www.paypal.com/donate/?hosted_button_id=ZDJ9TXPPMNZ6U"
target="_blank" rel="noopener noreferrer"
aria-label="Tip via PayPal">
<!-- PayPal P icon -->
<svg width="13" height="15" viewBox="0 0 24 28" fill="white" aria-hidden="true">
<path d="M7.8 27H3.5L6.3 9.5h7.6c3.1 0 5.3.7 6.4 2 1.1 1.3
<!-- AD ZONE — ABOVE STREAM (hidden when no active ads) -->
<?php if (!empty($ads_above)): render_ad_zone($ads_above, 'above', $size_breakpoints); endif; ?>
1.3 3 .5 5.1-.9 2.4-2.4 4.2-4.5 5.3-2 1-4.5 1.5-7.3
1.5H7l-.8 3.6zm1.1-6.5h1.6c1.5 0 2.8-.3 3.8-.9 1-.6
1.7-1.5 2.1-2.7.4-1.2.2-2-.5-2.6-.7-.5-1.9-.8-3.6-.8H10L8.9
20.5z"/>
</svg>
Tip via PayPal
</a>
<!-- Stripe -->
<a class="btn-donate btn-stripe"
href="https://buy.stripe.com/8x2dRa1cV0ahdTn3gn67S02"
target="_blank" rel="noopener noreferrer"
aria-label="Tip via Stripe">
<!-- Stripe S icon -->
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true">
<path d="M13.479 9.883c-2.116-.562-2.8-.562-2.8-1.237 0-.614.563-.9 1.6-.9
1.333 0 2.746.48 3.69.978l.542-3.337C15.568 5.023 14.238 4.5 12.28 4.5
10.32 4.5 8.68 5.104 7.68 6.194 7 6.97 6.68 7.93 6.68 9.016
c0 1.92.959 3.118 3.196 3.817 1.84.563 2.44.756 2.44 1.39
0 .67-.6 1.005-1.76 1.005-1.44 0-3-.6-4.12-1.36l-.56 3.4
c1.16.72 2.88 1.232 4.68 1.232 1.92 0 3.52-.512 4.52-1.536
.84-.868 1.24-1.92 1.24-3.12 0-2.064-1.12-3.2-2.837-3.96z"
fill="white"/>
</svg>
Live Access Only - $2.10/m
</a>
<!-- Accepted payment methods -->
<div class="payment-methods-row">
<span class="payment-methods-label">Also accepted:</span>
<!-- Apple Pay -->
<svg height="20" viewBox="0 0 54 20" fill="none" aria-label="Apple Pay" role="img">
<title>Apple Pay</title>
<rect width="54" height="20" rx="4" fill="none" stroke="currentColor" stroke-opacity=".2" stroke-width=".75"/>
<path d="M10.5 6.5c.4-.5.7-1.1.6-1.8-.6 0-1.3.4-1.7.9-.4.4-.7 1.1-.6 1.7.7.1 1.3-.3 1.7-.8z" fill="currentColor"/>
<path d="M11.1 7.5c-.9-.1-1.7.5-2.2.5-.5 0-1.2-.5-2-.5C5.8 7.6 4.8 8.4 4.2 9.5
c-1.1 2-.3 4.9.8 6.5.5.8 1.2 1.6 2 1.6.8 0 1.1-.5 2-.5.9 0 1.2.5 2 .5
.8 0 1.5-.8 2-1.5.7-1.1.9-2.1 1-2.2-.1 0-2-1-2-3 0-1.8 1.4-2.6 1.5-2.7
-.8-1.2-2.1-1.3-2.4-1.3z" fill="currentColor"/>
<text x="19" y="14" font-size="8" font-family="inherit" font-weight="500" fill="currentColor">Pay</text>
</svg>
<!-- Google Pay -->
<svg height="20" viewBox="0 0 58 20" fill="none" aria-label="Google Pay" role="img">
<title>Google Pay</title>
<rect width="58" height="20" rx="4" fill="none" stroke="currentColor" stroke-opacity=".2" stroke-width=".75"/>
<path d="M13.5 10c0-.2 0-.4-.1-.6H11v1.1h1.4c-.1.3-.3.6-.6.8v.7h1c.5-.5.7-1.2.7-2z" fill="#4285F4"/>
<path d="M11 14c.7 0 1.3-.2 1.8-.6l-1-.7c-.2.2-.5.3-.8.3-1 0-1.7-.7-2-1.6H7.9v.7c.5 1 1.7 1.9 3.1 1.9z" fill="#34A853"/>
<path d="M9 11.4c-.1-.3-.2-.5-.2-.8s.1-.5.2-.8V9H7.9c-.3.5-.4 1-.4 1.6s.2 1.1.4 1.6l1.1-.8z" fill="#FBBC05"/>
<path d="M11 7.9c.5 0 1 .2 1.3.5l1-.9C12.8 6.7 12 6.4 11 6.4c-1.4 0-2.6.8-3.1 1.9l1.1.9c.3-.9 1-1.3 2-1.3z" fill="#EA4335"/>
<text x="18" y="14" font-size="8" font-family="inherit" font-weight="500" fill="currentColor">Pay</text>
</svg>
<!-- Link by Stripe -->
<svg height="20" viewBox="0 0 52 20" fill="none" aria-label="Link by Stripe" role="img">
<title>Link by Stripe</title>
<rect width="52" height="20" rx="4" fill="none" stroke="currentColor" stroke-opacity=".2" stroke-width=".75"/>
<rect x="3.5" y="6" width="13" height="8" rx="2" fill="#00D66B"/>
<path d="M7 10.5c0-1.1.9-2 2-2 .6 0 1.1.3 1.4.7l.6-.5C10.6 8.3 9.9 8 9 8
c-1.4 0-2.5 1.1-2.5 2.5S7.6 13 9 13c.9 0 1.6-.4 2.1-1l-.6-.5
c-.4.4-.9.6-1.5.6-1.1 0-2-.9-2-1.6z" fill="white"/>
<text x="19" y="14" font-size="8" font-family="inherit" font-weight="500" fill="currentColor">Link</text>
</svg>
</div>
</div>
</div>
<!-- ── About card ────────────────────────────────────────────────────── -->
<div class="card card-about">
<p class="eyebrow eyebrow-green" style="margin-bottom:.1rem">About</p>
<h2 class="card-title">Ty Clifford</h2>
<p class="card-body">
Based in <strong>Keyser, West Virginia</strong>. Nerd, tinkerer, and
creator. Hobbies are my hobby — from tech and podcasting to whatever
rabbit hole I fell into this week.
<br><br>
Follow along on <a href="https://go.tyclifford.com/patreon" target="_blank" rel="noopener">Patreon</a>
and join the conversation.
</p>
</div>
<!-- ── Social links card ─────────────────────────────────────────────── -->
<div class="card card-social">
<p class="eyebrow eyebrow-green" style="margin-bottom:.1rem">Links</p>
<!-- AD ZONE — BELOW STREAM (hidden when no active ads) -->
<?php if (!empty($ads_below)): render_ad_zone($ads_below, 'below', $size_breakpoints); endif; ?>
<h2 class="card-title">Find me online</h2>
<ul class="social-list" aria-label="Social media links">
<li>
<a href="https://github.com/snick512" target="_blank" rel="noopener">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0
0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0
20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38
13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0
5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44
7A3.37 3.37 0 0 0 9 18.13V22"/>
</svg>
github.com/snick512
</a>
</li>
<li>
<a href="mailto:ty@tyclifford.com">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor"
stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<rect x="2" y="4" width="20" height="16" rx="2"/>
<polyline points="2,4 12,13 22,4"/>
</svg>
ty@tyclifford.com
</a>
</li>
<li>
<a href="https://go.tyclifford.com/patreon" target="_blank" rel="noopener">
<svg width="14" height="14" viewBox="0 0 12 14" fill="currentColor" aria-hidden="true">
<ellipse cx="7.5" cy="4.8" rx="4.5" ry="4.5"/>
<rect x="0" y="0" width="2.8" height="14" rx="1.2"/>
</svg>
patreon.com/tyclifford
</a>
</li>
</ul>
</div>
</div><!-- /lower-grid -->
<!-- ═══════════════════════════════════════════════════════════════════════
PAGE FOOTER
═══════════════════════════════════════════════════════════════════════ -->
<footer class="page-footer" role="contentinfo">
<p class="footer-note">TyClifford.com &nbsp;·&nbsp; members area</p>
<p class="footer-note">hobbies are my hobby</p>
<p class="footer-note">
<a href="mailto:ty@tyclifford.com">ty@tyclifford.com</a>
</p>
</footer>
</main>
</body>
</html>
+100
View File
@@ -0,0 +1,100 @@
<?php //require_once('../cfip.php'); ?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="description" content="Member area at TyClifford.com" />
<meta name="author" content="Ty Clifford">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="keywords" content="Ty Clifford, Member area, Podcast, Spotify podcast, Keyser, West Virginia, United States, Nerd, Ty on TikTok, Ty's web space, Freedom of Expression">
<meta property="og:url" content="https://tyclifford.com/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Ty Clifford - Member area - Hobbies are my hobby." />
<meta property="og:title" content="Members area at TyClifford.com" />
<meta property="og:image" content="" />
<meta property="og:image:alt" content="Join members area" />
<meta name="twitter:site" content="@_tyclifford" />
<meta name="twitter:title" content="MEMBERS!" />
<meta name="twitter:description" content="Members area" />
<title>Member area at TyClifford.com - Hobbies are my hobby.</title>
<!-- FAV and TOUCH ICONS -->
<link rel="shortcut icon" href="../images/ico/fa-bl.ico">
<link rel="apple-touch-icon" href="../images/ico/fa-bl.jpg"/>
<!-- FONTS -->
<link rel="stylesheet" type="text/css" href="../css/fonts/hk-grotesk/style.css">
<link rel="stylesheet" type="text/css" href="../css/fonts/fontello/css/fontello.css">
<!-- STYLES -->
<link rel="stylesheet" type="text/css" href="../css/main.css">
<script type="text/javascript"
src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script>
$(document).ready(
function() {
setInterval(function() {
var randomnumber = Math.floor(Math.random() * 100);
$('#show').text(
'I am getting refreshed every 3 seconds..! Random Number ==> '
+ randomnumber);
}, 3000);
});
</script>
</head>
<body class="is-text-align-center is-masked-dark is-text-light" style="background-color: black;">
<!-- CONTENT-WRAP -->
<div class="content-wrap">
<!-- CONTENT -->
<div class="content">
<!-- Radio web player -->
<p><script type='text/javascript'>
var cstrFreePlayerUid = 585978;var cstrFreePlayerTheme = 'color';var cstrFreePlayerColor = '';
</script>
<script type='text/javascript' src='//corscdn.caster.fm/freeplayer/FreePlanPlayerEmbed.js'></script>
<!-- DO NOT REMOVE THE LINKS BELOW, THEY WILL BE HIDDEN (AND WILL HELP US A LOT) -->
<a id='cstrFreePlayerBL1' href='//www.caster.fm/'>Free Shoutcast Hosting</a><a id='cstrFreePlayerBL2' href='//www.caster.fm/'>Radio Stream Hosting</a>
<div id='cstrFreePlayerDiv'></div></p>
<!-- Guest -->
<p><a class="button comment soft-rounded" href="" onclick="Calendly.initPopupWidget({url: 'https://calendly.com/tyclifford/list'});return false;">📅 Be a Guest</a></p>
<br />
<!-- Surveys -->
<span class="highlight blue">Surveys</span><br />
<br />Quality control, <a class="link-1 yellow" target="_blank" href="https://forms.office.com/r/JA5uaFaduA">Submit report</a>.</p>
<!-- Footer -->
<hr />
<p class="is-social-minimal-light"><a class="social-link github" href="https://github.com/snick512/tyclifforddotcomland"></a> <a class="social-link email" href="mailto:ty@tyclifford.com"></a> <a class="social-link twitter" href="https://twitter.com/_tyclifford"></a></p>
</div>
</div>
<!-- CONTENT-WRAP -->
<!-- SCRIPTS -->
<script src="../js/main.js"></script>
<link href="https://assets.calendly.com/assets/external/widget.css" rel="stylesheet">
<script src="https://assets.calendly.com/assets/external/widget.js" type="text/javascript" async></script>
</body>
</html>