Browse Source

Removed portfolio page

main
root 4 months ago
parent
commit
73471d25c3
  1. 1
      resources/templates/fragments/header.html.twig
  2. 84
      resources/templates/portfolio.html.twig
  3. 5
      routes.php
  4. 27
      src/Actions/Portfolio.php
  5. 1
      src/Types/Page.php

1
resources/templates/fragments/header.html.twig

@ -2,7 +2,6 @@
<p class="up mono">
<a href="/" {% if page == 'home' %}class="active-page"{% endif %}>Artemis</a>
| <a href="/blog/" {% if page == 'blog' %}class="active-page"{% endif %}>Blog</a>
| <a href="/portfolio.html" {% if page == 'folio' %}class="active-page"{% endif %}>Portfolio</a>
| <a href="/about.html" {% if page == 'about' %}class="active-page"{% endif %}>About &amp; Contact</a>
</p>
<aside>

84
resources/templates/portfolio.html.twig

@ -1,84 +0,0 @@
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
{% include 'fragments/head.html.twig' %}
<title>Portfolio - {{ metadata['author'] }}</title>
</head>
<body id="top">
<main>
{% include 'fragments/header.html.twig' %}
<article>
<h2>School-work experience</h2>
<ul>
<li>
<b>2019 (2 year)</b> - Backend developer at archipad.com, at Sophia-Antipolis<br/>
API developer, maintainer (Windows/Linux/MacOS, PHP/MariaDB, Docker)
</li>
<li>
<b>2019 (2 years)</b> - Student in Masters in CS, at Sophia-Antipolis<br/>
Arithmetics, networking, and system development (Java, python, C++)
</li>
<li>
<b>2018 (1 year)</b> - Student in third year Licence of computer science, at Nice<br/>
Arithmetics, development, electronics and OO basics (Java, python, Linux (arch))
</li>
<li>
<b>2017 (1 year)</b> - Backend developer at archipad.com, at Sophia-Antipolis<br/>
API and message queues developer, maintainer (Windows/Linux/MacOS, PHP/MariaDB, Ruby, Redis, Docker)
</li>
<li>
<b>2017 (1 year)</b> - Second year student in DUT (HND equivalent), at Sophia-Antipolis<br/>
System architecture, networking and distributed computing (C, Java, Go, Linux (arch))
</li>
<li>
<b>2016 (1 year)</b> - First year student in DUT (HND equivalent), at Nice<br/>
Development and OO basics, databases (C, Java, MariaDB)
</li>
<li><b>2016</b> - Obtained my Baccalauréat in STI2D, at Nice</li>
</ul>
<h2>Languages and technologies</h2>
<ul>
<li><b>Languages</b>: Java, Go, PHP, Javascript, C#, Rust</li>
<li><b>OS</b>: Windows (7, 10), Linux (Arch, Debian)</li>
<li><b>DBMS</b>: PostgreSQL, MySQL (/ MariaDB), Redis</li>
<li>
<b>Frameworks</b>:
<ul>
<li><b>PHP</b>: PhalconPHP, Siler</li>
<li><b>Go</b>: Gorilla</li>
<li><b>Frontend</b>: Angular</li>
</ul>
</li>
</ul>
<h2>Some notable projects</h2>
<ul>
<li><a href="https://photo.artemix.org/" target="_blank" rel="noopener"><b>Photofolio</b></a>, where I
expose my best shots
</li>
<li><a href="https://gitlab.com/Artemix/Validator" target="_blank" rel="noopener"><b>Validator</b></a>,
a Java String-map validation
library (and its golang counterpart, <a
href="https://gitlab.com/Artemix/validator-go" target="_blank"
rel="noopener"><b>Validator-go</b></a>)
</li>
<li><a href="https://docs.artemix.org/" target="_blank" rel="noopener"><b>Docs</b></a>, where I put some
technical documents and work
notes
</li>
<li><a href="https://paste.artemix.org/" target="_blank" rel="noopener"><b>Paste</b></a>, a fast and
minimal temporary document sharing
tool
</li>
</ul>
</article>
{% include 'fragments/footer.html.twig' %}
</main>
</body>
</html>

5
routes.php

@ -7,11 +7,6 @@ return [
'path' => '/about(.html)?',
'action' => 'About'
],
[
'methods' => ['GET'],
'path' => '/portfolio(.html)?',
'action' => 'Portfolio'
],
// data-ful
[
'methods' => ['GET'],

27
src/Actions/Portfolio.php

@ -1,27 +0,0 @@
<?php
namespace App\Actions;
use App\Action;
use App\Services\HTML;
use App\Types\Page;
use function Siler\Http\Response\html;
class Portfolio implements Action
{
/** @var HTML $html */
private $html;
public function __construct(HTML $html)
{
$this->html = $html;
}
public function __invoke(?array $routeParams): bool
{
html($this->html->forPage(Page::PORTFOLIO)->render('portfolio.html.twig'));
return false;
}
}

1
src/Types/Page.php

@ -8,6 +8,5 @@ class Page
{
public const HOME = 'home';
public const BLOG = 'blog';
public const PORTFOLIO = 'folio';
public const ABOUT = 'about';
}
Loading…
Cancel
Save