File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const Navbar: React.FC = () => {
2222 const closeMenu = ( ) => setIsOpen ( false ) ;
2323
2424 return (
25- < nav className = "sticky top-0 z-50 bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-800 transition-colors duration-300 backdrop-blur " >
25+ < nav className = "fixed top-0 left-0 w-full z-50 bg-white dark:bg-gray-900 border-b border-gray-200 dark:border-gray-800 transition-colors" >
2626 < div className = "max-w-7xl mx-auto px-6 py-4 flex items-center justify-between" >
2727
2828 { /* Logo */ }
Original file line number Diff line number Diff line change 11import ActivityFeed from "../components/ActivityFeed" ;
22export default function Activity ( ) {
33 return (
4- < div className = "w-full h-full p-6 bg-gray-50 dark:bg-gray-800" >
4+ < div className = "w-full h-full pt-24 p-6 bg-gray-50 dark:bg-gray-800" >
55 < div className = "max-w-2xl mx-auto" >
66 < h1 className = "text-2xl font-bold mb-4 text-center" >
77 Live GitHub Activity
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import axios from "axios";
33import { useNavigate , Link } from "react-router-dom" ;
44import { ThemeContext } from "../../context/ThemeContext" ;
55import type { ThemeContextType } from "../../context/ThemeContext" ;
6+ import Navbar from "../../components/Navbar" ;
67
78const backendUrl = import . meta. env . VITE_BACKEND_URL ;
89
@@ -48,8 +49,10 @@ const Login: React.FC = () => {
4849 } ;
4950
5051 return (
52+ < >
53+ < Navbar />
5154 < div
52- className = { `min-h-screen h-full w-full flex items-center justify-center relative overflow-hidden ${
55+ className = { `min-h-screen pt-24 h-full w-full flex items-center justify-center relative overflow-hidden ${
5356 mode === "dark"
5457 ? "bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900"
5558 : "bg-gradient-to-br from-slate-100 via-purple-100 to-slate-100"
@@ -160,6 +163,7 @@ const Login: React.FC = () => {
160163
161164 < div className = { `${ mode === "dark" ? "from-slate-900" : "from-slate-100" } absolute bottom-0 left-0 w-full h-20 bg-gradient-to-t to-transparent` } />
162165 </ div >
166+ </ >
163167 ) ;
164168} ;
165169
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ const Home: React.FC = () => {
164164 const totalCount = tab === 0 ? totalIssues : totalPrs ;
165165
166166 return (
167- < Container maxWidth = "lg" sx = { { mt : 4 , minHeight : "80vh" , color : theme . palette . text . primary } } >
167+ < Container maxWidth = "lg" sx = { { pt : 12 , minHeight : "80vh" , color : theme . palette . text . primary } } >
168168 { /* Auth Form */ }
169169 < Paper elevation = { 1 } sx = { { p : 2 , mb : 4 , backgroundColor : theme . palette . background . paper } } >
170170 < form onSubmit = { handleSubmit } >
You can’t perform that action at this time.
0 commit comments