From 39564e963e2bc82a9d4e30e61a1a0f2cc88ce552 Mon Sep 17 00:00:00 2001 From: Anton Kupriianov Date: Thu, 17 Apr 2025 12:38:39 -0700 Subject: [PATCH] Refactor Hero and AppRouter components; added Services component and adjusted layout --- src/components/Hero.jsx | 18 +++++++++++++----- src/routers/AppRouter.jsx | 17 ++++++++++++----- 2 files changed, 25 insertions(+), 10 deletions(-) diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 8d237d3..d23c456 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -1,5 +1,6 @@ -import React from 'react'; -import '../scss/components/Hero.scss'; +import React from "react"; +import "../scss/components/Hero.scss"; +import Services from "./Services"; function Hero() { return ( @@ -8,18 +9,25 @@ function Hero() {

Welcome to BattleSnake!!!

Play for Fun!

- A competitive game where your code is the controller. All you need is a web server that responds to the Battlesnake API. + A competitive game where your code is the controller. All you need is + a web server that responds to the Battlesnake API.

- battle snake game + battle snake game
- {/*
Battle
+ {/*
Battle
📈
👁️
Available for Freelance
*/} + {/*
+ +
*/}
); diff --git a/src/routers/AppRouter.jsx b/src/routers/AppRouter.jsx index 91252f8..cff1ce3 100644 --- a/src/routers/AppRouter.jsx +++ b/src/routers/AppRouter.jsx @@ -12,21 +12,27 @@ import LoginPage from "../pages/LoginPage"; import PageCodeEditor from "../pages/CodeEditor"; import PageNotFound from "../pages/PageNotFound"; import Hero from "../components/Hero"; +import Navbar from "../components/Navbar"; +import Services from "../components/Services"; const AppRouter = () => { return (
-
+ {/*
*/} + - - - + // + + + + // } /> + {/* */} } /> { /> } /> +