personal-website/main.php

90 lines
2.5 KiB
PHP
Raw Normal View History

2021-11-28 12:48:45 +00:00
<?php
include_once("utils/localization.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?= $trans('title') ?></title>
<meta name="author" content="Dendy">
<!-- Stylesheets -->
<link rel="stylesheet" href="static/style/reset.css">
<link rel="stylesheet" href="static/style/main.css">
2021-11-28 12:48:45 +00:00
</head>
<body>
<div id="title">
<img src="static/resources/avi.png"/>
2021-11-28 12:48:45 +00:00
<div>
<h1><?= $trans('title') ?></h1>
<p><?= $trans('subtitle') ?></p>
</div>
</div>
<div id="menu" class="section">
<ul>
<li><a href="#"><?= $trans('home') ?></a></li>
<li><a href="#"><?= $trans('gallery') ?></a></li>
<li><a href="#"><?= $trans('blog') ?></a></li>
<li><a href="#"><?= $trans('about') ?></a></li>
</ul>
<div id="lang-select">
LANG:<?php
foreach($langs as $lang){
printf(' <a href="/?lang=%s">%s</a>', $lang, strtoupper($lang));
}
?></div>
</div>
<div id="content" class="row">
<div id="main-section" class="section column middle">
<h2><?= $trans('welcome') ?></h2>
</div>
<div id="links" class="column right section">
<h2><?= $trans('links') ?></h2>
<h3><?= $trans('programming') ?></h3><ul>
<li><a href="https://git.fai.su"><?= $trans('git') ?></a></li>
</ul>
<h3><?= $trans('people') ?></h3>
<ul>
2022-01-26 23:55:20 +00:00
<li><a href="https://dusk.fai.st">Dusk</a></li>
2021-11-28 12:48:45 +00:00
<li><a href="https://qorg11.net">qorg11</a></li>
<li><a href="https://yari.fai.st">Yarita</a></li>
<li><a href="https://lidiarock.one">LidiaRock1</a></li>
</ul>
</div>
<div id="contact" class="column right section">
<h2><?= $trans('contact') ?></h2>
<ul>
<li><a href="https://fedi.fai.st/@dendy" rel="me" target="_blank">Fedi (mastodon)</a></li>
<li><a href="xmpp:dendy@fai.su">XMPP</a></li>
2022-01-26 23:55:20 +00:00
<li><a target="_blank" href="https://matrix.to/#/@dendy:matrix.trom.tf">Matrix</a></li>
</ul>
<h2><?= $trans('keys') ?></h2>
<ul>
2022-03-11 10:42:00 +00:00
<li><a target="_blank" href="static/dendy.asc">PGP public key</a></li>
<li><a target="_blank" href="static/omemo.asc">OMEMO keys</a></li>
2021-11-28 12:48:45 +00:00
</ul>
</div>
</div>
2022-01-26 23:55:20 +00:00
<div class="section" id="fediring">
<ul>
<li><a href="https://fediring.net/previous?host=dendy.cat">&lt;-</a></li>
<li><a href="https://fediring.net/">Fediring</a></li>
<li><a href="https://fediring.net/next?host=dendy.cat">-&gt;</a></li>
</ul>
</div>
2021-11-28 12:48:45 +00:00
<div class="section" id="footer">
<?= $trans('copyright') ?>
</div>
</body>
</html>