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

Changes in HTML and CSS files to fix the problems #218

Open
wants to merge 2 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
109 changes: 109 additions & 0 deletions paras/public/first.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,111 @@

body {
font-family: 'Poppins', sans-serif;
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
}

#root {
flex: 1;
}

.follow-us {
background-color: #58ed64;
padding: 8px;
text-align: center;
margin-top: auto;
}

.follow-us h1 {
color: #fff;
font-size: 40px;
margin-bottom: 15px;
}

.follow-us a {
margin: 0 10px;
color: grey;
text-decoration: none;
}

.follow-us a:hover {
color: #007bff;
}

.follow-us a:focus {
outline: 2px solid #007bff;
outline-offset: 2px;
}

.follow-us a img {
width: 30px;
height: 30px;
filter: grayscale(100%);
transition: filter 0.3s;
}

.follow-us a:hover img {
filter: grayscale(0%);
}

@media (max-width: 600px) {
.follow-us a img {
width: 25px;
height: 25px;
}

.follow-us h1 {
font-size: 30px;
}
}

footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
width: 100%;
margin-top: auto;
}

.footer-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
}

.social-links {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}

.social-links li {
margin: 0 10px;
}

.social-links a {
color: #fff;
text-decoration: none;
transition: color 0.2s ease;
}

.social-links a:hover {
color: #ccc;
}

.fa {
font-size: 24px;
}

footer {
position: relative;
bottom: -320px;
Expand Down Expand Up @@ -94,3 +202,4 @@ footer {
}



56 changes: 43 additions & 13 deletions paras/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
<html lang="en">
<head>
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<title>Tic Tac Toe</title>

<link rel="icon" href="img.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
Expand Down Expand Up @@ -80,23 +86,34 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />


<link rel="stylesheet" type="text/css" href="first.css">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<!-- Font Awesome for social media icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" integrity="sha384-k6RqeWeci5ZR/Lv4MR0sA0FfDOMo63o6yOAM7WzJUs6W2kpjD1O6yvI/h/6Ug7l+" crossorigin="anonymous" />

<title>TIC TAC TOE</title>
<link rel="stylesheet" type="text/css" href="first.css">
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>


<div class="follow-us">
<h1>Follow Us</h1>
<a href="mailto:[email protected]">
<img src="https://cdn-icons-png.flaticon.com/512/732/732200.png" alt="Email Logo" />
</a>
<a href="https://x.com/iamparas0" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/733/733579.png" alt="Twitter Logo" />
</a>
<a href="https://www.linkedin.com/in/iamparas0/" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/174/174857.png" alt="LinkedIn Logo" />
</a>
<a href="https://www.instagram.com/iamparas.0/" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/174/174855.png" alt="Instagram Logo" />
</a>
</div>

<footer>

<div class="follow-us">
<a href="mailto:[email protected]" target="_blank">
<img src="https://cdn-icons-png.flaticon.com/512/732/732200.png" alt="Email Logo" />
Expand Down Expand Up @@ -172,6 +189,7 @@


<footer>

<div class="footer-container">
<div class="button-container">
<a href="voting_system.html" class="voting-button">Voting System</a>
Expand Down Expand Up @@ -215,13 +233,25 @@ <h3>Contact Us</h3>


<ul class="social-links">

<li><a href="#" target="_blank"><i class="fab fa-facebook"></i></a></li>
<li><a href="#" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li><a href="#" target="_blank"><i class="fab fa-instagram"></i></a></li>

<li><a href="https://www.linkedin.com/in/iamparas0/" target="_blank"><i class="fab fa-linkedin"></i></a></li>
<li><a href="https://x.com/iamparas0" target="_blank"><i class="fab fa-twitter"></i></a></li>
<li><a href="https://www.instagram.com/iamparas.0/" target="_blank"><i class="fab fa-instagram"></i></a></li>

</ul>
</div>
</footer>

</footer>
</body>



</body>




</html>