feat: Create Landing Page for IIITBuzz [Task 2]#20
Conversation
Signed-off-by: ujsquared <ujsquared@gmail.com> Signed-off-by: amanraj <raj.aman4001@gmail.com>
Signed-off-by: amanraj <raj.aman4001@gmail.com>
There was a problem hiding this comment.
Summary of Changes
Hello @consoledotaman, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request delivers a brand new, visually striking landing page for unauthorized users of the IIITBuzz platform. The primary objective is to create an inviting and informative entry point that showcases the platform's core functionalities and encourages user registration or login. The changes encompass the creation of several new React components for the landing page sections, the implementation of a unique 'neo-brutalism' design with custom animations and fonts, and a significant update to the application's global styling and root layout to seamlessly integrate this new user experience.
Highlights
- New Landing Page Implementation: A complete, visually distinct landing page has been introduced for unauthorized users, featuring a hero section, key platform features, and a comprehensive footer.
- Modern UI/UX Design: The landing page adopts a 'neo-brutalism' inspired design aesthetic, incorporating pixel fonts, bold borders, and various animations (e.g., glitch, bounce, float, sway) to create an engaging and unique user experience.
- Modular Component Structure: The new landing page is built using a set of dedicated React components (
Hero,FeaturesPage,Footer,Header) for improved code organization and maintainability. - Updated Theming and Styling: The application's global CSS variables have been significantly revamped with a new color palette (using hex codes instead of oklch), and a dedicated
landingpage.cssfile has been added to encapsulate specific styles and animations for the new landing page. - Core Layout Restructuring: The main application layout in
root.tsxhas been updated from a grid-based system to a flexbox-based one, accommodating the new landing page structure and removing the previous global header.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Code Review
This pull request introduces a new landing page for the IIITBuzz application. The review identified critical issues with the dark theme configuration and button interactivity, along with high-severity visual bugs due to invalid Tailwind CSS classes. Additionally, there are medium-severity issues related to maintainability and SEO. Addressing these points will significantly improve the landing page.
| <Button | ||
| size="lg" | ||
| className="neo-brutal-button bg-foreground text-black hover:bg-primary/90 border-primary text-lg px-8 py-6 ghibli-button" | ||
| > | ||
| 🚀 JOIN THE BUZZ | ||
| </Button> | ||
| <Button | ||
| size="lg" | ||
| variant="outline" | ||
| className="neo-brutal-button bg-secondary border-primary text-primary hover:bg-secondary hover:text-black text-lg px-8 py-6 ghibli-button" | ||
| > | ||
| 📖 EXPLORE FIRST | ||
| </Button> | ||
| </div> |
There was a problem hiding this comment.
The main call-to-action buttons "JOIN THE BUZZ" and "EXPLORE FIRST" are not interactive. They should navigate to other pages or trigger an action. Wrap the Button components in a Link component for navigation, or an <a> tag for same-page scrolling. Add import { Link } from 'react-router'; at the top of the file.
<Link to="/signup">
<Button
size="lg"
className="neo-brutal-button bg-foreground text-black hover:bg-primary/90 border-primary text-lg px-8 py-6 ghibli-button"
>
🚀 JOIN THE BUZZ
</Button>
</Link>
<a href="#features">
<Button
size="lg"
variant="outline"
className="neo-brutal-button bg-secondary border-primary text-primary hover:bg-secondary hover:text-black text-lg px-8 py-6 ghibli-button"
>
📖 EXPLORE FIRST
</Button>
</a>| <div className="container mx-auto px-4 text-center relative z-20"> | ||
| <div className="max-w-4xl mx-auto fade-in-up"> | ||
| <div className="flex justify-center mb-8 space-x-4"> | ||
| <div className="w-16 h-16 neo-brutal-card bg-green-200-20 border-green-500 flex items-center justify-center avatar-float"> |
There was a problem hiding this comment.
| text-shadow: | ||
| 2px 2px 0 var(--primary), | ||
| -2px -2px 0 var(--secondary, #333333), | ||
| 2px -2px 0 #ffffff, | ||
| -2px 2px 0 #42f545; |
There was a problem hiding this comment.
The ghibli-title class uses hardcoded colors (#ffffff and #42f545) in its text-shadow. This prevents the component from adapting to different themes and reduces maintainability. Replace these with CSS variables from your theme, such as var(--background) and var(--secondary).
text-shadow:
2px 2px 0 var(--primary),
-2px -2px 0 var(--secondary, #333333),
2px -2px 0 var(--background),
-2px 2px 0 var(--secondary);| } | ||
|
|
||
| export default function Home() { | ||
| export default function HomePage() { |
There was a problem hiding this comment.
Missing metadata for page title and description, which is important for SEO and user experience. Add a meta function to provide these details.
| export default function HomePage() { | |
| import type { Route } from "./+types/_index"; | |
| export function meta(_: Route.MetaArgs) { | |
| return [ | |
| { title: "IIITBuzz | Connect, Learn, Win" }, | |
| { | |
| name: "description", | |
| content: | |
| "The ultimate community platform for IIIT students. Connect, collaborate, and conquer your academic journey.", | |
| }, | |
| ]; | |
| } |
There was a problem hiding this comment.
Yeah, but not so important as will be used internally.
There was a problem hiding this comment.
Please move it to style folder. It maintains consistency.
There was a problem hiding this comment.
assets/styles ?
There was a problem hiding this comment.
Either that but my preferred is src/styles/landingpage.css
|
can we try to get this merged soon? time's ticking away we gotta start working on the main forum CRUD. |
Yeah, let me review this tonight. @consoledotaman please try to make this final according to all the suggestions. Thanks |
neoandmatrix
left a comment
There was a problem hiding this comment.
Amazing PR, all looks good to me. Just few minor suggestions after that let's complete this.
The designs and styles look very good. Amazing work.
|
|
||
| <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-2 gap-8"> | ||
| {featuresPage.map((feature, index) => ( | ||
| <Card |
There was a problem hiding this comment.
To these cards should we add a url that like takes to a dummy route like /upcomming where page just displays comming-soon type text as just initially we will be developing discussion boards only so rest of the appearing non interactive is bit dull imho.
WDYT @ujsquared @iamanishx
| } | ||
|
|
||
| export default function Home() { | ||
| export default function HomePage() { |
There was a problem hiding this comment.
Yeah, but not so important as will be used internally.
Signed-off-by: amanraj <raj.aman4001@gmail.com>
made the required changes. |
neoandmatrix
left a comment
There was a problem hiding this comment.
LGTM, amazing work @consoledotaman .
|
@neoandmatrix @ujsquared on selecting dark we have white bg and on selecting light we have yellowwwww |
|
actually it is recognizing read the index.css u will get to know |
bhaiya you said keep it black & white for now so i made the default like that , didn't do any changes for the light theme. |
han toh put your white black theme as light theme, @burgerphilic18 will quickly port that with a dark theme. |
you kept yellow and white btw |
|
@consoledotaman why docker in gitignore ? |
OK, just need to change the colors in index.css |
yup. my bad |
i didn't add that ... |
Signed-off-by: amanraj <raj.aman4001@gmail.com>
|
switched the dark theme to light , didn't do any color changes for the dark theme its yellow now. |
it was there when i forked it😭 ,i only added the .DS_Store |
yes, don't fold under pressure. good. |
its in ur PR |
okay removing it. |
Signed-off-by: amanraj <raj.aman4001@gmail.com>
|
@consoledotaman nice works 🚀 |




This PR creates a landing page for unauthorised users with prominent login and signup buttons
Checklist
🚀 Brief introduction to IIITBuzz and its purpose as a community forum for IIIT students.
🌟 Key features/highlights of the platform, such as:
💬 Discussion boards
❓ Q&A sections
📅 Event announcements
📚 Study resources
🟧 Prominent call-to-action (CTA) buttons for Sign Up and Log In.
🔗 Footer with links to About, Contact, and relevant policies.
📱 Responsive UI for mobile devices (Collapsed sidebar)