Massive improvements

This commit is contained in:
Mohamad Damaj 2024-03-30 03:24:28 +02:00
parent 0e306baacb
commit aa513e6e41
12 changed files with 171 additions and 5 deletions

13
404.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Uh Oh!</title>
<link rel="stylesheet" href="/css/404.css" text="text/css"></link>
</head>
<body>
<div class="postContainer">
<div class="post">
<b>Uh Oh!, This page doesn't exist or you don't have access to it.</b>
<p>Return <a href="/">home?</a></p>
</body>
</html>

22
css/404.css Normal file
View File

@ -0,0 +1,22 @@
html {
font-family: monospace;
margin: auto;
width: 80%;
background-color: #131316;
padding: 70px;
max-width: 1000px;
height: 80vh;
}
b {
color: #ffffff;
font-size: 30px;
}
p {
color: #FFFFFF;
font-size: 20px;
}
a {
color: #fd7717;
}

View File

@ -70,9 +70,10 @@ header img {
/* Footer Style */
footer {
position: fixed;
position: relative;
left: 0px;
bottom: 0px;
bottom: 0vh;
z-index: 10px;
height: 30px;
width: 100%;
text-align: center;

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

79
img/searxng.svg Normal file
View File

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="svg8"
version="1.1"
viewBox="0 0 92 92"
height="92mm"
width="92mm"
sodipodi:docname="SearXNG-wordmark.svg"
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
inkscape:zoom="2.4761549"
inkscape:cx="173.85827"
inkscape:cy="173.85827"
inkscape:window-width="1858"
inkscape:window-height="1057"
inkscape:window-x="54"
inkscape:window-y="-8"
inkscape:window-maximized="1"
inkscape:current-layer="svg8" />
<defs
id="defs2" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-40.921303,-17.416526)"
id="layer1">
<circle
r="0"
style="fill:none;stroke:#000000;stroke-width:12;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
cy="92"
cx="75"
id="path3713" />
<circle
r="30"
cy="53.902557"
cx="75.921303"
id="path834"
style="fill:none;fill-opacity:1;stroke:#fd7717;stroke-width:10;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
d="m 67.514849,37.91524 a 18,18 0 0 1 21.051475,3.312407 18,18 0 0 1 3.137312,21.078282"
id="path852"
style="fill:none;fill-opacity:1;stroke:#fd7717;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
transform="rotate(-46.234709)"
ry="1.8669105e-13"
y="122.08995"
x="3.7063529"
height="39.963303"
width="18.846331"
id="rect912"
style="opacity:1;fill:#fd7717;fill-opacity:1;stroke:none;stroke-width:8;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -6,6 +6,7 @@
<?php include 'templates/meta.php' ;?>
</head>
<body>
<a rel="me" href="https://vmst.io/@damaj301damaj"></a>
<a href="/"><img class="pfp" src="img/d301d.png"></img></a>
<div class="intro">
</div>
@ -15,14 +16,18 @@
<p> Welcome to my space, </p>
<p> Feel free to look around. </p>
<hr></hr>
<h4> Various services and content i got: </h4>
<h4> Website content: </h4>
<a href="/"><img src="/img/home.svg" width="25px" height="25px"</img>- Home</a>
<br></br>
<a href="/site/contact"><img src="/img/message.svg" width="25px" height="25px"</img>- Contact Me</a>
<a href="/site/whoami"><img src="/img/message.svg" width="25px" height="25px"</img>- Who Am I?</a>
<br></br>
<a href="/site/blog"><img src="/img/rss.svg" width="25px" height="25px"</img>- Blog</a>
<br></br>
<hr></hr>
<h4> Self-hosted Services: </h4>
<a href="https://git.damaj.tech"><img src="/img/git.svg" width="25px" height="25px"></img>- Git Server</a>
<br></br>
<a href="https://searxng.damaj.tech"><img src="/img/searxng.svg" width="25px" height="25px"></img>- SearXNG</a>
</div>
</body>
</html>

View File

@ -7,7 +7,7 @@
</head>
<body>
<?php include '/var/www/html/templates/header.php' ;?>
<p>Hello World!</p>
<font size=25px><b>Coming Soon! (Don't count on it tho)</b></font>
<?php include '/var/www/html/templates/footer.php' ;?>
</body>
</html>

25
site/whoami/index.php Normal file
View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<title>Who is Damaj301damaj?</title>
<link rel="stylesheet" href="/css/main.css" text="text/css"></link>
<?php include '/var/www/html/templates/meta.php' ;?>
</head>
<body>
<?php include '/var/www/html/templates/header.php' ;?>
<font size=20px><b>Who Am I?</b></font>
<font size=5px><p>My name is Mohamad, i am from the beautiful country of <a href="https://en.wikipedia.org/wiki/Lebanon">Lebanon</a>🇱🇧.
i spend my free time improving my skills in computing and dream of being a Computer Engineer🖥.</p>
<p>I love reading source code and using open source code(such as <a href="https://en.wikipedia.org/wiki/Linux">Linux</a>🐧).</p>
<p>I am currently the only sysadmin of this server.</p>
<p><b>Fact!:</b> This website is very lightweight and was written 100% by hand using vim ;)</p></font>
<font size=15px><b>Ways to get in touch:</b><br></br></font>
<font size=5px><b>Matrix(Instant Messaging): Fastest way.</b>
<p>Using a <a href="https://en.wikipedia.org/wiki/Matrix_(protocol)">Matrix Compatible</a> client, you can message me using my handle <a href="https://matrix.to/#/@mohamad:damaj.tech">@mohamad:damaj.tech</a> in a secure and encrypted way.<br></br>
<b>Email: The common and widely available way.</b>
<p>You can also email me using my email <a href="mailto:mohamad@damaj.tech">mohamad@damaj.tech</a>, business mail denied if you are using a public service or failing standard verifications(<a href="https://en.wikipedia.org/wiki/Sender_Policy_Framework">SPF</a>, <a href="https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail">DKIM</a> and <a href="https://en.wikipedia.org/wiki/DMARC">DMARC</a>)</p>
<p>P.S.: My public GPG key that you can use to encrypt emails, messages or verify signed content is available <a href="https://git.damaj.tech/Damaj301damaj.gpg">here</a>.</p>
</font>
<?php include '/var/www/html/templates/footer.php' ;?>
</body>
</html>

9
sitemap.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://damaj.tech/</loc>
<lastmod>2022-12-27</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
</urlset>

View File

@ -3,6 +3,8 @@
<img src='/img/d301d.png' alt='Site Icon' width=25px height=25px></img>
<div class="header">
<a href="/">[Main]</a>
<a href="/site/whoami">[Who Am I?]</a>
<a href="/site/blog">[Blog]</a>
</header>
</div>
</div>

View File

@ -1,2 +1,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="damaj.tech" property="og:title">
<meta content="My Personal Site." property="og:description">
<meta http-equiv='content-language' content='en-LB'>
<meta content="#FD7717" data-react-helmet="true" name="theme-color">

6
wget-log Normal file
View File

@ -0,0 +1,6 @@
--2024-03-30 03:23:00-- https://eu-central.storage.cloudconvert.com/tasks/28b67004-dc23-4bef-a86f-dbd34fc499db/bitmap.ico?X-Amz-Algorithm=AWS4-HMAC-SHA256
Resolving eu-central.storage.cloudconvert.com (eu-central.storage.cloudconvert.com)... 162.19.234.169, 51.195.5.198, 51.195.5.194, ...
Connecting to eu-central.storage.cloudconvert.com (eu-central.storage.cloudconvert.com)|162.19.234.169|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-03-30 03:23:01 ERROR 403: Forbidden.