नॉर्डिक आर्किटेक्चर स्टूडियो के लिए एक-पृष्ठ वेबसाइट

Wikiprompt से, मुफ्त प्रॉम्प्ट विश्वकोश

Meng To
योगदानकर्ताMeng ToXस्रोत

12 नव॰ 2026

नॉर्डिक आर्किटेक्चर स्टूडियो के लिए एक-पृष्ठ वेबसाइट क्लॉड कोड के लिए एक संपूर्ण, विस्तृत प्रॉम्प्ट जो एक काल्पनिक नॉर्डिक आर्किटेक्चर स्टूडियो के लिए एक-पेज वेबसाइट बनाने हेतु है, जिसमें स्क्रॉल-स्क्रब्ड हीरो फिल्म, प्रक्रिया अनुभाग, और एक शांत संपादकीय डिज़ाइन शामिल है। लेआउट, रंग, टाइपोग्राफी, व्यवहार, और एक्सेसिबिलिटी के लिए पूर्ण विनिर्देश शामिल हैं।

प्रॉम्प्ट सामग्रीसहेजें

🌐
<!DOCTYPE html> <html lang="hi"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Halden Arkitekter</title> <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+Tight:wght@400;500;600&display=swap" rel="stylesheet"> <style> :root { --paper: #F2EFE9; --ink: #161513; --stone: #6B665E; --hairline: rgba(22,21,19,.14); --oak: #9C6B3C; --max: 1440px; --gutter: 24px; --margin: 40px; } * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { background: var(--paper); color: var(--ink); font-family: 'Inter Tight', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; } ::selection { background: var(--oak); color: var(--paper); } a { color: inherit; text-decoration: none; } img, video { display: block; max-width: 100%; } .container { max-width: var(--max); margin: 0 auto; padding: 0 var(--margin); } .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; } .hairline-top { border-top: 1px solid var(--hairline); } .hairline-bottom { border-bottom: 1px solid var(--hairline); } .grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .display { font-size: clamp(56px, 12vw, 188px); font-weight: 500; letter-spacing: -0.05em; line-height: 0.88; } .oak-text { color: var(--oak); } .stone-text { color: var(--stone); } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; } :focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; } /* Header */ .site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px var(--margin); display: flex; justify-content: space-between; align-items: center; color: #fff; transition: color .3s; max-width: var(--max); margin: 0 auto; } .site-header.on-paper { color: var(--ink); } .wordmark { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; } .nav-links { display: flex; gap: 32px; align-items: center; } .nav-links a { font-size: 15px; } .nav-links a:hover { color: var(--oak); } .btn { border: 1px solid currentColor; padding: 8px 20px; font-size: 14px; border-radius: 2px; transition: background .2s, color .2s; } .btn:hover { background: var(--oak); border-color: var(--oak); color: #fff; } .menu-btn { display: none; background: none; border: 1px solid currentColor; color: inherit; padding: 8px 16px; font-size: 14px; cursor: pointer; border-radius: 2px; } .mobile-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--paper); color: var(--ink); padding: 80px 32px; display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform .3s; z-index: 99; } .mobile-menu.open { transform: translateX(0); } .mobile-menu a { font-size: 20px; } .mobile-menu .btn { align-self: flex-start; } /* Hero */ .hero { height: 520vh; position: relative; } .hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; } .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .hero-scrim-top, .hero-scrim-bottom { position: absolute; left: 0; right: 0; height: 20vh; pointer-events: none; } .hero-scrim-top { top: 0; background: linear-gradient(to bottom, rgba(0,0,0,.4), transparent); } .hero-scrim-bottom { bottom: 0; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); } .hero-title { position: absolute; bottom: 10vh; left: var(--margin); color: #fff; max-width: 800px; opacity: 1; transition: opacity .3s, transform .3s; } .hero-title .display { font-size: clamp(56px, 12vw, 188px); } .hero-title p { font-size: 18px; margin-top: 8px; opacity: .9; } .hero-hint { position: absolute; bottom: 12vh; left: calc(var(--margin) + 600px); color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; } .hero-chapters { position: absolute; bottom: 8vh; right: var(--margin); color: #fff; display: flex; flex-direction: column; gap: 4px; text-align: right; } .hero-chapter { font-size: 13px; opacity: .45; transition: opacity .3s; cursor: pointer; font-variant-numeric: tabular-nums; } .hero-chapter.active { opacity: 1; } .hero-timecode { position: absolute; top: 80px; right: var(--margin); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; } .hero-timecode .line { width: 120px; height: 1px; background: rgba(255,255,255,.3); margin-top: 4px; position: relative; } .hero-timecode .line::after { content: ''; position: absolute; left: 0; top: -1px; height: 3px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--progress, 0)); } .hero-end { position: absolute; bottom: 10vh; left: var(--margin); color: var(--ink); opacity: 0; transition: opacity .3s; max-width: 500px; } .hero-end .display { font-size: clamp(32px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.03em; } .hero-end .btn { margin-top: 24px; display: inline-block; } /* Studio */ .studio { padding: 160px 0 120px; } .studio-statement { font-size: clamp(28px, 4vw, 56px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; max-width: 1100px; margin-bottom: 80px; } .studio-figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline); } .figure { padding: 24px 0; border-right: 1px solid var(--hairline); padding-right: 24px; } .figure:last-child { border-right: none; } .figure .num { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; } .figure .lbl { color: var(--stone); margin-top: 4px; } /* Process */ .process { padding: 120px 0; border-top: 1px solid var(--hairline); } .process .grid-12 { align-items: start; } .process-steps { grid-column: span 5; position: sticky; top: 100px; } .process-step { padding: 20px 0; border-bottom: 1px solid var(--hairline); cursor: pointer; position: relative; } .process-step:first-child { border-top: 1px solid var(--hairline); } .process-step .step-head { display: flex; justify-content: space-between; align-items: baseline; } .process-step .step-num { color: var(--stone); font-size: 14px; } .process-step .step-name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; } .process-step .step-desc { color: var(--stone); font-size: 15px; margin-top: 4px; } .process-step .step-progress { position: absolute; bottom: -1px; left: 0; height: 2px; background: var(--oak); width: 0; transition: width .1s linear; } .process-step.active .step-name { color: var(--oak); } .process-video-wrap { grid-column: span 7; } .process-video-wrap video { width: 100%; border-radius: 2px; } /* Work */ .work { padding: 120px 0; border-top: 1px solid var(--hairline); } .work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); } .work-item { grid-column: span 7; margin-bottom: 80px; } .work-item:nth-child(even) { grid-column: span 5; } .work-item video { width: 100%; border-radius: 2px; background: #000; } .work-caption { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--hairline); margin-top: 12px; font-size: 15px; } .work-caption .num { color: var(--stone); } .work-caption .meta { color: var(--stone); } /* Disciplines */ .disciplines { padding: 120px 0; border-top: 1px solid var(--hairline); } .discipline-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: var(--gutter); padding: 32px 0; border-bottom: 1px solid var(--hairline); align-items: baseline; transition: background .2s; } .discipline-row:hover { background: rgba(156,107,60,.04); } .discipline-row .num { font-size: 18px; color: var(--stone); transition: color .2s; } .discipline-row:hover .num { color: var(--oak); } .discipline-row .name { font-size: 28px; font-weight: 500; letter-spacing: -0.01em; } .discipline-row .desc { color: var(--stone); } .discipline-row .tags { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; } .discipline-row .tag { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--hairline); padding: 2px 10px; border-radius: 2px; color: var(--stone); } /* How we work */ .how { padding: 120px 0; border-top: 1px solid var(--hairline); } .how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gutter); } .how-step { border-top: 1px solid var(--hairline); padding-top: 24px; } .how-step .num { color: var(--stone); font-size: 14px; } .how-step .name { font-size: 24px; font-weight: 500; margin-top: 8px; } .how-step .desc { color: var(--stone); margin-top: 8px; font-size: 15px; } /* FAQ */ .faq { padding: 120px 0; border-top: 1px solid var(--hairline); } details { border-bottom: 1px solid var(--hairline); padding: 24px 0; } details:first-of-type { border-top: 1px solid var(--hairline); } summary { font-size: 20px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; } summary::-webkit-details-marker { display: none; } summary::after { content: '+'; font-size: 24px; color: var(--oak); transition: transform .2s; } details[open] summary::after { transform: rotate(45deg); } .faq-answer { padding-top: 16px; color: var(--stone); max-width: 600px; } /* Contact */ .contact { padding: 160px 0 80px; border-top: 1px solid var(--hairline); } .contact .display { font-size: clamp(40px, 8vw, 120px); line-height: 1; letter-spacing: -0.04em; } .contact a.mail { display: inline-block; font-size: 24px; margin-top: 32px; border-bottom: 2px solid var(--oak); padding-bottom: 4px; } .contact a.mail:hover { color: var(--oak); } .site-footer { padding: 40px 0; border-top: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--stone); } .site-footer .wordmark { font-size: 18px; color: var(--ink); } .site-footer .credit { font-size: 13px; } /* Reduced motion */ @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero { height: 100vh; } .hero-sticky { position: relative; height: 100vh; } .hero-title { opacity: 1; } .hero-end { display: none; } .hero-chapters, .hero-timecode, .hero-hint { display: none; } .process-steps { position: static; } } /* Mobile */ @media (max-width: 760px) { :root { --margin: 20px; } .nav-links { display: none; } .menu-btn { display: block; } .hero-hint { display: none; } .hero-chapters { display: none; } .hero-title .display { font-size: clamp(48px, 15vw, 80px); } .studio-figures { grid-template-columns: repeat(2, 1fr); } .figure:nth-child(2) { border-right: none; } .figure:nth-child(3), .figure:nth-child(4) { border-top: 1px solid var(--hairline); } .process-steps { grid-column: span 12; position: static; } .process-video-wrap { grid-column: span 12; } .work-item, .work-item:nth-child(even) { grid-column: span 12; } .discipline-row { grid-template-columns: 40px 1fr; } .discipline-row .desc { grid-column: 2; } .how-grid { grid-template-columns: repeat(2, 1fr); } .how-step:nth-child(3), .how-step:nth-child(4) { border-top: 1px solid var(--hairline); } .site-footer { flex-direction: column; text-align: center; } } </style> </head> <body> <header class="site-header" id="siteHeader"> <a href="#" class="wordmark">Halden</a> <nav class="nav-links" aria-label="मुख्य नेविगेशन"> <a href="#work">कार्य</a> <a href="#studio">स्टूडियो</a> <a href="#process">प्रक्रिया</a> <a href="#contact">संपर्क</a> <a href="#contact" class="btn">प्रोजेक्ट शुरू करें</a> </nav> <button class="menu-btn" id="menuBtn" aria-label="मेनू खोलें">मेनू</button> </header> <nav class="mobile-menu" id="mobileMenu" aria-label="मोबाइल नेविगेशन"> <a href="#work">कार्य</a> <a href="#studio">स्टूडियो</a> <a href="#process">प्रक्रिया</a> <a href="#contact">संपर्क</a> <a href="#contact" class="btn">प्रोजेक्ट शुरू करें</a> </nav> <main> <!-- Hero --> <section class="hero" id="hero"> <div class="hero-sticky"> <video class="hero-video" id="heroVideo" muted playsinline preload="auto" poster="assets/stills/hero-sky.jpg" aria-label="हेरो फिल्म"> <source src="assets/films/hero.mp4" type="video/mp4"> </video> <div class="hero-scrim-top"></div> <div class="hero-scrim-bottom"></div> <div class="hero-title" id="heroTitle"> <h1 class="display">Halden</h1> <p>आर्किटेक्चर जो एक रेखा से शुरू होती है।</p> </div> <div class="hero-hint">स्क्रॉल करके रिवाइंड करें</div> <div class="hero-chapters" id="heroChapters"> <div class="hero-chapter" data-start="23" data-end="30">आकाश 30–23s</div> <div class="hero-chapter" data-start="18.5" data-end="23">छत 23–18.5s</div> <div class="hero-chapter" data-start="16" data-end="18.5">आंतरिक 18.5–16s</div> <div class="hero-chapter" data-start="10" data-end="16">घर 16–10s</div> <div class="hero-chapter" data-start="3" data-end="10">मॉडल 10–3s</div> <div class="hero-chapter" data-start="0" data-end="3">योजना 3–0s</div> </div> <div class="hero-timecode" id="heroTimecode"> <span id="timecodeText">00:30</span> <div class="line" id="timecodeLine"></div> </div> <div class="hero-end" id="heroEnd"> <p class="display">हम जो भी घर बनाते हैं, वह कागज पर एक रेखा से शुरू होता है।</p> <a href="#process" class="btn">देखें हम कैसे काम करते हैं</a> </div> </div> </section> <!-- Studio --> <section class="studio" id="studio"> <div class="container"> <p class="studio-statement"> ओस्लो में नदी के किनारे एक पुराने प्रिंट वर्क्स में चौदह आर्किटेक्ट। हम ऐसे घर, आंतरिक स्थान और सार्वजनिक भवन डिज़ाइन करते हैं जो रहने में शांत हों और उम्र बढ़ने में धीमे हों। </p> <div class="studio-figures"> <div class="figure"> <div class="num">2012</div> <div class="lbl">स्थापित</div> </div> <div class="figure"> <div class="num">64</div> <div class="lbl">इमारतें</div> </div> <div class="figure"> <div class="num">14</div> <div class="lbl">आर्किटेक्ट</div> </div> <div class="figure"> <div class="num">3</div> <div class="lbl">नॉर्वे, स्वीडन और डेनमार्क</div> </div> </div> </div> </section> <!-- Process --> <section class="process" id="process"> <div class="container"> <div class="grid-12"> <div class="process-steps"> <div class="process-step" data-start="0" data-end="2"> <div class="step-head"> <span class="step-num">01</span> <span class="step-name">योजना</span> </div> <p class="step-desc">साइट की माप और अभिविन्यास को समझना।</p> <div class="step-progress"></div> </div> <div class="process-step" data-start="2" data-end="4.5"> <div class="step-head"> <span class="step-num">02</span> <span class="step-name">दीवारें</span> </div> <p class="step-desc">संरचना और स्थान की रूपरेखा तय करना।</p> <div class="step-progress"></div> </div> <div class="process-step" data-start="4.5" data-end="6.5"> <div class="step-head"> <span class="step-num">03</span> <span class="step-name">छत</span> </div> <p class="step-desc">छत का ढलान और जल निकासी।</p> <div class="step-progress"></div> </div> <div class="process-step" data-start="6.5" data-end="11"> <div class="step-head"> <span class="step-num">04</span> <span class="step-name">क्लैडिंग</span> </div> <p class="step-desc">सामग्री और बाहरी सतह का चयन।</p> <div class="step-progress"></div> </div> <div class="process-step" data-start="11" data-end="15"> <div class="step-head"> <span class="step-num">05</span> <span class="step-name">छत</span> </div> <p class="step-desc">बाहरी और आंतरिक स्थानों का संबंध।</p> <div class="step-progress"></div> </div> <div class="process-step" data-start="15" data-end="25"> <div class="step-head"> <span class="step-num">06</span> <span class="step-name">आंतरिक</span> </div> <p class="step-desc">प्रकाश, सामग्री और विवरण।</p> <div class="step-progress"></div> </div> </div> <div class="process-video-wrap"> <video id="processVideo" muted playsinline preload="metadata" poster="assets/stills/process.jpg" loop aria-label="प्रक्रिया फिल्म"> <source src="assets/films/process.mp4" type="video/mp4"> </video> </div> </div> </div> </section> <!-- Work --> <section class="work" id="work"> <div class="container"> <h2 class="label" style="margin-bottom: 40px;">चयनित कार्य</h2> <div class="work-grid"> <div class="work-item"> <video muted playsinline preload="metadata" poster="assets/stills/work-1.jpg" loop aria-label="विला लिस्निंग"> <source src="assets/films/work-1.mp4" type="video/mp4"> </video> <div class="work-caption"> <span class="num">01</span> <span>विला लिस्निंग</span> <span class="meta">अस्कर, 2025</span> <span class="meta">निजी घर</span> </div> </div> <div class="work-item"> <video muted playsinline preload="metadata" poster="assets/stills/work-2.jpg" loop aria-label="हुस ब्योर्केली"> <source src="assets/films/work-2.mp4" type="video/mp4"> </video> <div class="work-caption"> <span class="num">02</span> <span>हुस ब्योर्केली</span> <span class="meta">रिंगेरिके, 2024</span> <span class="meta">पारिवारिक घर</span> </div> </div> <div class="work-item"> <video muted playsinline preload="metadata" poster="assets/stills/work-3.jpg" loop aria-label="सेडरहुसेट"> <source src="assets/films/work-3.mp4" type="video/mp4"> </video> <div class="work-caption"> <span class="num">03</span> <span>सेडरहुसेट</span> <span class="meta">वैक्सहोम, 2026</span> <span class="meta">ग्रीष्मकालीन घर</span> </div> </div> </div> </div> </section> <!-- Disciplines --> <section class="disciplines" id="disciplines"> <div class="container"> <h2 class="label" style="margin-bottom: 40px;">हम क्या डिज़ाइन करते हैं</h2> <div class="discipline-row"> <span class="num">01</span> <span class="name">घर</span> <div> <p class="desc">एक परिवार के लिए शांत, टिकाऊ स्थान जो पीढ़ियों तक चलें।</p> <div class="tags"> <span class="tag">एकल-परिवार</span> <span class="tag">छुट्टी</span> <span class="tag">शहरी</span> </div> </div> </div> <div class="discipline-row"> <span class="num">02</span> <span class="name">आंतरिक स्थान</span> <div> <p class="desc">सामग्री, प्रकाश और फर्नीचर जो वास्तुकला को पूरा करते हैं।</p> <div class="tags"> <span class="tag">नवीनीकरण</span> <span class="tag">कस्टम फर्नीचर</span> <span class="tag">प्रकाश</span> </div> </div> </div> <div class="discipline-row"> <span class="num">03</span> <span class="name">सार्वजनिक भवन</span> <div> <p class="desc">स्कूल, पुस्तकालय और सांस्कृतिक केंद्र जो समुदाय की सेवा करते हैं।</p> <div class="tags"> <span class="tag">शिक्षा</span> <span class="tag">संस्कृति</span> <span class="tag">नगरपालिका</span> </div> </div> </div> <div class="discipline-row"> <span class="num">04</span> <span class="name">परिदृश्य</span> <div> <p class="desc">बाहरी स्थान जो इमारत और प्रकृति के बीच संबंध बनाते हैं।</p> <div class="tags"> <span class="tag">उद्यान</span> <span class="tag">आंगन</span> <span class="tag">सार्वजनिक स्थान</span> </div> </div> </div> </div> </section> <!-- How we work --> <section class="how" id="how"> <div class="container"> <h2 class="label" style="margin-bottom: 40px;">हम कैसे काम करते हैं</h2> <div class="how-grid"> <div class="how-step"> <span class="num">01</span> <div class="name">साइट पर चलें</div> <p class="desc">हर परियोजना जमीन पर चलने से शुरू होती है, प्रकाश और हवा को महसूस करते हुए।</p> </div> <div class="how-step"> <span class="num">02</span> <div class="name">स्केच</div> <p class="desc">हाथ से स्केच बनाना विचारों को जल्दी और स्वतंत्र रूप से तलाशने का सबसे अच्छा तरीका है।</p> </div> <div class="how-step"> <span class="num">03</span> <div class="name">ड्रा</div> <p class="desc">विस्तृत चित्र और निर्माण दस्तावेज़ जो हर विवरण को स्पष्ट करते हैं।</p> </div> <div class="how-step"> <span class="num">04</span> <div class="name">निर्माण</div> <p class="desc">हम निर्माण के दौरान साइट पर मौजूद रहते हैं, यह सुनिश्चित करते हुए कि सब कुछ सही हो।</p> </div> </div> </div> </section> <!-- FAQ --> <section class="faq" id="faq"> <div class="container"> <h2 class="label" style="margin-bottom: 40px;">प्रश्न</h2> <details> <summary>एक घर बनाने में कितना समय लगता है?</summary> <div class="faq-answer"> <p>एक विशिष्ट घर की परियोजना में डिज़ाइन से लेकर निर्माण तक 18 से 30 महीने लगते हैं, यह जटिलता और स्थानीय अनुमोदन प्रक्रियाओं पर निर्भर करता है।</p> </div> </details> <details> <summary>क्या आप छोटे प्रोजेक्ट लेते हैं?</summary> <div class="faq-answer"> <p>हाँ, हम छोटे नवीनीकरण और आंतरिक परियोजनाओं का स्वागत करते हैं। वे अक्सर हमारे सबसे पुरस्कृत कार्यों में से कुछ होते हैं।</p> </div> </details> <details> <summary>आपकी फीस कैसे काम करती है?</summary> <div class="faq-answer"> <p>हम परियोजना के आकार के आधार पर एक निश्चित शुल्क या समय-आधारित दर पर काम करते हैं। पहली बैठक निःशुल्क है।</p> </div> </details> <details> <summary>क्या आप नॉर्वे के बाहर काम करते हैं?</summary> <div class="faq-answer"> <p>हम मुख्य रूप से स्कैंडिनेविया में काम करते हैं, लेकिन कभी-कभी यूरोप में भी परियोजनाएँ लेते हैं। संपर्क करें और हम देखेंगे कि हम कैसे मदद कर सकते हैं।</p> </div> </details> </div> </section> <!-- Contact --> <section class="contact" id="contact"> <div class="container"> <h2 class="display">अपनी साइट पर चलने के साथ शुरू करें।</h2> <a href="mailto:studio@halden.example" class="mail">studio@halden.example</a> </div> </section> </main> <footer class="site-footer"> <div class="container" style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; width: 100%;"> <span class="wordmark">Halden</span> <div style="display: flex; gap: 24px;"> <a href="#work">कार्य</a> <a href="#studio">स्टूडियो</a> <a href="#process">प्रक्रिया</a> <a href="#contact">संपर्क</a> </div> <span class="credit">फिल्में HeyGen Video 1 से बनाई गईं। Halden Arkitekter एक काल्पनिक स्टूडियो है। यह टेम्पलेट उपयोग के लिए स्वतंत्र है।</span> </div> </footer> <script> (function() { 'use strict'; const prefersReduced = window.matchMedia('(prefers-reduced-motion: reduce)').matches; const isMobile = window.innerWidth <= 760; const heroVideo = document.getElementById('heroVideo'); const heroSection = document.getElementById('hero'); const heroTitle = document.getElementById('heroTitle'); const heroEnd = document.getElementById('heroEnd'); const heroChapters = document.getElementById('heroChapters'); const timecodeText = document.getElementById('timecodeText'); const timecodeLine = document.getElementById('timecodeLine'); const header = document.getElementById('siteHeader'); const menuBtn = document.getElementById('menuBtn'); const mobileMenu = document.getElementById('mobileMenu'); // Mobile menu menuBtn.addEventListener('click', () => { mobileMenu.classList.toggle('open'); menuBtn.textContent = mobileMenu.classList.contains('open') ? 'बंद करें' : 'मेनू'; }); // Hero video setup if (!prefersReduced) { // Try blob fetch for http if (window.location.protocol === 'http:' || window.location.protocol === 'https:') { fetch('assets/films/hero.mp4') .then(r => r.blob()) .then(blob => { heroVideo.src = URL.createObjectURL(blob); }) .catch(() => { // Keep original src }); } let targetTime = 30; let currentTime = 30; let seeking = false; let rafId = null; heroVideo.addEventListener('loadedmetadata', () => { heroVideo.currentTime = 30; currentTime = 30; }); heroVideo.addEventListener('seeked', () => { seeking = false; }); function lerp(a, b, t) { return a + (b - a) * t; } function updateHero() { const rect = heroSection.getBoundingClientRect(); const total = heroSection.offsetHeight - window.innerHeight; const progress = Math.min(Math.max(-rect.top / total, 0), 1); // Map progress to time (end to start) targetTime = 30 - progress * 30; // Smooth time currentTime = lerp(currentTime, targetTime, 0.14); // Set video time if not seeking if (!seeking && Math.abs(currentTime - heroVideo.currentTime) > 0.05) { seeking = true; heroVideo.currentTime = currentTime; } // Title fade if (progress < 0.15) { const opacity = 1 - (progress / 0.15); heroTitle.style.opacity = opacity; heroTitle.style.transform = `translateY(${progress * 40}px)`; } else { heroTitle.style.opacity = 0; } // End content if (progress > 0.88) { const opacity = (progress - 0.88) / 0.12; heroEnd.style.opacity = opacity; } else { heroEnd.style.opacity = 0; } // Timecode const seconds = Math.max(0, Math.round(currentTime)); const mins = Math.floor(seconds / 60); const secs = seconds % 60; timecodeText.textContent = `${String(mins).padStart(2, '0')}:${String(secs).padStart(2, '0')}`; timecodeLine.style.setProperty('--progress', (1 - progress).toFixed(3)); // Chapters const chapters = heroChapters.querySelectorAll('.hero-chapter'); chapters.forEach(ch => { const start = parseFloat(ch.dataset.start); const end = parseFloat(ch.dataset.end); if (currentTime >= start && currentTime <= end) { ch.classList.add('active'); } else { ch.classList.remove('active'); } }); // Header color if (progress > 0.88) { header.classList.add('on-paper'); } else { header.classList.remove('on-paper'); } rafId = requestAnimationFrame(updateHero); } // Start RAF rafId = requestAnimationFrame(updateHero); } else { // Reduced motion: show poster, no scrubbing heroVideo.pause(); heroVideo.currentTime = 30; heroTitle.style.opacity = 1; heroEnd.style.display = 'none'; heroChapters.style.display = 'none'; document.querySelector('.hero-hint').style.display = 'none'; document.querySelector('.hero-timecode').style.display = 'none'; } // Process video const processVideo = document.getElementById('processVideo'); const processSteps = document.querySelectorAll('.process-step'); let processProgress = 0; if (!prefersReduced) { processVideo.addEventListener('timeupdate', () => { const t = processVideo.currentTime; processSteps.forEach(step => { const start = parseFloat(step.dataset.start); const end = parseFloat(step.dataset.end); const isActive = t >= start && t <= end; step.classList.toggle('active', isActive); if (isActive) { const p = ((t - start) / (end - start)) * 100; step.querySelector('.step-progress').style.width = p + '%'; } else { step.querySelector('.step-progress').style.width = '0%'; } }); }); processSteps.forEach(step => { step.addEventListener('click', () => { processVideo.currentTime = parseFloat(step.dataset.start); processVideo.play(); }); }); // IntersectionObserver for process video const processObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { processVideo.play(); } else { processVideo.pause(); } }); }, { threshold: 0.3 }); processObserver.observe(processVideo); } else { processVideo.pause(); } // Work videos const workVideos = document.querySelectorAll('.work-item video'); const workObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { const video = entry.target; if (entry.isIntersecting) { video.play(); } else { video.pause(); } }); }, { threshold: 0.4 }); workVideos.forEach(video => { if (!prefersReduced) { workObserver.observe(video); } else { video.pause(); } }); })(); </script> </body> </html>

पूरा प्रॉम्प्ट देखने के लिए साइन इन करें

Continue with:

By logging in, you agree to our Terms of Use and Privacy Policy

उपयोग

यह प्रॉम्प्ट creative के साथ उपयोग के लिए डिज़ाइन किया गया है। ऊपर प्रॉम्प्ट सामग्री कॉपी करें और अपने पसंदीदा AI टूल में पेस्ट करें।

सर्वोत्तम परिणामों के लिए, आप अपनी विशिष्ट आवश्यकताओं के अनुसार प्लेसहोल्डर (वर्ग कोष्ठक या बड़े अक्षरों में दर्शाए गए) को अनुकूलित कर सकते हैं।

संदर्भ

श्रेणियाँ:creative| twitter| web-design| claude-code

चर्चा