Skip to content

Commit ec60922

Browse files
committed
Add locked wallpaper section to Cosmogirl pages
1 parent 382ea9e commit ec60922

1 file changed

Lines changed: 148 additions & 0 deletions

File tree

themes/filmoru/layouts/cosmogirls/single.html

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,38 @@ <h3 class="stats-subhead">Turn-Ons</h3>
105105
</div>
106106
{{ end }}
107107

108+
<!-- Locked Wallpaper Section -->
109+
<section class="wallpaper-locked">
110+
<div class="locked-divider">
111+
<span class="divider-line divider-blue"></span>
112+
<span class="divider-line divider-orange"></span>
113+
<span class="divider-line divider-yellow"></span>
114+
</div>
115+
116+
<div class="locked-content">
117+
<div class="locked-preview">
118+
{{ with .Params.featured_image }}
119+
<img src="{{ $.Site.BaseURL }}{{ strings.TrimPrefix "/" . }}" alt="Wallpaper Preview" class="locked-image">
120+
{{ end }}
121+
<div class="locked-overlay">
122+
<span class="lock-icon">🔒</span>
123+
</div>
124+
</div>
125+
126+
<div class="locked-info">
127+
<span class="locked-badge">プレミアム限定</span>
128+
<h2 class="locked-title">Exclusive Wallpaper</h2>
129+
<p class="locked-desc">Get the HD desktop &amp; mobile wallpaper of <strong>{{ .Params.name }}</strong>. Available this week only.</p>
130+
<ul class="locked-features">
131+
<li>1920x1080 Desktop</li>
132+
<li>Mobile version included</li>
133+
<li>Gone forever after this week</li>
134+
</ul>
135+
<a href="https://ko-fi.com/cassettefuture" target="_blank" class="locked-btn">Join the Crew — $1/mo →</a>
136+
</div>
137+
</div>
138+
</section>
139+
108140
</article>
109141

110142
<style>
@@ -251,5 +283,121 @@ <h3 class="stats-subhead">Turn-Ons</h3>
251283
width: 100%;
252284
height: auto;
253285
}
286+
287+
/* Locked Wallpaper Section */
288+
.wallpaper-locked {
289+
margin-top: var(--space-xl);
290+
}
291+
292+
.locked-divider {
293+
display: flex;
294+
flex-direction: column;
295+
gap: 3px;
296+
max-width: 150px;
297+
margin: var(--space-xl) auto;
298+
}
299+
300+
.locked-content {
301+
display: grid;
302+
grid-template-columns: 1fr 1fr;
303+
gap: var(--space-xl);
304+
background: linear-gradient(135deg, #1B3A5F 0%, #0d1f33 100%);
305+
padding: var(--space-xl);
306+
color: #fff;
307+
}
308+
309+
@media (max-width: 700px) {
310+
.locked-content {
311+
grid-template-columns: 1fr;
312+
}
313+
}
314+
315+
.locked-preview {
316+
position: relative;
317+
overflow: hidden;
318+
aspect-ratio: 16/9;
319+
}
320+
321+
.locked-image {
322+
width: 100%;
323+
height: 100%;
324+
object-fit: cover;
325+
filter: blur(15px) brightness(0.7);
326+
}
327+
328+
.locked-overlay {
329+
position: absolute;
330+
inset: 0;
331+
display: flex;
332+
align-items: center;
333+
justify-content: center;
334+
background: rgba(0,0,0,0.3);
335+
}
336+
337+
.lock-icon {
338+
font-size: 3rem;
339+
}
340+
341+
.locked-info {
342+
display: flex;
343+
flex-direction: column;
344+
justify-content: center;
345+
}
346+
347+
.locked-badge {
348+
display: inline-block;
349+
font-family: var(--font-jp);
350+
font-size: 0.75rem;
351+
background: #E85D04;
352+
padding: 4px 12px;
353+
margin-bottom: var(--space-md);
354+
letter-spacing: 0.1em;
355+
align-self: flex-start;
356+
}
357+
358+
.locked-title {
359+
font-family: var(--font-display);
360+
font-size: 1.5rem;
361+
margin: 0 0 var(--space-sm) 0;
362+
}
363+
364+
.locked-desc {
365+
font-size: 0.95rem;
366+
opacity: 0.9;
367+
margin-bottom: var(--space-md);
368+
line-height: 1.5;
369+
}
370+
371+
.locked-features {
372+
list-style: none;
373+
padding: 0;
374+
margin: 0 0 var(--space-lg) 0;
375+
}
376+
377+
.locked-features li {
378+
padding: var(--space-xs) 0;
379+
font-size: 0.9rem;
380+
}
381+
382+
.locked-features li::before {
383+
content: "✦ ";
384+
color: #FFD000;
385+
}
386+
387+
.locked-btn {
388+
display: inline-block;
389+
background: #E85D04;
390+
color: #fff;
391+
padding: var(--space-md) var(--space-xl);
392+
font-weight: 600;
393+
text-decoration: none;
394+
transition: background 0.2s;
395+
text-align: center;
396+
}
397+
398+
.locked-btn:hover {
399+
background: #FFD000;
400+
color: #1a1a1a;
401+
}
254402
</style>
255403
{{ end }}

0 commit comments

Comments
 (0)