Skip to content

Commit

Permalink
Merge pull request #1199 from Harsh2504/UIenhancement
Browse files Browse the repository at this point in the history
#1 Enhanced user interface of home page and other changes
  • Loading branch information
vikhyatsingh123 authored Dec 27, 2023
2 parents fa596aa + 4743f0a commit 97559da
Show file tree
Hide file tree
Showing 32 changed files with 2,093 additions and 256 deletions.
Binary file removed Images/HayateGekkō.png
Binary file not shown.
1 change: 0 additions & 1 deletion Naruto-Shippuden
Submodule Naruto-Shippuden deleted from 5b67ed
95 changes: 79 additions & 16 deletions about.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,79 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link href="https://fonts.googleapis.com/css2?family=Righteous&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css"
integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous" />
<link rel="icon" type="image/png" href="Images/favicon.png">
<title>Naruto</title>
<link rel="shortcut icon" href="Images/favicon.ico" />
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="contact.css">
<link rel="shortcut icon" href="./Images/favicon.ico" />
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/contact.css">
<link href="css/translate.css" rel="stylesheet" type="text/css" media="all" />
</head>


<body>
<body class="light-mode">
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-light" style="height: 60px; padding:5px 5px 5px 30px;">
<img src="adi image/naruto-advenimiento-los-animes-cortos-2.png" style="max-height: 100%; width: auto;">
<!-- <a class="navbar-brand brand1 ml-4" href="#" style="color: beige;">Naruto</a> -->

<nav class="navbar navbar-expand-lg navbar-light nav1">
<a class="navbar-brand" href="index.html" style="color: beige;">Naruto</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">

<div class="search">
<div class="icon"></div>
<div class="input">
<input type="text" placeholder="search" id="mysearch">
</div>

<span class="clear" onclick="document.getElementById('mysearch').value = ' '"></span>
</div>
<button class="navbar-toggler" class="menu-btn" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto" style="margin-left: 78%;">
<li class="nav-item active mx-4">
<a class="nav-link" href="./index.html" style="color: black;">Home</a>
<ul class="navbar-nav mr-auto">
<li class="nav-item mx-4">
<a class="nav-link link" href="./index.html" >Home</a>
</li>
<li class="nav-item mx-4">
<a class="nav-link" href="./about.html" style="color: black;">About</a>
<li class="nav-item active mx-4">
<a class="link nav-link " href="./about.html">About</a>
</li>
<li class="nav-item mx-4">
<a class="link nav-link " href="./contact.html" style="color: black;">Contact</a>
<a class="link nav-link " href="./contact.html" >Contact</a>
</li>
<div class="dark_lang">
<li>
<div>
<button onclick="darkmode()" class="toggle-mode darkmodebutton" id="toggler">🌙
Dark</button>
</div>
</li>
<li class="nav-item mx-4">
<div id="google_translate_element"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
autoDisplay: 'true',
layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL
}, 'google_translate_element');
}
</script>
<script src='//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'></script>
</li>
</div>
</ul>

</div>
</nav>

</header>

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto" style="margin-left: 78%;">
<li class="nav-item active mx-4">
Expand Down Expand Up @@ -116,6 +154,12 @@ <h5 class="card-title"><i class="fab fa-facebook"></i> Facebook</h5>
</div>
</div>
</main>

<div class="contributors">
<h1>Our Valuable Contributors</h1>
<div id="contributor"></div>
</div>
<script src="contributors.js"></script>
<!-- <footer>
<nav class="navbar navbar-expand-lg navbar-light nav1">
<p class="mx-auto text-light font-weight-lighter">&copyright Developed By- Vikhyat Singh</p>
Expand All @@ -125,12 +169,31 @@ <h5 class="card-title"><i class="fab fa-facebook"></i> Facebook</h5>
Developed and Designed By <a href="https://github.com/vikhyatsingh123/"><span>Vikhyat Singh</span> </a> | © All
Rights Reserved
</footer>
<script>
function darkmode() {
console.log("hello");

var element2 = document.querySelector("body");
const body = document.body;
body.classList.toggle("light-mode");
body.classList.toggle("dark-mode");

if (element2.classList.contains("light-mode")) {

document.querySelector("#toggler").innerHTML = "🌞 Light"
}
else {

document.querySelector("#toggler").innerHTML = "🌙 Dark";
}
}
</script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"></script>
<script src="aboutdarkmode.js"></script>
<!-- <script src="js/aboutdarkmode.js"></script> -->
</body>
</html>
Binary file added adi image/Naruto-Uzumaki-No-Background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/mountain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/naruto - Made with Clipchamp.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/naruto-shippuden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/naruto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/png-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added adi image/sky.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion audio.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ nyanBtn.addEventListener("click", function () {
nyanBtn.classList.toggle("playing");
playPause(nyan);
progress(nyanBtn, nyan);
});
});
45 changes: 32 additions & 13 deletions contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="./style.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css">
<link href="https://fonts.cdnfonts.com/css/ninja-naruto" rel="stylesheet">

<link
Expand All @@ -17,17 +17,17 @@
<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=Open+Sans:ital@1&display=swap" rel="stylesheet">
<link rel="stylesheet" href="index.css">
<link href="translate.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="contact.css" />
<link rel="stylesheet" href="css/index.css">
<link href="css/translate.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="css/contact.css" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<title>Contact Form</title>
</head>
<body class="contact_body">
<body class="contact_body light-mode">
<header>
<nav class="navbar fixed-top navbar-expand-lg navbar-light">

<a class="navbar-brand brand1 ml-4" href="#" style="color: beige;">Naruto</a>
<nav class="navbar fixed-top navbar-expand-lg navbar-light" style="height: 60px; padding:5px 5px 5px 30px;">
<img src="adi image/naruto-advenimiento-los-animes-cortos-2.png" style="max-height: 100%; width: auto;">
<!-- <a class="navbar-brand brand1 ml-4" href="#" style="color: beige;">Naruto</a> -->


<div class="search">
Expand All @@ -46,14 +46,14 @@

<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active mx-4">
<a class="nav-link link" href="./index.html" style="color: beige;">Home</a>
<li class="nav-item mx-4">
<a class="nav-link link" href="./index.html" >Home</a>
</li>
<li class="nav-item mx-4">
<a class="link nav-link " href="./about.html" style="color: beige;">About</a>
<a class="link nav-link " href="./about.html" >About</a>
</li>
<li class="nav-item mx-4">
<a class="link nav-link " href="./contact.html" style="color: beige;">Contact</a>
<li class="nav-item active mx-4">
<a class="link nav-link " href="./contact.html" >Contact</a>
</li>
<li>
<div>
Expand Down Expand Up @@ -151,6 +151,25 @@ <h1>Naruto Friends, Get In Touch with us</h1>
<div class="wpcf7-response-output wpcf7-display-none"></div>
</form>
</div>
<script>
function darkmode() {
// console.log("hello");

var element2 = document.querySelector("body");
const body = document.body;
body.classList.toggle("light-mode");
body.classList.toggle("dark-mode");

if (element2.classList.contains("light-mode")) {

document.querySelector("#toggler").innerHTML = "🌞 Light"
}
else {

document.querySelector("#toggler").innerHTML = "🌙 Dark";
}
}
</script>
<script src="./contact.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion contact.css → css/contact.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);

.contact_body {
background: url("adi image/677425.jpg");
background: url("/adi image/677425.jpg");
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
Expand Down
Loading

0 comments on commit 97559da

Please sign in to comment.