Welcome to our brand-new Next.js Comment Solving Series!
In this episode, we're tackling a real viewer's question:
"How to hide the Navbar on specific pages in Next.js?"
We’ll walk you through the current layout, solve the issue using App Router features, and also explore alternate ways to implement this with Client Components. Plus, you’ll learn how to add a simple back navigation for a better user experience!
------------------------------------------------------------------------
Boost Your Skills with these Pre-Requisite Videos:
Best HTML Course - https://youtu.be/5ccq_nLHneE
Best CSS Course - https://youtu.be/MSICFljRcb4
JavaScript Basics Course Part 1 - https://youtu.be/13gLB6hDHR8
JavaScript Advanced Course Part 2 - https://youtu.be/YwsOCN8woA8
------------------------------------------------------------------------
Build Your Own E-commerce Website for Free! - https://www.thapatechnical.com/2024/03/build-complete-ecommerce-website-using.html
------------------------------------------------------------------------
Join Us!
Become a Member: Unlock perks, free source code, and more Join Now : https://www.youtube.com/channel/UCwfaAHy4zQUb2APNOGXUCCA/join
Connect on Instagram: https://www.instagram.com/thapatechnical
Join Our Discord Server: Hang out with fellow programmers Discord Link: https://discord.gg/MdScmCsua6
------------------------------------------------------------------------
TIMELINE
0:00 - WELCOME TO NEXT.JS COMMENT SOLVING #1
0:40 - READING USER COMMENTS, WHAT WE’RE SOLVING
2:10 - HOW OUR PAGES & LAYOUT CURRENTLY LOOK
3:08 - SOLVING THAT ISSUE: Hide Navbar on Specific Pages
6:02 - ADDING BACK NAVIGATION BUTTON
7:15 - ALTERNATE SOLUTION USING CLIENT COMPONENTS
8:45 - MY MANN KI BAAT: Final Thoughts & Motivation