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
122 changes: 108 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 22 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
{
"name": "my-project",
"private": true,
"name": "my-project-565",
"version": "0.0.0",
"description": "src game",
"keywords": [
"gaming"
],
"homepage": "https://github.com/Sindhura-Karumuri/scr-game#readme",
"bugs": {
"url": "https://github.com/Sindhura-Karumuri/scr-game/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Sindhura-Karumuri/scr-game.git"
},
"license": "ISC",
"author": "sindhura_karumuri",
"type": "module",
"main": "eslint.config.js",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand All @@ -12,14 +26,20 @@
"dependencies": {
"@gsap/react": "^2.1.1",
"clsx": "^2.1.1",
"framer-motion": "^12.23.9",
"gsap": "^3.12.5",
"lucide-react": "^0.536.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-icons": "^5.4.0",

"react-router-dom": "^7.7.1",
"react-use": "^17.6.0"

"react-use": "^17.6.0",
"sonner": "^2.0.6",
"styled-components": "^6.1.19"

},
"devDependencies": {
"@eslint/js": "^9.15.0",
Expand Down
35 changes: 35 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@

// App.jsx
import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import Navbar from './components/Navbar';
import Footer from './components/Footer';

// Pages
import Home from './pages/Home';
import Nexus from './pages/Nexus';
import Vault from './pages/Vault';
import Prologue from './pages/Prologue';
import About from './pages/About';
import Contact from './pages/Contact';

const App = () => {
return (
<Router>
<main className="relative min-h-screen w-screen overflow-x-hidden">
<Navbar />

<Routes>
<Route path="/" element={<Home />} />
<Route path="/nexus" element={<Nexus />} />
<Route path="/vault" element={<Vault />} />
<Route path="/prologue" element={<Prologue />} />
<Route path="/about" element={<About />} />
<Route path="/contact" element={<Contact />} />
</Routes>

<Footer />
</main>
</Router>

import React from 'react';
import { Toaster } from 'sonner';
import Hero from './components/Hero';
Expand Down Expand Up @@ -144,6 +178,7 @@ const App = () => {
<OnTopBar />
</main>
</GameProvider>

);
};

Expand Down
Loading