Initial commit

This commit is contained in:
Alex Reinhardt 2024-03-25 00:16:56 +01:00
commit ec2c57a14c
49 changed files with 866 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx
COPY ./static /srv
COPY ./nginx.conf /etc/nginx/conf.d/default.conf

9
nginx.conf Normal file
View File

@ -0,0 +1,9 @@
server {
listen 80;
server_name _;
location / {
root /srv;
index Home.html;
}
}

101
static/Entwicklung.html Normal file
View File

@ -0,0 +1,101 @@
<!DOCTYPE html>
<link rel="stylesheet" href="LOOK/Start.css">
<link rel="stylesheet" href="LOOK/Menu.css">
<link rel="stylesheet" href="LOOK/Development.css">
<script src="SCRIPTS/Search.js"></script>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="...">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" sizes="192x192" href="IMGS/X.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Sozial">
<link rel="apple-touch-icon-precomposed" href="IMGS/X.png">
<meta name="msapplication-TileImage" content="IMGS/X.png">
<meta name="msapplication-TileColor" content="#3372DF">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="shortcut icon" href="IMGS/X.png">
<head>
<title>NavigateX | Entwicklung</title>
<img id="rotateImage" src="IMGS/X.png" alt="Bild" width="20" height="20" onclick="toggleImage()">
<div id="menu">
<button class="menu-button" data-page="Home.html">
<img class="Sicon" src="IMGS/Startseite.png" alt="Avatar" width="18" height="18">
<div class="Stext">Start</div></button>
<button class="menu-button" data-page="Narichten.html">
<img class="Nicon" src="IMGS/Neuigkeiten.png" alt="Avatar" width="20" height="20">
<div class="Ntext">News</div></button>
<button class="menu-button" data-page="Entwicklung.html">
<img class="Wicon" src="IMGS/Web-entwicklung.png" alt="Avatar" width="20" height="20">
<div class="Wtext">Dev</div></button>
</div>
<script src="SCRIPTS/Menu.js"></script>
<img src="IMGS/NavigateX.png" id="XTitle" class="XTitle">
<div class="separator"></div>
</head>
<body>
<div class="profile-card">
<div class="profile-image">
<img src="IMGS/Ich.jpg" alt="Benutzerbild">
</div>
<div class="user-info">
<div class="username">Fynn Summers<img class="verification" src="IMGS/Verifiziert.png" alt="Avatar" width="20" height="20"></div>
</div>
<div class="box-container2">
<div class="box">
<div class="image-container">
<a href="https://whatsapp.com/channel/0029Va8dJ6u5fM5Z0hGq3K2c" target="_blank"><img src="IMGS/ICONS/whatsapp.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://www.instagram.com/fynn.summers/" target="_blank"><img src="IMGS/ICONS/instagram.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://snapchat.com/add/always4fynn" target="_blank"><img src="IMGS/ICONS/snapchat.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://tiktok.com/@fynnismyrealname" target="_blank"><img src="IMGS/ICONS/tiktok.png" alt="" width="40" height="40"></a>
</div>
</div>
</div>
<div class="strich"></div>
<div class="user-description">
<p class="text-description"><em>"Ich bin Fynn Summers, und NavigateX ist mein Hobbyprojekt.
Mit meiner bescheidenen Erfahrung in HTML, CSS und JavaScript
habe ich mich entschlossen, dieses Projekt ins Leben zu rufen,
um meine Fähigkeiten weiterzuentwickeln.
NavigateX ist meine kreative Plattform, auf der ich meine Webdesign-
und Frontend-Entwicklungsfähigkeiten verbessere.
Mit begrenzter Erfahrung habe ich mich auf diese aufregende Reise begeben,
um mein Können zu erweitern und mein eigenes einzigartiges Projekt zu erstellen."</em></p>
</div>
</div>
<div class="strich"></div>
<div class="separator"></div>
<div class="user-info">
<div class="username">My Projects<img class="verification" src="IMGS/Project.png" alt="Avatar" width="20" height="20"></div>
</div>
<img src="IMGS/SchulogoTitle.png" class="XTitle2">
<div class="box-container2">
<div class="box">
<div class="image-container">
<a href="https://schulogo.netlify.app" target="_blank"><img src="IMGS/ICONS/Schulogo.png" alt="" width="40" height="40"></a>
</div>
</div>
</body>
</html>

170
static/Home.html Normal file
View File

