Add homepage

master
Nakidai 2024-01-29 23:47:50 +03:00 committed by Nakidai
parent dbe2030d70
commit c0114ac9a0
Signed by: nakidai
GPG Key ID: 18AD605FDA13FE5A
8 changed files with 152 additions and 5 deletions

9
LICENSE Normal file
View File

@ -0,0 +1,9 @@
Copyright 2024 Nakidai
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

35
root/credits.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Credits</title>
</head>
<body>
<div class="wrapper">
<div class="header">
<h1>Credits</h1>
</div>
<div class="content-wrapper">
<div class="content" style="max-width: 100%;">
<div class="title">
<h2>Icons</h2>
</div>
<div class="info">
<p><a href="https://www.flaticon.com/free-icons/steam" title="steam icons">Steam icons created by Hight Quality Icons - Flaticon</a></p>
<p><a href="https://www.flaticon.com/free-icons/github" title="github icons">Github icons created by Pixel perfect - Flaticon</a></p>
<p><a href="https://www.flaticon.com/free-icons/discord" title="discord icons">Discord icons created by Freepik - Flaticon</a></p>
<p><a href="https://www.flaticon.com/free-icons/git" title="git icons">Git icons created by riajulislam - Flaticon</a></p>
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
<p><a href="index.html">Home</a></p>
<p>(c) 2024 Nakidai</p>
</div>
</div>
</div>
</body>
</html>

BIN
root/images/discord.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
root/images/git.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
root/images/github.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
root/images/steam.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -7,8 +7,50 @@
<title>Nakidai</title> <title>Nakidai</title>
</head> </head>
<body> <body>
<div class="center"> <div class="wrapper">
<h1>This is my homepage UwU.</h1> <div class="header">
<h1>Nakidai</h1>
</div>
<div class="content-wrapper">
<div class="content">
<div class="title">
<h2>About</h2>
</div>
<div class="info">
<p>I'm coder from Russia. I like to play computer games, but since I have weak office office I usually play lightweight games (but better to check my steam).</p>
<p>I know Python and little The C, but I don't know any frameworks. :<</p>
</div>
</div>
<div class="content">
<div class="title">
<h2>Links</h2>
</div>
<div class="info">
<p>
<a href="https://github.com/nakidai">
<img src="images/github.png" alt="Github" width="100px">
</a>
<a href="https://git.nakidai.ru/nakidai">
<img src="images/git.png" alt="Github" width="100px">
</a>
</p>
<p>
<a href="https://discord.com/users/596659213124763649">
<img src="images/discord.png" alt="Github" width="100px">
</a>
<a href="https://steamcommunity.com/id/nakidai">
<img src="images/steam.png" alt="Steam" width="100px">
</a>
</p>
</div>
</div>
</div>
<div class="footer">
<div class="copyright">
<p><a href="credits.html">Credits</a></p>
<p>(c) 2024 Nakidai</p>
</div>
</div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -4,14 +4,75 @@ html, body {
padding: 0; padding: 0;
} }
.center { div {
color: lightgreen; word-wrap: break-word;
background-color: red; }
.wrapper {
background-color: black;
color: grey;
font-family: sans-serif; font-family: sans-serif;
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.header {
height: 20%;
font-size: xxx-large;
}
.content-wrapper {
height: 60%;
width: 100%;
display: flex;
flex-direction: row;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.content {
max-width: 300px;
margin: 1%;
padding: 1%;
border-radius: 20px;
color: black;
font-size: large;
background-color: darkgrey;
}
.title {
text-align: center;
}
.info {
text-align: justify;
}
.footer {
width: 100%;
height: 20%;
display: flex;
justify-content: flex-end;
align-items: flex-end;
position: relative;
}
.copyright {
text-align: right;
position: absolute;
bottom: 0;
right: 0;
padding: 1%;
}