Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added UI Header #447 #448

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
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
22 changes: 0 additions & 22 deletions .github/workflows/auto-comment-issue.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/npm-publish.yml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
100 changes: 100 additions & 0 deletions TIC-TAC-TOE-main/paras/public/bar.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
/* .logo1{
width:40px;
height:40px;
opacity:0.9;
}
.navbar{
background-color:#7557F0;
height:90px;
}
#bar{
margin: 0;
width: :100%;
}
#navlinks li{
display:inline;
}
#navlinks{
display: flex;
list-style: none;
gap: 1.5em;
border: 1px solid black;
} */
.container {
max-width: 100%;
margin: 0 ;
}

header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #6854fe;
}

.logo {
font-size: 24px;
font-weight: bold;
}

nav ul {
display: flex;
list-style-type: none;
margin: 0;
padding: 0;
}

nav li {
margin-left: 20px;
}

nav a {
color: #ffffff;
text-decoration: none;
}

.game-mode {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: calc(100vh - 80px);
}

.game-mode h1 {
font-size: 36px;
margin-bottom: 40px;
}

.multiplayer-btn,
.ai-btn {
background-color: #634ffc;
color: #ffffff;
border: none;
padding: 16px 32px;
font-size: 18px;
cursor: pointer;
margin: 10px;
}
#margin{
border:1px solid black;
border-radius: 10px;
padding:1.8px;
background-color: #ffffff;
}
#navbar{
background: linear-gradient(135deg,rgba(238, 107, 177, 0.95),rgba(192, 192, 192, 0.313),gray);
border: 0.5px solid;
border-radius: 8px;
padding:8px;
transform: translateX(-40px);
}
#logo1{
margin-left: 0px;
transform: translateY(10px);
width:40px;
height:40px;
opacity:0.8;

}
File renamed without changes.
File renamed without changes.
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<link rel="stylesheet" href="bar.css">
<meta
name="description"
content="Web site created using create-react-app"
Expand Down Expand Up @@ -94,8 +95,40 @@
<title>TIC TAC TOE</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<div class="container">
<header>

<div class="logo">
<img id="logo1" src="img.png">
TIC TAC TOE
</div>
<nav id="navbar">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Rules</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Sign Up</a></li>
<li><a href="#">Log In</a></li>
</ul>
</nav>
<div id="margin">
<button id="theme1-toggle" aria-label="Toggle Theme">💻</button>
<button id="theme2-toggle" aria-label="Toggle Theme">☀️</button>
<button id="theme3-toggle" aria-label="Toggle Theme">🌙</button>
</div>
</header>

<main>
<section class="game-mode">
<h1>Choose Game Mode</h1>
<button class="multiplayer-btn">Multiplayer</button>
<button class="ai-btn">Play against AI</button>
</section>
</main>
</div>


<div class="follow-us">
<a href="mailto:[email protected]" target="_blank">
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
23 changes: 0 additions & 23 deletions paras/.gitignore

This file was deleted.