@ -0,0 +1,170 @@
<!DOCTYPE html>
<link rel="stylesheet" href="LOOK/Start.css">
<link rel="stylesheet" href="LOOK/Menu.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="..">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" sizes="192x192" href="IMGS/X.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Sozial">
<link rel="apple-touch-icon-precomposed" href="IMGS/X.png">
<meta name="msapplication-TileImage" content="IMGS/X.png">
<meta name="msapplication-TileColor" content="#3372DF">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="shortcut icon" href="IMGS/X.png">
<script src="SCRIPTS/Search.js"></script>
<head>
<title>NavigateX</title>
<img id="rotateImage" src="IMGS/X.png" alt="Bild" width="20" height="20" onclick="toggleImage()">
<div id="menu">
<button class="menu-button" data-page="Home.html">
<img class="Sicon" src="IMGS/Startseite.png" alt="Avatar" width="18" height="18">
<div class="Stext">Start</div></button>
<button class="menu-button" data-page="Narichten.html">
<img class="Nicon" src="IMGS/Neuigkeiten.png" alt="Avatar" width="20" height="20">
<div class="Ntext">News</div></button>
<button class="menu-button" data-page="Entwicklung.html">
<img class="Wicon" src="IMGS/Web-entwicklung.png" alt="Avatar" width="20" height="20">
<div class="Wtext">Dev</div></button>
</div>
<script src="SCRIPTS/Menu.js"></script>
<img src="IMGS/NavigateX.png" id="XTitle" class="XTitle">
</head>
<body>
<input type="text" id="searchBox" placeholder="NavigateX durchsuchen...">
<button class="clear-button" id="clear-button" onclick="clearSearchBox()">
<img src="IMGS/Eraser.png" class="search-icon" alt="Lupe" width="30" height="30">
</button>
<button class="search-button" id="search-button" onclick="searchGoogle()">
<img src="IMGS/Search.png" class="search-icon" alt="Lupe" width="30" height="30">
</button>
<div class="separator"></div>
<div class="element"></div>
<div class="box-container">
<div class="box">
<div class="image-container">
<a href="https://youtube.com" target="_blank"><img src="IMGS/ICONS/youtube.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://tiktok.com" target="_blank"><img src="IMGS/ICONS/tiktok.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://twitch.com" target="_blank"><img src="IMGS/ICONS/twitch.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://x.com" target="_blank"><img src="IMGS/ICONS/twitter.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://snapchat.com" target="_blank"><img src="IMGS/ICONS/snapchat.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://instagram.com" target="_blank"><img src="IMGS/ICONS/instagram.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://web.telegram.org" target="_blank"><img src="IMGS/ICONS/telegramm.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://whatsapp.com" target="_blank"><img src="IMGS/ICONS/whatsapp.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://facebook.com" target="_blank"><img src="IMGS/ICONS/facebook.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://netflix.com" target="_blank"><img src="IMGS/ICONS/netflix.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://m.vk.com" target="_blank"><img src="IMGS/ICONS/vk.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://reddit.com" target="_blank"><img src="IMGS/ICONS/reddit.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://pinterest.com" target="_blank"><img src="IMGS/ICONS/pinterest.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://skype.com" target="_blank"><img src="IMGS/ICONS/skype.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://spotify.com" target="_blank"><img src="IMGS/ICONS/spotify.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://soundcloud.com" target="_blank"><img src="IMGS/ICONS/soundcloud.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://paypal.com" target="_blank"><img src="IMGS/ICONS/paypal.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://dropbox.com" target="_blank"><img src="IMGS/ICONS/dropbox.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://github.com" target="_blank"><img src="IMGS/ICONS/github.png" alt="" width="40" height="40"></a>
</div>
</div>
<div class="box">
<div class="image-container">
<a href="https://linkedin.com" target="_blank"><img src="IMGS/ICONS/linkedin.png" alt="" width="40" height="40"></a>
</div>
</div>
</body>
</html>

BIN
static/IMGS/Eraser.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
static/IMGS/ICONS/apfel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
static/IMGS/ICONS/linie.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
static/IMGS/ICONS/skype.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
static/IMGS/ICONS/vk.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/IMGS/Ich.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/IMGS/NavigateX.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
static/IMGS/Neuigkeiten.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
static/IMGS/Project.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
static/IMGS/Search.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

BIN
static/IMGS/Startseite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
static/IMGS/Verifiziert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
static/IMGS/X.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

