Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ body::after{content:'';position:fixed;inset:0;pointer-events:none;z-index:9999;o
/* --ls is the tracking; the same amount of left padding balances the trailing letter-space so the text centres. */
.hero-track{padding-left:var(--ls)}
.hero-kicker{--ls:.42em;gap:.55em;font-size:clamp(11px,1.05vw,16px);letter-spacing:var(--ls)}
/* Second kicker line: smaller and lighter, so NIT ROURKELA leads. --ls is in em, so the centring pad shrinks with it. */
.hero-kicker-sub{font-size:.72em;font-weight:500;opacity:.78}
/* Second kicker line: a little smaller and lighter, so NIT ROURKELA leads. --ls is in em, so the centring pad shrinks with it. */
.hero-kicker-sub{font-size:.88em;font-weight:700;opacity:.78}
.hero-title{margin:clamp(10px,2vh,22px) 0 clamp(8px,1.4vh,16px);font-size:clamp(36px,12.4vw,224px)}
.hero-sub{--ls:.32em;gap:18px;font-size:clamp(12px,1.35vw,21px);letter-spacing:var(--ls)}
.hero-sub-rule{width:clamp(24px,4vw,64px);flex:none}
Expand Down
2 changes: 1 addition & 1 deletion src/components/innovision/Loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default function Loader({ v }: { v: V }) {
<div data-l-fade="" style={{ overflow: "hidden" }}>
<div data-l-line="" style={{ fontSize: "12px", fontWeight: "500", letterSpacing: ".34em" }}>
NIT ROURKELA
<span style={{ display: "block", marginTop: "6px", fontSize: "10px", letterSpacing: ".24em", opacity: ".75" }}>STUDENT ACTIVITY CENTRE PRESENTS</span>
<span style={{ display: "block", marginTop: "6px", fontSize: "min(11px, 3.2vw)", fontWeight: "700", letterSpacing: ".24em", opacity: ".75" }}>STUDENT ACTIVITY CENTRE PRESENTS</span>
</div>
</div>
<div data-l-fade="" style={{ overflow: "hidden" }}>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/og-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export async function ogCard({ kicker, kickerSub, title, subtitle }: { kicker: s
{/* eslint-disable-next-line @next/next/no-img-element -- ImageResponse renders plain <img> only */}
<img src={`data:image/png;base64,${logo.toString('base64')}`} alt="" width={84} height={84} style={{ marginBottom: 18 }} />
<div style={{ color: BONE, fontSize: 20, letterSpacing: 6, fontWeight: 700 }}>{kicker}</div>
{kickerSub && <div style={{ color: BONE, opacity: 0.78, fontSize: 14, letterSpacing: 4, fontWeight: 500, marginTop: 8 }}>{kickerSub}</div>}
{kickerSub && <div style={{ color: BONE, opacity: 0.78, fontSize: 17, letterSpacing: 4, fontWeight: 700, marginTop: 8 }}>{kickerSub}</div>}
<div
style={{
display: 'flex', justifyContent: 'center', maxWidth: 470, textAlign: 'center', color: '#fff', fontFamily: 'DM Serif Display',
Expand Down
Loading