Tailwind CSS v4 के साथ नियोब्रूटलिज़्म वेबसाइट कैसे बनाएँ (स्टेप-बाय-स्टेप)
जानिए Tailwind CSS v4 का इस्तेमाल करके एक पूरी नियोब्रूटलिस्ट वेबसाइट शुरू से कैसे बनाएँ। यह व्यावहारिक ट्यूटोरियल आपको सेटअप, कॉन्फ़िगरेशन और हर कॉम्पोनेंट को बनाने से गुज़ारता है, ऐसे कोड उदाहरणों के साथ जिन्हें आप कॉपी और पेस्ट कर सकते हैं।
Dov Azencot
@DovAzencotठीक है, डेवलपर्स। कुछ बोल्ड बनाते हैं।
कोई सिद्धांत नहीं। कोई फ़ालतू बात नहीं। बस आप, मैं और एक टर्मिनल। इस ट्यूटोरियल के अंत तक, आपके पास Tailwind CSS v4 से बनी एक पूरी तरह काम करती नियोब्रूटलिस्ट वेबसाइट होगी।
बात हो रही है:
- मोटी काली बॉर्डर
- हार्ड ड्रॉप शैडो
- इलेक्ट्रिक पीले एक्सेंट
- मोटी टाइपोग्राफ़ी
- शून्य गोल कोने
यह "यह रहा एक कॉम्पोनेंट" वाला ट्यूटोरियल नहीं है। हम पूरी लैंडिंग पेज शुरू से बना रहे हैं — हीरो सेक्शन, फ़ीचर, प्राइसिंग, फ़ुटर, सब कुछ। कोड की हर लाइन समझाई गई। हर डिज़ाइन निर्णय का औचित्य दिया गया।
अपनी कॉफ़ी उठाइए। अपना टर्मिनल खोलिए। चलिए ब्रूटल हो जाते हैं।
हम क्या बना रहे हैं
शुरू करने से पहले, यह रहा जो हम बना रहे हैं:
"BoldTask" नाम के एक काल्पनिक SaaS प्रोडक्ट के लिए एक लैंडिंग पेज — एक प्रोजेक्ट मैनेजमेंट टूल जो बाकी सभी प्रोजेक्ट मैनेजमेंट टूल जैसा नहीं दिखता।
पेज में शामिल होगा:
- CTA के साथ हीरो सेक्शन
- फ़ीचर कार्ड
- प्राइसिंग टेबल
- टेस्टिमोनियल सेक्शन
- फ़ुटर
सब कुछ उस पहचानी नियोब्रूटलिस्ट सौंदर्यबोध के साथ: बोल्ड, हाई-कॉन्ट्रास्ट और नज़रअंदाज़ करना नामुमकिन।
टेक स्टैक:
- Tailwind CSS v4 (नवीनतम और बेहतरीन)
- HTML (या React/Next.js अगर आप चाहें)
- Google Fonts (Archivo Black + Space Grotesk)
पूरा करने में समय: 45-60 मिनट अगर आप साथ-साथ करें
स्टेप 1: प्रोजेक्ट सेटअप (5 मिनट)
शून्य से शुरू करते हैं। मैं इस ट्यूटोरियल के लिए एक सरल HTML सेटअप इस्तेमाल कर रहा हूँ, पर आप इसे आसानी से React, Next.js या किसी भी फ़्रेमवर्क के लिए ढाल सकते हैं।
अपना प्रोजेक्ट बनाएँ
mkdir neobrutalism-website
cd neobrutalism-websitenpm इनिशियलाइज़ करें और Tailwind v4 इंस्टॉल करें
npm init -y
npm install tailwindcss@next @tailwindcss/vite@nextनोट: हम Tailwind v4 इंस्टॉल कर रहे हैं (फ़िलहाल बीटा में, पर प्रोडक्शन के लिए काफ़ी स्थिर)। @next टैग आपको v4 देता है।
प्रोजेक्ट संरचना बनाएँ
mkdir src
touch src/index.html src/styles.cssआपकी फ़ोल्डर संरचना ऐसी दिखनी चाहिए:
neobrutalism-website/
├── src/
│ ├── index.html
│ └── styles.css
├── package.json
└── node_modules/
स्टेप 2: Tailwind v4 कॉन्फ़िगर करें (3 मिनट)
Tailwind v4 में एक नया, ज़्यादा साफ़ कॉन्फ़िग सिस्टम है। tailwind.config.js के बजाय, हम सब कुछ CSS में कॉन्फ़िगर करते हैं।
अपनी स्टाइल फ़ाइल बनाएँ
src/styles.css खोलें और जोड़ें:
@import "tailwindcss";
/* Tailwind v4 Theme Configuration */
@theme {
/* Fonts */
--font-family-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
--font-family-display: 'Archivo Black', ui-sans-serif, system-ui, sans-serif;
/* Colors - Neobrutalist Palette */
--color-brutal-yellow: #ffdb33;
--color-brutal-pink: #ff006e;
--color-brutal-cyan: #00f0ff;
--color-brutal-black: #000000;
--color-brutal-white: #ffffff;
--color-brutal-gray: #e5e5e5;
/* Border Radius - Zero for neobrutalism */
--radius-none: 0px;
--radius-sm: 0px;
--radius-md: 0px;
--radius-lg: 0px;
--radius-xl: 0px;
/* Border Widths - Thick */
--border-width-default: 3px;
--border-width-thick: 4px;
--border-width-heavy: 6px;
/* Shadows - Hard offset shadows (no blur) */
--shadow-brutal-sm: 2px 2px 0 0 var(--color-brutal-black);
--shadow-brutal: 4px 4px 0 0 var(--color-brutal-black);
--shadow-brutal-md: 6px 6px 0 0 var(--color-brutal-black);
--shadow-brutal-lg: 8px 8px 0 0 var(--color-brutal-black);
--shadow-brutal-xl: 10px 10px 0 0 var(--color-brutal-black);
/* Spacing adjustments */
--spacing-brutal: 1.5rem;
}
/* Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-family-sans);
background-color: var(--color-brutal-white);
color: var(--color-brutal-black);
line-height: 1.6;
}
/* Custom Utility Classes */
.border-brutal {
border: 4px solid var(--color-brutal-black);
}
.border-brutal-thick {
border: 6px solid var(--color-brutal-black);
}
.shadow-brutal {
box-shadow: var(--shadow-brutal);
}
.shadow-brutal-lg {
box-shadow: var(--shadow-brutal-lg);
}
.shadow-brutal-xl {
box-shadow: var(--shadow-brutal-xl);
}
/* Hover effect - shadow movement */
.btn-brutal {
transition: all 0.15s ease;
}
.btn-brutal:hover {
transform: translate(2px, 2px);
box-shadow: 2px 2px 0 0 var(--color-brutal-black);
}
.btn-brutal:active {
transform: translate(4px, 4px);
box-shadow: 0px 0px 0 0 var(--color-brutal-black);
}हमने अभी क्या किया:
- एक कस्टम कलर पैलेट सेट किया (काला, सफ़ेद, पीला, गुलाबी, सायन)
- सभी border-radius वैल्यू खत्म कीं (नियोब्रूटलिज़्म = तीखे किनारे)
- हार्ड शैडो यूटिलिटीज़ बनाईं (ऑफ़सेट, बिना ब्लर के)
- कस्टम बटन hover इफ़ेक्ट जोड़े जो शैडो के "दबने" की नकल करते हैं
स्टेप 3: HTML संरचना (5 मिनट)
बुनियादी HTML संरचना बनाएँ। src/index.html खोलें:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BoldTask - Project Management That Doesn't Suck</title>
<!-- Google Fonts -->
<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=Archivo+Black&family=Space+Grotesk:wght@400;500;700&display=swap" rel="stylesheet">
<!-- Tailwind CSS -->
<link rel="stylesheet" href="/src/styles.css">
</head>
<body>
<!-- Navigation -->
<nav class="border-b-4 border-brutal-black bg-brutal-white">
<div class="max-w-7xl mx-auto px-6 py-4 flex justify-between items-center">
<div class="text-2xl font-display">BoldTask</div>
<div class="hidden md:flex gap-8">
<a href="#features" class="font-bold hover:text-brutal-pink transition-colors">Features</a>
<a href="#pricing" class="font-bold hover:text-brutal-pink transition-colors">Pricing</a>
<a href="#about" class="font-bold hover:text-brutal-pink transition-colors">About</a>
</div>
<button class="bg-brutal-yellow border-brutal shadow-brutal px-6 py-2 font-bold uppercase btn-brutal">
Sign Up
</button>
</div>
</nav>
<!-- We'll add more sections here -->
<main>
<!-- Hero section will go here -->
<!-- Features section will go here -->
<!-- Pricing section will go here -->
<!-- Testimonial section will go here -->
</main>
<!-- Footer will go here -->
</body>
</html>डेव सर्वर सेट करें
हमें अपने काम का पूर्वावलोकन करने का एक तरीका चाहिए। Vite इस्तेमाल करते हैं:
अपने package.json में यह स्क्रिप्ट जोड़ें:
{
"scripts": {
"dev": "vite src"
}
}अब चलाएँ:
अपने ब्राउज़र में http://localhost:5173 खोलें। आपको BoldTask ब्रांडिंग के साथ एक बुनियादी नेविगेशन बार दिखना चाहिए।
स्टेप 4: हीरो सेक्शन बनाएँ (10 मिनट)
अब बारी है शो के सितारे की। हीरो सेक्शन का बोल्ड होना ज़रूरी है।
इसे <main> टैग के ठीक बाद जोड़ें:
<!-- Hero Section -->
<section class="bg-brutal-yellow min-h-screen flex items-center justify-center px-6 py-20">
<div class="max-w-6xl w-full">
<div class="grid md:grid-cols-2 gap-12 items-center">
<!-- Left Column - Text -->
<div>
<h1 class="font-display text-6xl md:text-8xl uppercase leading-none mb-6">
Task Management That Doesn't Bore You to Death
</h1>
<p class="text-xl md:text-2xl font-bold mb-8 bg-brutal-white border-brutal shadow-brutal-lg p-6">
Stop using the same gray dashboard as everyone else.
BoldTask gives you project management with personality.
</p>
<!-- CTA Buttons -->
<div class="flex flex-col sm:flex-row gap-4">
<button class="bg-brutal-black text-brutal-yellow border-brutal shadow-brutal-lg
px-8 py-4 font-bold text-lg uppercase btn-brutal">
Start Free Trial →
</button>
<button class="bg-brutal-white border-brutal shadow-brutal-lg
px-8 py-4 font-bold text-lg uppercase btn-brutal">
Watch Demo
</button>
</div>
<!-- Social Proof -->
<div class="mt-12 flex items-center gap-8">
<div class="text-center">
<div class="text-4xl font-display">10K+</div>
<div class="text-sm font-bold">Active Users</div>
</div>
<div class="h-12 w-1 bg-brutal-black"></div>
<div class="text-center">
<div class="text-4xl font-display">4.9★</div>
<div class="text-sm font-bold">User Rating</div>
</div>
<div class="h-12 w-1 bg-brutal-black"></div>
<div class="text-center">
<div class="text-4xl font-display">24/7</div>
<div class="text-sm font-bold">Support</div>
</div>
</div>
</div>
<!-- Right Column - Visual Element -->
<div class="relative">
<!-- Main Card -->
<div class="bg-brutal-white border-brutal-thick shadow-brutal-xl p-8 relative z-10">
<div class="bg-brutal-pink h-4 w-20 mb-4"></div>
<div class="h-3 bg-brutal-gray mb-2"></div>
<div class="h-3 bg-brutal-gray w-3/4 mb-6"></div>
<!-- Task Items -->
<div class="space-y-3">
<div class="flex items-center gap-3 p-3 bg-brutal-yellow border-brutal">
<div class="w-5 h-5 border-brutal bg-brutal-black"></div>
<div class="h-2 bg-brutal-black w-full"></div>
</div>
<div class="flex items-center gap-3 p-3 bg-brutal-white border-brutal">
<div class="w-5 h-5 border-brutal"></div>
<div class="h-2 bg-brutal-gray w-4/5"></div>
</div>
<div class="flex items-center gap-3 p-3 bg-brutal-white border-brutal">
<div class="w-5 h-5 border-brutal"></div>
<div class="h-2 bg-brutal-gray w-3/4"></div>
</div>
</div>
</div>
<!-- Floating accent card -->
<div class="absolute -bottom-8 -right-8 bg-brutal-cyan border-brutal-thick
shadow-brutal-lg p-6 w-40 text-center">
<div class="text-3xl font-display mb-2">+47</div>
<div class="text-xs font-bold">Tasks Done Today</div>
</div>
</div>
</div>
</div>
</section>हमने क्या बनाया:
- फ़ुल-स्क्रीन पीला बैकग्राउंड (तुरंत असर)
- Archivo Black का इस्तेमाल करते हुए एक विशाल हेडलाइन
- मोटी बॉर्डर और हार्ड शैडो वाला कॉन्टेंट बॉक्स
- hover इफ़ेक्ट वाले CTA (hover करने पर शैडो हिलती है)
- सोशल प्रूफ़ मेट्रिक्स
- प्रोडक्ट का विज़ुअल मॉकअप (अमूर्त प्रस्तुति)
- गहराई के लिए फ़्लोटिंग एक्सेंट कार्ड
डिज़ाइन निर्णय:
- पीला बैकग्राउंड = ज़्यादा ऊर्जा, नज़रअंदाज़ करना नामुमकिन
- सफ़ेद कॉन्टेंट बॉक्स = कॉन्ट्रास्ट और पदानुक्रम बनाता है
- पीले पर काला CTA = अधिकतम दृश्यता
- फ़्लोटिंग सायन कार्ड = असममिति जोड़ता है (नियोब्रूटलिस्ट सिद्धांत)
स्टेप 5: फ़ीचर सेक्शन (10 मिनट)
फ़ीचर कार्ड बनाते हैं। इसे हीरो सेक्शन के बाद जोड़ें:
<!-- Features Section -->
<section class="bg-brutal-white py-20 px-6">
<div class="max-w-7xl mx-auto">
<!-- Section Header -->
<div class="text-center mb-16">
<h2 class="font-display text-5xl md:text-7xl uppercase mb-6">
Why BoldTask?
</h2>
<p class="text-xl md:text-2xl font-bold max-w-3xl mx-auto">
Because your productivity tool shouldn't put you to sleep
</p>
</div>
<!-- Feature Grid -->
<div class="grid md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="bg-brutal-pink text-brutal-white border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">⚡</div>
<h3 class="font-display text-2xl uppercase mb-4">Lightning Fast</h3>
<p class="font-bold">
No lag. No loading. No waiting. Your tasks appear instantly
because we don't bloat our code with unnecessary animations.
</p>
</div>
<!-- Feature 2 -->
<div class="bg-brutal-cyan border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">🎨</div>
<h3 class="font-display text-2xl uppercase mb-4">Actually Unique</h3>
<p class="font-bold">
Tired of boring dashboards? We built something you'll actually
want to open. Bold colors, zero BS.
</p>
</div>
<!-- Feature 3 -->
<div class="bg-brutal-yellow border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">🔒</div>
<h3 class="font-display text-2xl uppercase mb-4">Privacy First</h3>
<p class="font-bold">
Your data stays yours. No tracking. No selling. No corporate
surveillance. Just your tasks, secured.
</p>
</div>
<!-- Feature 4 -->
<div class="bg-brutal-white border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">📱</div>
<h3 class="font-display text-2xl uppercase mb-4">Mobile Ready</h3>
<p class="font-bold">
Works on your phone, tablet, or desktop. Same bold design,
same fast performance everywhere.
</p>
</div>
<!-- Feature 5 -->
<div class="bg-brutal-white border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">🤝</div>
<h3 class="font-display text-2xl uppercase mb-4">Team Friendly</h3>
<p class="font-bold">
Invite your team. Assign tasks. Track progress. All without
the corporate bloat of "enterprise" tools.
</p>
</div>
<!-- Feature 6 -->
<div class="bg-brutal-white border-brutal-thick shadow-brutal-lg p-8
hover:-translate-y-2 transition-transform">
<div class="text-6xl font-display mb-4">💰</div>
<h3 class="font-display text-2xl uppercase mb-4">Fair Pricing</h3>
<p class="font-bold">
No hidden fees. No "contact sales." Just honest pricing that
makes sense. Pay for what you use.
</p>
</div>
</div>
</div>
</section>हमने क्या बनाया:
- एक रिस्पॉन्सिव ग्रिड में 6 फ़ीचर कार्ड
- विज़ुअल दिलचस्पी के लिए कलर ब्लॉकिंग (गुलाबी, सायन, पीला, सफ़ेद)
- इमोजी आइकन (सरल, अल्हड़, ब्रांड के मुताबिक)
- hover इफ़ेक्ट (hover पर कार्ड ऊपर उठते हैं)
- एक जैसी मोटी बॉर्डर और हार्ड शैडो
डिज़ाइन पैटर्न: गौर करें कि कैसे पहले तीन कार्ड एक्सेंट कलर (गुलाबी, सायन, पीला) इस्तेमाल करते हैं जबकि नीचे के तीन सफ़ेद? यह एक विज़ुअल पदानुक्रम बनाता है — ऊपरी पंक्ति को ज़्यादा ध्यान मिलता है।
स्टेप 6: प्राइसिंग सेक्शन (12 मिनट)
प्राइसिंग टेबल बहुत ज़रूरी हैं। इन्हें ऐसा बनाते हैं कि नज़र से चूकना नामुमकिन हो:
<!-- Pricing Section -->
<section id="pricing" class="bg-brutal-black text-brutal-white py-20 px-6">
<div class="max-w-7xl mx-auto">
<!-- Section Header -->
<div class="text-center mb-16">
<h2 class="font-display text-5xl md:text-7xl uppercase mb-6">
Simple Pricing
</h2>
<p class="text-xl md:text-2xl font-bold max-w-2xl mx-auto">
No tricks. No hidden costs. Just pick a plan and start shipping.
</p>
</div>
<!-- Pricing Grid -->
<div class="grid md:grid-cols-3 gap-8">
<!-- Free Plan -->
<div class="bg-brutal-white text-brutal-black border-brutal-thick shadow-brutal-lg p-8">
<div class="mb-6">
<div class="text-sm font-bold uppercase mb-2 text-gray-600">For Individuals</div>
<h3 class="font-display text-4xl uppercase mb-4">Free</h3>
<div class="text-5xl font-display mb-2">$0</div>
<div class="text-sm font-bold text-gray-600">Forever free</div>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start gap-3">
<span class="text-brutal-yellow text-xl">✓</span>
<span class="font-bold">Up to 10 projects</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-yellow text-xl">✓</span>
<span class="font-bold">Unlimited tasks</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-yellow text-xl">✓</span>
<span class="font-bold">Mobile apps</span>
</li>
<li class="flex items-start gap-3">
<span class="text-gray-400 text-xl">✗</span>
<span class="font-bold text-gray-400">Team collaboration</span>
</li>
<li class="flex items-start gap-3">
<span class="text-gray-400 text-xl">✗</span>
<span class="font-bold text-gray-400">Priority support</span>
</li>
</ul>
<button class="w-full bg-brutal-white border-brutal shadow-brutal
px-6 py-3 font-bold uppercase btn-brutal">
Start Free
</button>
</div>
<!-- Pro Plan (Highlighted) -->
<div class="bg-brutal-yellow text-brutal-black border-brutal-thick shadow-brutal-xl p-8
relative transform md:-translate-y-4">
<!-- Popular Badge -->
<div class="absolute -top-4 left-1/2 -translate-x-1/2 bg-brutal-pink text-brutal-white
border-brutal px-6 py-2 font-bold uppercase text-sm">
Most Popular
</div>
<div class="mb-6 mt-4">
<div class="text-sm font-bold uppercase mb-2">For Professionals</div>
<h3 class="font-display text-4xl uppercase mb-4">Pro</h3>
<div class="text-5xl font-display mb-2">$12</div>
<div class="text-sm font-bold">Per month</div>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Unlimited projects</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Unlimited tasks</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Mobile apps</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Team collaboration (5 members)</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Priority support</span>
</li>
</ul>
<button class="w-full bg-brutal-black text-brutal-yellow border-brutal shadow-brutal-lg
px-6 py-3 font-bold uppercase btn-brutal">
Get Pro →
</button>
</div>
<!-- Team Plan -->
<div class="bg-brutal-cyan text-brutal-black border-brutal-thick shadow-brutal-lg p-8">
<div class="mb-6">
<div class="text-sm font-bold uppercase mb-2">For Teams</div>
<h3 class="font-display text-4xl uppercase mb-4">Team</h3>
<div class="text-5xl font-display mb-2">$29</div>
<div class="text-sm font-bold">Per month</div>
</div>
<ul class="space-y-3 mb-8">
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Everything in Pro</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Unlimited team members</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Advanced analytics</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">Custom integrations</span>
</li>
<li class="flex items-start gap-3">
<span class="text-brutal-black text-xl">✓</span>
<span class="font-bold">24/7 priority support</span>
</li>
</ul>
<button class="w-full bg-brutal-black text-brutal-cyan border-brutal shadow-brutal
px-6 py-3 font-bold uppercase btn-brutal">
Get Team
</button>
</div>
</div>
<!-- Money Back Guarantee -->
<div class="mt-16 text-center">
<div class="inline-block bg-brutal-yellow text-brutal-black border-brutal-thick
shadow-brutal-lg px-8 py-4 font-bold text-lg">
💰 30-Day Money Back Guarantee - No Questions Asked
</div>
</div>
</div>
</section>हमने क्या बनाया:
- साफ़ अंतर के साथ तीन प्राइसिंग टियर
- कलर कोडिंग (सफ़ेद = फ़्री, पीला = लोकप्रिय, सायन = प्रीमियम)
- बीच का कार्ड ऊँचा और बड़ा (सुझाए गए प्लान की ओर ध्यान खींचता है)
- Pro प्लान पर "Most Popular" बैज
- स्पष्टता के लिए फ़ीचर चेकमार्क (✓ और ✗)
- भरोसे के लिए मनी-बैक गारंटी
डिज़ाइन रणनीति:
- काला बैकग्राउंड रंगीन कार्ड को उभार देता है
- बीच का कार्ड थोड़ा उठा हुआ विज़ुअल पदानुक्रम बनाता है
- CTA को एक ही जगह रखना तुलना आसान बनाता है
- अलग-अलग रंग के CTA कार्ड के बैकग्राउंड से मेल खाते हैं
स्टेप 7: टेस्टिमोनियल सेक्शन (8 मिनट)
सोशल प्रूफ़ बिकता है। टेस्टिमोनियल जोड़ते हैं:
<!-- Testimonial Section -->
<section class="bg-brutal-gray py-20 px-6">
<div class="max-w-7xl mx-auto">
<!-- Section Header -->
<div class="text-center mb-16">
<h2 class="font-display text-5xl md:text-7xl uppercase mb-6">
People Love It
</h2>
<p class="text-xl md:text-2xl font-bold max-w-2xl mx-auto">
Don't take our word for it. Here's what actual users say.
</p>
</div>
<!-- Testimonials Grid -->
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="bg-brutal-white border-brutal shadow-brutal-lg p-6">
<div class="text-brutal-yellow text-2xl mb-4">★★★★★</div>
<p class="font-bold mb-6 text-lg">
"Finally, a task manager that doesn't look like it was designed
by accountants. BoldTask actually makes me WANT to check my tasks."
</p>
<div class="flex items-center gap-3">
<div class="w-12 h-12 bg-brutal-pink border-brutal"></div>
<div>
<div class="font-bold">Sarah Chen</div>
<div class="text-sm text-gray-600">Product Designer</div>
</div>
</div>
</div>
<!-- Testimonial 2 -->
<div class="bg-brutal-white border-brutal shadow-brutal-lg p-6">
<div class="text-brutal-yellow text-2xl mb-4">★★★★★</div>
<p class="font-bold mb-6 text-lg">
"I switched from Asana and never looked back. BoldTask is faster,
cleaner, and way more fun to use. Plus it's actually affordable."
</p>
<div class="flex items-center gap-3">
<div class="w-12 h-12 bg-brutal-cyan border-brutal"></div>
<div>
<div class="font-bold">Marcus Rodriguez</div>
<div class="text-sm text-gray-600">Startup Founder</div>
</div>
</div>
</div>
<!-- Testimonial 3 -->
<div class="bg-brutal-white border-brutal shadow-brutal-lg p-6">
<div class="text-brutal-yellow text-2xl mb-4">★★★★★</div>
<p class="font-bold mb-6 text-lg">
"Our whole team uses it now. The bold design actually helps us
stay focused. Weird but true."
</p>
<div class="flex items-center gap-3">
<div class="w-12 h-12 bg-brutal-yellow border-brutal"></div>
<div>
<div class="font-bold">Priya Kapoor</div>
<div class="text-sm text-gray-600">Engineering Manager</div>
</div>
</div>
</div>
</div>
</div>
</section>हमने क्या बनाया:
- एक जैसी स्टाइलिंग वाले तीन टेस्टिमोनियल कार्ड
- स्टार रेटिंग (पीला = ध्यान)
- यूज़र अवतार (फ़ोटो की जगह अमूर्त रंगीन वर्ग)
- विश्वसनीयता के लिए नाम और पदनाम
अमूर्त अवतार क्यों? असली फ़ोटो कॉरपोरेट लग सकती हैं। रंगीन वर्ग अल्हड़, ज्यामितीय नियोब्रूटलिस्ट सौंदर्यबोध बनाए रखते हैं।
स्टेप 8: फ़ुटर (5 मिनट)
हर वेबसाइट को एक फ़ुटर चाहिए। अपने वाले को बोल्ड बनाते हैं:
<!-- Footer -->
<footer class="bg-brutal-black text-brutal-white border-t-4 border-brutal-white py-12 px-6">
<div class="max-w-7xl mx-auto">
<div class="grid md:grid-cols-4 gap-12 mb-12">
<!-- Brand -->
<div>
<div class="font-display text-3xl mb-4">BoldTask</div>
<p class="font-bold text-gray-300">
Project management that doesn't suck.
</p>
</div>
<!-- Product Links -->
<div>
<h4 class="font-display text-lg uppercase mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Features</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Pricing</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Roadmap</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Changelog</a></li>
</ul>
</div>
<!-- Company Links -->
<div>
<h4 class="font-display text-lg uppercase mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">About</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Blog</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Careers</a></li>
<li><a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Contact</a></li>
</ul>
</div>
<!-- Newsletter -->
<div>
<h4 class="font-display text-lg uppercase mb-4">Stay Updated</h4>
<p class="font-bold mb-4 text-gray-300">Get updates about new features.</p>
<div class="flex gap-2">
<input
type="email"
placeholder="Your email"
class="flex-1 bg-brutal-white text-brutal-black border-brutal px-4 py-2
font-bold placeholder:text-gray-400"
/>
<button class="bg-brutal-yellow text-brutal-black border-brutal shadow-brutal
px-4 py-2 font-bold uppercase btn-brutal">
→
</button>
</div>
</div>
</div>
<!-- Bottom Bar -->
<div class="border-t-2 border-gray-700 pt-8 flex flex-col md:flex-row justify-between items-center gap-4">
<div class="font-bold text-gray-400">
© 2026 BoldTask. All rights reserved.
</div>
<div class="flex gap-6">
<a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Privacy</a>
<a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Terms</a>
<a href="#" class="font-bold hover:text-brutal-yellow transition-colors">Twitter</a>
<a href="#" class="font-bold hover:text-brutal-yellow transition-colors">GitHub</a>
</div>
</div>
</div>
</footer>हमने क्या बनाया:
- चार-कॉलम फ़ुटर लेआउट
- ब्रांड, नेविगेशन और न्यूज़लेटर साइनअप
- hover इफ़ेक्ट (लिंक पीले हो जाते हैं)
- ब्रूटल स्टाइलिंग वाला ईमेल इनपुट
- नीचे कॉपीराइट बार
स्टेप 9: पॉलिश और इंटरैक्शन जोड़ना (5 मिनट)
साइट को तराशा हुआ महसूस कराने के लिए कुछ आख़िरी टच जोड़ते हैं।
स्मूद स्क्रॉलिंग
इसे अपने src/styles.css में जोड़ें:
/* Smooth scrolling for anchor links */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar (optional but on-brand) */
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-track {
background: var(--color-brutal-gray);
}
::-webkit-scrollbar-thumb {
background: var(--color-brutal-black);
border: 2px solid var(--color-brutal-gray);
}
::-webkit-scrollbar-thumb:hover {
background: var(--color-brutal-yellow);
}मोबाइल मेन्यू टॉगल
इस JavaScript को क्लोज़िंग </body> टैग से पहले जोड़ें:
<script>
// Mobile menu toggle
const mobileMenuButton = document.createElement('button');
mobileMenuButton.className = 'md:hidden border-brutal bg-brutal-yellow px-4 py-2 font-bold';
mobileMenuButton.textContent = 'MENU';
const nav = document.querySelector('nav > div');
const navLinks = nav.querySelector('.hidden');
// This is a simple example - you'd want to make this more robust
mobileMenuButton.addEventListener('click', () => {
navLinks.classList.toggle('hidden');
navLinks.classList.toggle('flex');
});
// Add button to nav (you'd do this more elegantly in production)
</script>परफ़ॉर्मेंस ऑप्टिमाइज़ेशन
इन मेटा टैग को अपने <head> में जोड़ें:
<!-- Preload critical fonts -->
<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Grotesk:wght@400;500;700&display=swap">
<!-- Meta tags for SEO and social -->
<meta name="description" content="BoldTask - Project management that doesn't suck. Bold design, fast performance, fair pricing.">
<meta property="og:title" content="BoldTask - Project Management That Doesn't Suck">
<meta property="og:description" content="Stop using boring task managers. BoldTask gives you project management with personality.">
<meta property="og:image" content="/og-image.png">
<meta name="twitter:card" content="summary_large_image">स्टेप 10: टेस्टिंग और सुधार (5 मिनट)
अब अपनी वेबसाइट टेस्ट करें:
रिस्पॉन्सिव टेस्टिंग
DevTools (F12) खोलें और इन ब्रेकपॉइंट को टेस्ट करें:
- मोबाइल (375px)
- टैबलेट (768px)
- डेस्कटॉप (1280px)
पक्का करें कि:
- टेक्स्ट सभी साइज़ में पठनीय हो
- बटन मोबाइल पर टैप करने लायक हों (कम से कम 44px ऊँचे)
- ग्रिड लेआउट सही ढंग से सिमटें
- छोटी स्क्रीन पर शैडो कटें नहीं
एक्सेसिबिलिटी जाँच
इस चेकलिस्ट से गुज़रें:
- सभी इंटरैक्टिव एलिमेंट कीबोर्ड से सुलभ हों (Tab से पेज घूमें)
- कलर कॉन्ट्रास्ट WCAG AA मानकों पर खरा उतरे (सफ़ेद पर काला ✓, सफ़ेद पर पीला ✓)
- इमेज में alt टेक्स्ट हो (हमने div इस्तेमाल किए, पर अगर आप इमेज जोड़ें, तो alt टेक्स्ट जोड़ें)
- फ़ॉर्म इनपुट में लेबल हों
- focus स्टेट दिखाई दें
परफ़ॉर्मेंस जाँच
Chrome DevTools में Lighthouse खोलें और एक ऑडिट चलाएँ। आपको दिखना चाहिए:
- परफ़ॉर्मेंस: 90+ (न्यूनतम CSS, कोई भारी फ़्रेमवर्क नहीं)
- एक्सेसिबिलिटी: 90+ (ज़्यादा कॉन्ट्रास्ट, सिमेंटिक HTML)
- बेस्ट प्रैक्टिस: 90+
- SEO: 90+
अगर स्कोर कम हैं, तो आम सुधार:
- इमेज में
widthऔरheightजोड़ें - प्रोडक्शन में CSS मिनिफ़ाई करें
- कैशिंग हेडर चालू करें
- इमेज कंप्रेस करें
बोनस: React/Next.js में बदलना
इसे किसी React ऐप में इस्तेमाल करना चाहते हैं? यहाँ बताया गया है कि हीरो सेक्शन को कैसे बदलें:
// components/Hero.tsx
export default function Hero() {
return (
<section className="bg-brutal-yellow min-h-screen flex items-center justify-center px-6 py-20">
<div className="max-w-6xl w-full">
<div className="grid md:grid-cols-2 gap-12 items-center">
{/* Left Column */}
<div>
<h1 className="font-display text-6xl md:text-8xl uppercase leading-none mb-6">
Task Management That Doesn't Bore You to Death
</h1>
<p className="text-xl md:text-2xl font-bold mb-8 bg-brutal-white border-brutal shadow-brutal-lg p-6">
Stop using the same gray dashboard as everyone else.
BoldTask gives you project management with personality.
</p>
<div className="flex flex-col sm:flex-row gap-4">
<button className="bg-brutal-black text-brutal-yellow border-brutal shadow-brutal-lg
px-8 py-4 font-bold text-lg uppercase btn-brutal">
Start Free Trial →
</button>
<button className="bg-brutal-white border-brutal shadow-brutal-lg
px-8 py-4 font-bold text-lg uppercase btn-brutal">
Watch Demo
</button>
</div>
{/* Social Proof */}
<div className="mt-12 flex items-center gap-8">
<div className="text-center">
<div className="text-4xl font-display">10K+</div>
<div className="text-sm font-bold">Active Users</div>
</div>
<div className="h-12 w-1 bg-brutal-black"></div>
<div className="text-center">
<div className="text-4xl font-display">4.9★</div>
<div className="text-sm font-bold">User Rating</div>
</div>
</div>
</div>
{/* Right Column - Visual */}
<div className="relative">
<div className="bg-brutal-white border-brutal-thick shadow-brutal-xl p-8 relative z-10">
{/* Task mockup */}
<div className="bg-brutal-pink h-4 w-20 mb-4"></div>
<div className="h-3 bg-brutal-gray mb-2"></div>
<div className="h-3 bg-brutal-gray w-3/4 mb-6"></div>
<div className="space-y-3">
<div className="flex items-center gap-3 p-3 bg-brutal-yellow border-brutal">
<div className="w-5 h-5 border-brutal bg-brutal-black"></div>
<div className="h-2 bg-brutal-black w-full"></div>
</div>
<div className="flex items-center gap-3 p-3 bg-brutal-white border-brutal">
<div className="w-5 h-5 border-brutal"></div>
<div className="h-2 bg-brutal-gray w-4/5"></div>
</div>
</div>
</div>
<div className="absolute -bottom-8 -right-8 bg-brutal-cyan border-brutal-thick
shadow-brutal-lg p-6 w-40 text-center">
<div className="text-3xl font-display mb-2">+47</div>
<div className="text-xs font-bold">Tasks Done Today</div>
</div>
</div>
</div>
</div>
</section>
);
}फिर अपने tailwind.config.ts में:
import type { Config } from 'tailwindcss'
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-space-grotesk)', 'sans-serif'],
display: ['var(--font-archivo-black)', 'sans-serif'],
},
colors: {
'brutal-yellow': '#ffdb33',
'brutal-pink': '#ff006e',
'brutal-cyan': '#00f0ff',
'brutal-black': '#000000',
'brutal-white': '#ffffff',
'brutal-gray': '#e5e5e5',
},
boxShadow: {
'brutal-sm': '2px 2px 0 0 #000',
'brutal': '4px 4px 0 0 #000',
'brutal-lg': '6px 6px 0 0 #000',
'brutal-xl': '8px 8px 0 0 #000',
},
borderWidth: {
'brutal': '4px',
'brutal-thick': '6px',
},
},
},
plugins: [],
}
export default configआम गलतियाँ और उनसे कैसे बचें
दर्जनों नियोब्रूटलिस्ट साइटें बनाने के बाद, यहाँ वे गड्ढे हैं जो मुझे सबसे ज़्यादा दिखते हैं:
1. असंगत बॉर्डर की चौड़ाई
गलती: कुछ एलिमेंट पर 2px बॉर्डर, कुछ पर 5px, और कहीं और 3px इस्तेमाल करना।
सुधार: 2-3 बॉर्डर की चौड़ाई चुनें (जैसे, 3px स्टैंडर्ड, ज़ोर के लिए 4px, बड़े एलिमेंट के लिए 6px) और पूरे में उन्हीं पर टिके रहें।
2. मोबाइल शैडो ऑफ़सेट भूल जाना
गलती: मोबाइल पर 10px शैडो ऑफ़सेट जो कट जाते हैं या हॉरिज़ॉन्टल स्क्रॉल पैदा करते हैं।
सुधार: रिस्पॉन्सिव शैडो यूटिलिटीज़ इस्तेमाल करें:
.card {
box-shadow: 4px 4px 0 0 #000;
}
@media (min-width: 768px) {
.card {
box-shadow: 8px 8px 0 0 #000;
}
}3. बहुत ज़्यादा एक्सेंट कलर
गलती: यह सोचकर 5 या ज़्यादा कलर इस्तेमाल करना कि "ज़्यादा = ज़्यादा ब्रूटल।"
सुधार: काला + सफ़ेद + ज़्यादा से ज़्यादा 2-3 एक्सेंट कलर तक टिके रहें। हमारा पैलेट पीला, गुलाबी और सायन इस्तेमाल करता है — यह पहले ही हद पर है।
4. एक्सेसिबिलिटी की अनदेखी
गलती: सफ़ेद बैकग्राउंड पर पीला टेक्स्ट (न पढ़ा जा सके), कोई focus स्टेट नहीं, कमज़ोर कॉन्ट्रास्ट।
सुधार: हमेशा कॉन्ट्रास्ट टेस्ट करें। पीले/सफ़ेद बैकग्राउंड पर काला टेक्स्ट, काले/गहरे बैकग्राउंड पर सफ़ेद टेक्स्ट इस्तेमाल करें।
5. सॉफ़्ट शैडो का चुपके से घुसना
गलती: गलती से Tailwind की डिफ़ॉल्ट शैडो (shadow-lg) इस्तेमाल करना जिनमें ब्लर होता है।
सुधार: कस्टम शैडो यूटिलिटीज़ बनाएँ और ज़रूरत हो तो डिफ़ॉल्ट शैडो बंद कर दें।
अगले कदम और संसाधन
बधाई हो। आपने अभी शुरू से एक पूरी नियोब्रूटलिस्ट वेबसाइट बना ली।
आगे क्या करें
1. इसे डिप्लॉय करें
# Build for production
npm run build
# Deploy to Vercel, Netlify, or wherever2. फ़ंक्शनैलिटी जोड़ें
- न्यूज़लेटर फ़ॉर्म को किसी सेवा से जोड़ें (ConvertKit, Mailchimp)
- प्राइसिंग CTA को Stripe के साथ लागू करें
- एनालिटिक्स जोड़ें (Plausible, Fathom)
3. डिज़ाइन सिस्टम बढ़ाएँ
- और कॉम्पोनेंट बनाएँ (मोडल, ड्रॉपडाउन, टूलटिप)
- अतिरिक्त पेज बनाएँ (अबाउट, ब्लॉग, कॉन्टैक्ट)
- डार्क मोड जोड़ें (नियोब्रूटलिज़्म डार्क मोड में भी बढ़िया काम करता है)
4. और ऑप्टिमाइज़ करें
- CSS और HTML मिनिफ़ाई करें
- इमेज ऑप्टिमाइज़ेशन जोड़ें
- कैशिंग रणनीतियाँ लागू करें
- और भी बेहतर परफ़ॉर्मेंस के लिए किसी स्टैटिक साइट जेनरेटर पर विचार करें
मददगार संसाधन
डिज़ाइन प्रेरणा:
- Brutalist Websites - चुनिंदा संग्रह
- Gumroad - सही तरीके से किया गया नियोब्रूटलिज़्म
- Feastables - अल्हड़ नियोब्रूटलिस्ट ई-कॉमर्स
टूल:
- Neobrutalism - पहले से बने नियोब्रूटलिस्ट कॉम्पोनेंट
- Tailwind CSS v4 Docs - आधिकारिक डॉक्यूमेंटेशन
- Google Fonts - फ़्री फ़ॉन्ट (Archivo Black, Space Grotesk)
कलर पैलेट जेनरेटर:
- Coolors - कलर स्कीम जेनरेट करें
- Adobe Color - कलर व्हील और पैलेट टूल
आख़िरी बातें
आपने अभी एक नियोब्रूटलिस्ट वेबसाइट शून्य से डिप्लॉय तक एक घंटे से भी कम में बना ली। यह वाकई ज़बरदस्त है।
मुख्य बातें:
- नियोब्रूटलिज़्म = मोटी बॉर्डर + हार्ड शैडो + बोल्ड कलर + शून्य border-radius
- Tailwind v4 का
@themeडायरेक्टिव कस्टमाइज़ेशन को ज़्यादा साफ़ बनाता है - संगति बहुत ज़रूरी है (बॉर्डर की चौड़ाई, शैडो, कलर)
- एक्सेसिबिलिटी अब भी मायने रखती है (ज़्यादा कॉन्ट्रास्ट मदद करता है)
- एक मज़बूत डिज़ाइन सिस्टम से शुरू करें, फिर कॉम्पोनेंट बनाएँ
यह साइट सिर्फ़ एक डेमो नहीं है — यह एक टेम्प्लेट है जिसे आप असली प्रोजेक्ट के लिए ढाल सकते हैं। कलर बदलें, फ़ॉन्ट बदलें, शैडो समायोजित करें, इसे अपना बनाएँ।
नियोब्रूटलिज़्म की सबसे अच्छी बात? यह उदार है। अपूर्णता इस सौंदर्यबोध का हिस्सा है। आपकी थोड़ी टेढ़ी बॉर्डर या केंद्र से हटा हुआ एलिमेंट? वह कोई बग नहीं, वह कैरेक्टर है।
अब जाइए और कुछ बोल्ड बनाइए जो बाकी सबके पोर्टफ़ोलियो/SaaS/लैंडिंग पेज जैसा न दिखे।
और अगर आप पहले से बने कॉम्पोनेंट चाहते हैं ताकि और तेज़ी से आगे बढ़ सकें, तो Neobrutalism देखें। यह वही सौंदर्यबोध है, कॉपी-पेस्ट कॉम्पोनेंट के रूप में पैक किया हुआ।
बनाने का आनंद लें। 🚀
कोई सवाल है? एक कमेंट छोड़ें या Twitter पर संपर्क करें। मुझे यह देखना पसंद है कि लोग इस स्टाइल से क्या बनाते हैं।
पूरा कोड चाहिए? पूरी HTML फ़ाइल एक GitHub Gist के रूप में उपलब्ध है (लिंक कमेंट में)।
यह मददगार लगा? इसे किसी ऐसे डेवलपर के साथ शेयर करें जिसे उबाऊ डिज़ाइन के जाल से निकलना है।