133
static/LOOK/Development.css Normal file
View File

@ -0,0 +1,133 @@
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #1c2a38;
text-align: center;
padding: 20px;
}
.profile-card {
text-align: center;
font-family: Arial, sans-serif;
margin-top: 30px;
}
.profile-image {
-webkit-user-drag: none;
user-select: none;
width: 150px;
height: 150px;
border: 2px solid #121c27;
box-shadow: 0 0 10px #1d1c22;
border-radius: 50%;
margin: 0 auto;
overflow: hidden;
margin-bottom: 15px;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.4s,
width 0.4s;
}
.profile-image:hover {
width: 190px;
border: 2px solid #ffffff;
box-shadow: 0 0 10px #ffffff;
}
.profile-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.username {
-webkit-user-drag: none;
user-select: none;
font-family: Arial;
transform: translateY(-7px);
font-size: 22px;
margin-top: 10px;
color: #ffffff;
font-weight: Bold;
margin-left: 8px;
}
.verification {
display: inline-block;
transform: translateY(3px);
margin-left: 5px;
margin-right: 10px;
overflow: hidden;
}
.user-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
.user-description {
-webkit-user-drag: none;
user-select: none;
padding: 8px 18px;
margin-top: 20px;
border: 2px solid #121c27;
background-color: #1c2a38;
border-radius: 25px;
width: 80%;
margin: 0 auto;
box-shadow: 0 0 10px #121c27;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.4s,
width 0.4s;
}
.user-description:hover {
background-color: #192d46;;
border: 2px solid #007aff;
box-shadow: 0 0 10px #007aff;
width: 80%;
color: #ffffff;
}
.text-description {
color: #a8a8a8;
font-size: 15px;
font-weight: bold;
font-family: Arial;
}
.user-info {
background-color: #121c27;
box-shadow: 0 0 10px #121c27;
border: 2px solid #121c27;
border-radius: 29px;
margin: 0 auto;
width: 210px;
height: 35px;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.4s,
width 0.4s;
}
.user-info:hover {
width: 250px;
background-color: #192d46;
border: 2px solid #007aff;
box-shadow: 0px 0px 8px rgb(0, 153, 255);
}
.strich {
margin-top: 20px;
}

71
static/LOOK/Menu.css Normal file
View File

@ -0,0 +1,71 @@
#rotateImage {
display: block;
width: 40px;
height: 40px;
max-width: 40px;
max-height: 40px;
-webkit-touch-callout: none;
-webkit-user-drag: none;
user-select: none;
transition: transform 0.3s ease-in-out;
margin-left: -15px;
margin-top: -15px;
}
#menu {
justify-content: center;
flex-wrap: wrap;
display: none;
margin-left: -8px;
margin-top: 14px;
width: 140px;
max-width: 80%;
}
.menu-button {
display: none;
animation: fade-in 0.2s ease-in-out forwards;
margin-bottom: 20px;
border-radius: 10px;
background-color: #121c27;
border: 2px solid #121c27;
color: #a8a8a8;
font-weight: bold;
font-size: 14px;
padding: 5px 12px;
-webkit-user-drag: none;
user-select: none;
box-shadow: 0px 0px 8px #0f0f0f;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.4s,
width 0.5s;
}
@keyframes fade-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.menu-button:hover {
padding: 5px 18px;
background-color: #192d46;
border: 2px solid rgb(0, 153, 255);
box-shadow: 0px 0px 8px rgb(0, 153, 255);
color: #fff;
}

58
static/LOOK/News.css Normal file
View File

@ -0,0 +1,58 @@
#TitleA {
background-color: #42414d;
width: 40%;
height: 25px;
border-radius: 8px;
color: #c9c9c98f;
border: none;
padding-left: 30px;
box-shadow: 0px 0px 10px #1d1c22;
display: block;
margin: 0 auto;
margin-bottom: 20px;
font-size: 120%;
font-weight: lighter;
}
#TitleA:hover {
transform: scale(1.05);
background-color: #4c5a66;
box-shadow: 0px 0px 15px #7fc0df;
border: 2px solid #b1e6ff;
margin-bottom: 24px;
}
#googleNewsContainer {
max-width: 500px;
margin: 0 auto;
}
#newsList {
list-style: none;
padding: 0;
}
.newsItem {
margin-bottom: 20px;
background-color: #42414d;
box-shadow: 0px 0px 10px #1d1c22;
padding: 10px;
border-radius: 5px;
}
.newsItem:hover {
transform: scale(1.01);
background-color: #644c66;
box-shadow: 0px 0px 15px #df7fd7;
border: 2px solid #ffb1f2;
}
.newsItem a {
color: #ffffff;
text-decoration: none;
font-weight: bold;
}
.newsItem a:hover {
font-weight: bold;
color: #00aeff;
}

