Files
Gabriel Kaszewski 41050de352
All checks were successful
Build and Deploy Gabriel Kaszewski Portfolio / build-and-deploy-local (push) Successful in 1m2s
feat: amber portal border + hidden scrollbar on movie-corner iframe
2026-05-04 23:24:53 +02:00

97 lines
3.5 KiB
TypeScript

import { Metadata } from "next";
export const metadata: Metadata = {
title: "Movie Corner",
description:
"My personal cinema journal — what I watch and how I feel about it.",
};
const MOVIE_REVIEWS_URL =
"https://movies.gabrielkaszewski.dev/users/5d253151-0f6a-4246-9bc5-cb0b5869731b";
const genres = ["Sci-Fi", "Drama", "Family"];
export default function MovieCornerPage() {
return (
<div className="min-h-screen flex flex-col pt-20 gravity-body">
<section className="py-12 px-4 text-center relative">
<div className="absolute inset-0 flex justify-center pointer-events-none">
<div className="w-64 h-32 bg-yellow-400/10 blur-3xl rounded-full mt-4" />
</div>
<div className="relative">
<div className="text-5xl mb-4">🎬</div>
<h1 className="text-4xl md:text-6xl font-bold tracking-widest text-yellow-400 uppercase mb-3">
Movie Corner
</h1>
<p className="text-white/60 text-base md:text-lg mb-8">
What I watch, what I think. A personal cinema journal.
</p>
<blockquote className="border-l-2 border-yellow-400/50 bg-white/5 backdrop-blur-sm rounded-r-lg px-6 py-4 max-w-xl mx-auto text-left mb-8">
<p className="text-white/80 text-sm italic leading-relaxed mb-2">
&ldquo;I&apos;d only give one piece of advice to anyone marrying.
We&apos;re all quite similar in the end. We all get old and tell
the same tales too many times. But try and marry someone
kind.&rdquo;
</p>
<cite className="text-yellow-400/70 text-xs not-italic">
About Time, 2013
</cite>
</blockquote>
<div className="flex justify-center gap-3 flex-wrap">
{genres.map((genre, i) => (
<span
key={genre}
className={`px-4 py-1.5 rounded-full text-sm border ${
i === 0
? "bg-yellow-400/10 border-yellow-400/40 text-yellow-400"
: "bg-white/5 border-white/15 text-white/70"
}`}
>
{genre}
</span>
))}
</div>
</div>
</section>
<section className="flex-1 flex flex-col border-t border-white/10 min-h-0 items-center">
<div className="flex-1 flex flex-col w-full max-w-[1200px] min-h-0 px-4 py-4">
<div
className="flex-1 flex flex-col min-h-0 bg-gradient-to-br from-yellow-400/60 via-amber-400/30 to-yellow-400/50 p-[2px] rounded-lg"
style={{
boxShadow:
"0 0 40px rgba(250,204,21,0.2), 0 0 80px rgba(250,204,21,0.08)",
}}
>
<div className="flex-1 overflow-hidden rounded-md flex flex-col">
<iframe
src={MOVIE_REVIEWS_URL}
title="Gabriel's Movie Reviews"
allow=""
loading="lazy"
className="flex-1 min-h-0"
style={{ width: "calc(100% + 20px)" }}
/>
</div>
</div>
</div>
<div className="py-3 text-center">
<a
href={MOVIE_REVIEWS_URL}
target="_blank"
rel="noopener noreferrer"
className="text-yellow-400/70 text-xs hover:text-yellow-400 transition-colors"
>
Open reviews directly
</a>
</div>
</section>
</div>
);
}