Skip to content
Open
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
349 changes: 349 additions & 0 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,349 @@
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

/* ============================================
BLACK BACKGROUND - MUST BE AFTER @tailwind
============================================ */
html {
background-color: #000000 !important;
}

body {
background-color: #000000 !important;
color: #ffffff;
font-family: var(--font-inter), sans-serif;
overflow-x: hidden;
min-height: 100vh;
margin: 0;
padding: 0;
}

/* === Material Icons === */
.material-symbols-outlined {
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

::selection {
background: #B6B2A5;
color: #000000;
}

/* === Glassmorphism === */
.glass-panel {
backdrop-filter: blur(20px);
border: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Accent Glow === */
.accent-glow {
filter: drop-shadow(0 0 15px rgba(255, 198, 0, 0.3));
}

/* === Scrollbar === */
::-webkit-scrollbar {
width: 6px;
}

::-webkit-scrollbar-track {
background: #111111;
}

::-webkit-scrollbar-thumb {
background: #333333;
border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
background: #B6B2A5;
}

/* ============================================
NEW ROADMAP STYLES
============================================ */

/* ------------------------------------------
ROADMAP LAYOUT — THIS WAS MISSING
.roadmap-section / .roadmap-canvas-container
were referenced in RoadmapSection.jsx but
never defined anywhere, so the container
collapsed to near-zero height.
------------------------------------------ */

.roadmap-section {
position: relative;
width: 100%;
padding: 4rem 1.5rem;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
overflow: hidden;
}

.roadmap-header {
position: relative;
z-index: 10;
text-align: center;
max-width: 800px;
margin-bottom: 2rem;
}

.roadmap-header-tag {
display: inline-block;
font-size: 0.75rem;
letter-spacing: 0.15em;
color: #B6B2A5;
text-transform: uppercase;
margin-bottom: 0.75rem;
}

.roadmap-header-title {
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 700;
line-height: 1.1;
margin-bottom: 1rem;
}

.roadmap-header-subtitle {
color: rgba(255, 255, 255, 0.6);
font-size: 1rem;
line-height: 1.5;
}

.roadmap-canvas-container {
position: relative;
width: 100%;
max-width: 1400px;
height: 70vh;
min-height: 500px;
margin-top: 2rem;
}

.roadmap-legend {
position: absolute;
top: 1.5rem;
right: 1.5rem;
z-index: 20;
display: flex;
flex-direction: column;
gap: 0.5rem;
max-width: 220px;
}

.roadmap-legend-item {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.75rem;
border-radius: 0.5rem;
background: rgba(0, 0, 0, 0.3);
border: 1px solid transparent;
cursor: pointer;
text-align: left;
}

.roadmap-legend-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: block;
background: rgba(255, 255, 255, 0.3);
}

.roadmap-legend-completed .roadmap-legend-dot {
background: #22c55e;
}

.roadmap-legend-current .roadmap-legend-dot {
background: #B6B2A5;
}

.roadmap-legend-locked .roadmap-legend-dot {
background: rgba(255, 255, 255, 0.25);
}

.roadmap-legend-active {
border-color: rgba(255, 198, 0, 0.4);
}

.roadmap-legend-phase {
font-size: 0.65rem;
letter-spacing: 0.05em;
color: rgba(255, 255, 255, 0.5);
text-transform: uppercase;
}

.roadmap-legend-name {
font-size: 0.85rem;
color: #ffffff;
}

.roadmap-loader {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
color: rgba(255, 255, 255, 0.5);
font-size: 0.85rem;
letter-spacing: 0.1em;
}

.roadmap-loader-ring {
width: 32px;
height: 32px;
border: 2px solid rgba(255, 198, 0, 0.15);
border-top-color: #B6B2A5;
border-radius: 50%;
}

@media (max-width: 768px) {
.roadmap-canvas-container {
height: 60vh;
min-height: 400px;
}

.roadmap-legend {
position: static;
flex-direction: row;
flex-wrap: wrap;
max-width: 100%;
margin-top: 1rem;
}
}

@media (max-width: 480px) {
.roadmap-canvas-container {
height: 50vh;
min-height: 350px;
}
}

/* Carbon fiber background pattern */
.roadmap-bg-carbon {
background-image: repeating-linear-gradient(
45deg,
transparent,
transparent 2px,
rgba(255, 255, 255, 0.02) 2px,
rgba(255, 255, 255, 0.02) 4px
);
}

/* Scanline overlay */
.roadmap-scanlines {
background-image: repeating-linear-gradient(
0deg,
transparent,
transparent 2px,
rgba(255, 255, 255, 0.05) 2px,
rgba(255, 255, 255, 0.05) 4px
);
}

/* Roadmap card transitions */
.roadmap-card {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-card:hover {
transform: translateY(-4px);
}

/* Active phase pulse animation */
@keyframes roadmap-pulse {
0%, 100% {
box-shadow: 0 0 20px rgba(255, 198, 0, 0.1);
}
50% {
box-shadow: 0 0 40px rgba(255, 198, 0, 0.2);
}
}

.roadmap-active-phase {
animation: roadmap-pulse 2s ease-in-out infinite;
}

/* Subtask scrollbar */
.roadmap-subtasks::-webkit-scrollbar {
width: 4px;
}

.roadmap-subtasks::-webkit-scrollbar-track {
background: transparent;
}

.roadmap-subtasks::-webkit-scrollbar-thumb {
background: rgba(255, 198, 0, 0.3);
border-radius: 2px;
}

/* Progress bar shimmer */
@keyframes shimmer {
0% {
background-position: -200% 0;
}
100% {
background-position: 200% 0;
}
}

.roadmap-progress-shimmer {
background: linear-gradient(
90deg,
transparent 0%,
rgba(255, 198, 0, 0.3) 50%,
transparent 100%
);
background-size: 200% 100%;
animation: shimmer 2s infinite;
}

/* ============================================
RESPONSIVE ROADMAP
============================================ */

@media (max-width: 768px) {
.roadmap-phase-number {
font-size: 3rem;
}

.roadmap-phase-icon {
font-size: 2rem;
}
}

@media (max-width: 480px) {
.roadmap-phase-number {
font-size: 2rem;
}

.roadmap-phase-icon {
font-size: 1.5rem;
}
}

/* ============================================
ANIMATIONS
============================================ */

@keyframes spin {
to {
transform: rotate(360deg);
}
}

@keyframes pulse-dot {
0%, 100% {
opacity: 1;
transform: scale(1);
}
50% {
opacity: 0.5;
transform: scale(1.4);
}
}
23 changes: 23 additions & 0 deletions app/layout.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import "./globals.css";
import PantherAnimationWrapper from "@/components/PantherAnimationWrapper";

export const metadata = {
title: "HEXAWATTS RACING TEAM | ENGINEERED FOR SPEED",
description:
"Hexawatts Racing Team — Engineering India's fastest collegiate electric racing machines. Precision, telemetry, and uncompromising performance.",
};

export default function RootLayout({ children }) {
return (
<html lang="en">
<body className="bg-black">
<PantherAnimationWrapper
size={850}
opacity={0.75}
glowColor="#00DCC8"
/>
{children}
</body>
</html>
);
}
2 changes: 2 additions & 0 deletions hexa-revanth/app/page.js → app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import Performance from "@/components/Performance";
import Roadmap from "@/components/Roadmap";
import Footer from "@/components/Footer";
import ScrollReveal from "@/components/ScrollReveal";
import PantherAnimation from '@/components/PantherAnimation';


export default function Home() {
return (
Expand Down
File renamed without changes.
Loading