199
static/LOOK/Start.css Normal file
View File

@ -0,0 +1,199 @@
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #1c2a38;
text-align: center;
padding: 20px;
}
.XTitle {
position: relative;
display: block;
margin: 0 auto;
margin-top: 70px;
margin-bottom: 80px;
max-width: 120%;
animation: pulse 3s infinite ease-in-out;
transition: margin 0.3;
-webkit-user-drag: none;
user-select: none;
}
.XTitle2 {
-webkit-user-drag: none;
user-select: none;
margin-bottom: 10px;
margin-top: 40px;
transition: width 0.3s;
animation: pulse 4s infinite ease-in-out;
}
@keyframes pulse {
0% {
transform: scale(1);
opacity: 0.8;
}
50% {
transform: scale(1.08);
opacity: 1;
}
100% {
transform: scale(1);
opacity: 0.8;
}
}
#searchBox {
margin-bottom: 10px;
padding: 10px;
width: 52%;
font-weight: bold;
border: solid 2px #121c27;
color:#ccc;
border-radius: 15px;
-webkit-user-drag: none;
user-select: none;
font-size: 13.5px;
background-color: #121c27;
box-shadow: 0px 0px 6px #1d1c22;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.4s,
width 0.3s;
}
#searchBox:hover {
width: 57%;
background-color: #152538;
border: 2px solid rgb(0, 140, 255);
box-shadow: 0px 0px 6px rgb(0, 140, 255);
}
#clear-button {
padding: 2px 4px;
background-color: #c50000;
border: solid 2px #c50000;
color: #fff;
border: none;
border-radius: 30px;
font-size: 12px;
-webkit-user-drag: none;
user-select: none;
cursor: pointer;
transform: translateY(8px);
margin-left: 10px;
box-shadow: 0px 0px 8px #1d1c22;
transition:
background-color 0.3s,
box-shadow 0.4s,
width 0.3s;
}
#clear-button:hover {
background-color: #ff0000;
border: 2px solid rgb(255, 255, 255);
box-shadow: 0px 0px 6px rgb(174, 218, 255);
}
#search-button {
padding: 4px 6px;
background-color: #006de1;
border: solid 2px #006de1;
color: #fff;
border-radius: 30px;
font-size: 12px;
-webkit-user-drag: none;
user-select: none;
cursor: pointer;
transform: translateY(8px);
margin-left: 3px;
box-shadow: 0px 0px 8px #1d1c22;
transition:
background-color 0.3s,
box-shadow 0.4s,
width 0.3s;
}
#search-button:hover {
background-color: #007bff;
border: 2px solid rgb(255, 255, 255);
box-shadow: 0px 0px 6px rgb(174, 218, 255);
}
.separator {
margin: auto;
height: 5px;
margin-bottom: 40px;
margin-top: 40px;
background-color: #007bff;
border-radius: 20px;
box-shadow: 0px 0px 6px rgb(18, 26, 35);
border: 1px solid rgb(18, 36, 54);
width: 90%;
}
@keyframes borderAnimation {
0% {
border: 2px solid rgb(0, 119, 255);
box-shadow: 0px 0px 6px rgb(0, 119, 255);
}
50% {
border: 2px solid rgb(255, 255, 255);
box-shadow: 0px 0px 6px rgb(255, 255, 255);
}
100% {
border: 2px solid rgb(0, 119, 255);
box-shadow: 0px 0px 6px rgb(0, 119, 255);
}
}
.box-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 40px;
max-width: 950px;
margin: 0 auto;
}
.box-container2 {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 20px;
margin-bottom: 20px;
max-width: 100%;
margin: 0 auto;
}
.box {
width: 60px;
height: 55px;
background-color: #121c27;
border: 2px solid #121c27;
margin: 0 12.5px;
border-radius: 15px;
display: flex;
-webkit-user-drag: none;
user-select: none;
align-items: center;
justify-content: center;
margin-top: 20px;
box-shadow: 0px 0px 10px #1d1c22;
transition:
border 0.4s,
background-color 0.3s,
box-shadow 0.3s,
width 0.3s;
}
.box:hover {
background-color: #152538FF;
border: 2px solid rgb(0, 140, 255);
box-shadow: 0px 0px 6px rgb(0, 140, 255);
width: 85px;
transform: scale(1.05);
}

