Skip to content

Commit 145b802

Browse files
navbar
1 parent 237df05 commit 145b802

File tree

4 files changed

+8
-180
lines changed

4 files changed

+8
-180
lines changed

client/src/App.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import Dashboard from "./components/Dashboard"
77
import UploadNotes from "./components/UploadNotes";
88
import Navbar from "./components/Navbar";
99
import Landingpage from "./components/Landingpage";
10-
import Anav from "./components/Anav";
1110
import About from "./components/About";
1211
import Team from "./components/Team";
1312
import Studyplanner from "./components/Studyplanner";
@@ -23,7 +22,7 @@ function App() {
2322
<Route path="/dashboard" element={<Dashboard/>} />
2423
<Route path="/uploadnotes" element={<UploadNotes/>} />
2524
<Route path="/Navbar" element={<Navbar/>} />
26-
<Route path="/Anav" element={<Anav/>} />
25+
2726
<Route path="/landing" element={<Landingpage/>} />
2827
<Route path="/about" element={<About/>} />
2928
<Route path="/team" element={<Team/>} />

client/src/components/Anav.jsx

Lines changed: 0 additions & 174 deletions
This file was deleted.

client/src/components/Hero.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
import React from 'react'
22
import Lottie from 'lottie-react';
33
import animation from '../assets/39701-robot-bot-3d.json';
4+
import { Link } from 'react-router-dom';
45
function Hero() {
56
return (
67
<div>
7-
<section className="bg-white dark:bg-violet-900 mt-4">
8+
<section className="bg-white dark:bg-violet-900 mt-4 w-screen">
89
<div className="grid max-w-screen-xl px-4 py-8 mx-auto lg:gap-8 xl:gap-0 lg:py-16 lg:grid-cols-12">
910
<div className="mr-auto place-self-center lg:col-span-7">
1011
<h1 className="max-w-2xl mb-4 text-4xl font-extrabold tracking-tight leading-none md:text-5xl xl:text-6xl dark:text-white">Unlock Your Academic Potential with LearnMateAI</h1>
1112
<p className="max-w-2xl mb-6 font-light text-gray-500 lg:mb-8 md:text-lg lg:text-xl dark:text-gray-400">Personalized Learning for Smarter Results</p>
13+
<Link to='/upload'>
1214
<a href="#" className="inline-flex items-center justify-center px-5 py-3 mr-3 text-base font-medium text-center text-white rounded-lg bg-primary-700 hover:bg-primary-800 focus:ring-4 focus:ring-primary-300 dark:focus:ring-primary-900">
13-
Get started
15+
Upload Notes
1416
<svg className="w-5 h-5 ml-2 -mr-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fillRule="evenodd" d="M10.293 3.293a1 1 0 011.414 0l6 6a1 1 0 010 1.414l-6 6a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-4.293-4.293a1 1 0 010-1.414z" clipRule="evenodd"></path></svg>
1517
</a>
18+
</Link>
1619
<a href="#" className="inline-flex items-center justify-center px-5 py-3 text-base font-medium text-center text-gray-900 border border-gray-300 rounded-lg hover:bg-violet-900 focus:ring-4 focus:ring-gray-100 dark:text-white dark:border-gray-700 dark:hover:bg-gray-700 dark:focus:ring-gray-800">
1720
Watch Video
1821
</a>

client/src/components/Navbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ const Navbar = () => {
5555
Study Planner
5656
</Link>
5757
<Link
58-
to="/login"
58+
to="/dashboard"
5959
className="hover:text-gray-900 px-3 py-2 rounded-md text-sm"
6060
>
61-
Login
61+
Dashboard
6262
</Link>
6363
</div>
6464
</div>

0 commit comments

Comments
 (0)