Skip to content

Commit

Permalink
Merge pull request #88 from ansiace/main
Browse files Browse the repository at this point in the history
changes some css
  • Loading branch information
vansh-codes authored Oct 12, 2024
2 parents 48143f9 + 19bfd4b commit 34562fb
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 7 deletions.
Binary file added chaosweb-v@2/src/assets/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 14 additions & 6 deletions chaosweb-v@2/src/components/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,25 @@ body {
transform: translateY(-10px);
}
}

.nav{
.nav {
display: flex;
justify-content: center;
align-items: center;
margin: 20px;
}

.nav > img {
.nav>img {
margin: 30px 0 0 0;
border: 1px solid red;
height: 190px;
width: 190px;
border-radius: 50%;
height: 170px;
width: 170px;
box-shadow: 0px 1px 10px skyblue, 0px 1px 20px skyblue;
transition-duration: 0.4s;
}

#chaos-logo:hover{
transform: scale(1.05);
transition-duration: 0.2s;
}

#chaos-header {
Expand All @@ -60,6 +67,7 @@ body {
/* Subtle shadow for depth */
text-align: center;
margin: 30px 0;
margin-left: 40px;
}

#chaos-header span {
Expand Down
2 changes: 1 addition & 1 deletion chaosweb-v@2/src/components/navbar.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect } from "react";
import { useNavigate } from "react-router-dom"; // Import useNavigate for navigation
import "./navbar.css";
import logo from "../assets/logo/ChaosWeb.svg";
import logo from "../assets/logo/logo.png";

const Navbar = () => {
const navigate = useNavigate(); // Initialize navigate hook
Expand Down
10 changes: 10 additions & 0 deletions node_modules/.yarn-integrity

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

6 changes: 6 additions & 0 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


0 comments on commit 34562fb

Please sign in to comment.