44
static/Narichten.html Normal file
View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<link rel="stylesheet" href="LOOK/Start.css">
<link rel="stylesheet" href="LOOK/Menu.css">
<link rel="stylesheet" href="LOOK/Development.css">
<link rel="stylesheet" href="LOOK/News.css">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="..">
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" sizes="192x192" href="IMGS/X.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Sozial">
<link rel="apple-touch-icon-precomposed" href="IMGS/X.png">
<meta name="msapplication-TileImage" content="IMGS/X.png">
<meta name="msapplication-TileColor" content="#3372DF">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="shortcut icon" href="IMGS/X.png">
<script src="SCRIPTS/Search.js"></script>
<head>
<title>NavigateX</title>
<img id="rotateImage" src="IMGS/X.png" alt="Bild" width="20" height="20" onclick="toggleImage()">
<div id="menu">
<button class="menu-button" data-page="Home.html">
<img class="Sicon" src="IMGS/Startseite.png" alt="Avatar" width="20" height="20">
<div class="Stext">Start</div></button>
<button class="menu-button" data-page="Narichten.html">
<img class="Nicon" src="IMGS/Neuigkeiten.png" alt="Avatar" width="20" height="20">
<div class="Ntext">News</div></button>
<button class="menu-button" data-page="Entwicklung.html">
<img class="Wicon" src="IMGS/Web-entwicklung.png" alt="Avatar" width="20" height="20">
<div class="Wtext">Dev</div></button>
</div>
<script src="SCRIPTS/Menu.js"></script>
<img src="IMGS/NavigateX.png" id="XTitle" class="XTitle">
<div class="separator"></div>
</head>
<body>
</body>
</html>

43
static/SCRIPTS/Menu.js Normal file
View File

@ -0,0 +1,43 @@
let rotated = false;
const image = document.getElementById("rotateImage");
const menu = document.getElementById("menu");
const buttons = document.querySelectorAll(".menu-button");
function toggleImage() {
if (rotated) {
image.style.transform = "rotate(0deg)";
menu.style.animation = "fade-out 0.2s ease-in-out forwards";
buttons.forEach((button, index) => {
setTimeout(() => {
button.style.animation = "fade-out 0.3s ease-in-out forwards";
setTimeout(() => {
button.style.display = "none";
}, 500);
}, 80 * index);
});
rotated = false;
} else {
image.style.transform = "rotate(270deg)";
menu.style.animation = "fade-in 0.2s ease-in-out forwards";
buttons.forEach((button, index) => {
setTimeout(() => {
button.style.animation = "fade-in 0.3s ease-in-out forwards";
button.style.display = "block";
}, 80 * index);
});
menu.style.display = "block";
rotated = true;
}
}
document.addEventListener("DOMContentLoaded", function () {
var buttons = document.querySelectorAll(".menu-button");
buttons.forEach(function (button) {
button.addEventListener("click", function () {
var pageName = button.getAttribute("data-page");
if (pageName) {
window.location.href = pageName;
}
});
});
});

34
static/SCRIPTS/Search.js Normal file
View File

@ -0,0 +1,34 @@
function searchGoogle() {
const searchText = document.getElementById("searchBox").value;
if (searchText.trim() !== "") {
const googleURL = `https://www.google.com/search?q=${encodeURIComponent(searchText)}`;
window.location.href = googleURL;
}
}
document.getElementById("searchBox").addEventListener("keyup", function(event) {
if (event.key === "Enter") {
searchGoogle();
}
});
document.querySelector(".search-button").addEventListener("click", function() {
searchGoogle();
});
function clearSearchBox() {
document.getElementById("searchBox" +
"" +
"" +
"").value = '';
searchBox.style.backgroundColor = '#2a1212'
searchBox.style.border = '2px solid #ff0000';
searchBox.style.boxShadow = '0 0 5px #ff0000';
setTimeout(function() {
searchBox.style.backgroundColor = '';
searchBox.style.border = '';
searchBox.style.boxShadow = '';
}, 350);
}