From f137aceb6ec89089de5be4269df4525c99a9b6ac Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Thu, 7 Dec 2023 23:01:29 +0100 Subject: [PATCH] Removed old website --- .old/Dockerfile | 0 .old/README.md | 17 ----- .old/components/footer.php | 2 - .old/components/header.php | 11 ---- .old/css/contact.css | 37 ----------- .old/css/home.css | 28 -------- .old/css/projects.css | 52 --------------- .old/css/style.css | 77 ---------------------- .old/css/variables.css | 6 -- .old/img/fr.ico | Bin 1400 -> 0 bytes .old/img/fr_logo.webp | Bin 526 -> 0 bytes .old/index.php | 88 ------------------------- .old/libraries/console.php | 9 --- .old/libraries/mail.php | 31 --------- .old/libraries/router.php | 33 ---------- .old/pages/contact/contact.php | 61 ------------------ .old/pages/errors/404.php | 2 - .old/pages/home/home.php | 33 ---------- .old/pages/projects/projects.php | 107 ------------------------------- 19 files changed, 594 deletions(-) delete mode 100644 .old/Dockerfile delete mode 100644 .old/README.md delete mode 100644 .old/components/footer.php delete mode 100644 .old/components/header.php delete mode 100644 .old/css/contact.css delete mode 100644 .old/css/home.css delete mode 100644 .old/css/projects.css delete mode 100644 .old/css/style.css delete mode 100644 .old/css/variables.css delete mode 100644 .old/img/fr.ico delete mode 100644 .old/img/fr_logo.webp delete mode 100644 .old/index.php delete mode 100644 .old/libraries/console.php delete mode 100644 .old/libraries/mail.php delete mode 100644 .old/libraries/router.php delete mode 100644 .old/pages/contact/contact.php delete mode 100644 .old/pages/errors/404.php delete mode 100644 .old/pages/home/home.php delete mode 100644 .old/pages/projects/projects.php diff --git a/.old/Dockerfile b/.old/Dockerfile deleted file mode 100644 index e69de29..0000000 diff --git a/.old/README.md b/.old/README.md deleted file mode 100644 index 2a778d6..0000000 --- a/.old/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# Website -- My personal website written in php, html, css and js - -## To run development server -- `php -S localhost:8000` -- Then it can be access at http://localhost:8000/ - -## To run using Docker -- ToDo - -## To Do -- [ ] Docker -- [ ] kopirovani PGP na click opravit -- [ ] projekty page css -- [ ] contact page odesilani mailu -- [ ] contact page pridat odkazy na dalsi soc site (github atd) - diff --git a/.old/components/footer.php b/.old/components/footer.php deleted file mode 100644 index 9f32947..0000000 --- a/.old/components/footer.php +++ /dev/null @@ -1,2 +0,0 @@ -

(c) filiprojek.cz 2023

- diff --git a/.old/components/header.php b/.old/components/header.php deleted file mode 100644 index 0021fbe..0000000 --- a/.old/components/header.php +++ /dev/null @@ -1,11 +0,0 @@ -

- diff --git a/.old/css/contact.css b/.old/css/contact.css deleted file mode 100644 index 3454057..0000000 --- a/.old/css/contact.css +++ /dev/null @@ -1,37 +0,0 @@ -.content { - display: flex; - flex-direction: column; - align-items: center; -} - -.form_contact { - --base-padding: .5rem 1rem; - display: flex; - flex-direction: column; - width: 15rem; - margin-top: 2rem; -} - -.form_contact input { - padding: var(--base-padding); - margin-bottom: 1rem; -} - -.form_contact button { - align-self: center; - padding: var(--base-padding); - margin-top: 1.5rem; - cursor: pointer; - background-color: white; - color: black; -} - -.form_contact textarea { - height: 8rem; - resize: none; - padding: var(--base-padding); -} - -.form_contact input, textarea, button { - border-radius: 5px; -} diff --git a/.old/css/home.css b/.old/css/home.css deleted file mode 100644 index 017b7d0..0000000 --- a/.old/css/home.css +++ /dev/null @@ -1,28 +0,0 @@ -.content { - margin-block: auto; -} -.home { - font-size: 1.2rem; -} -.home section { - text-align: center; -} -.home a { - color: lightblue; - cursor: pointer; - text-decoration: underline; -} -#pgp { - cursor: pointer; -} -#pgpmobile { - display: none; -} -@media (max-width: 600px) { - #pgp { - display: none; - } - #pgpmobile { - display: inline-block; - } -} diff --git a/.old/css/projects.css b/.old/css/projects.css deleted file mode 100644 index 45fae89..0000000 --- a/.old/css/projects.css +++ /dev/null @@ -1,52 +0,0 @@ -.content h1 { - text-align: center; - margin-bottom: 2rem; -} - -.projects { - display: flex; - flex-direction: column; - align-items: center; - gap: 1rem; -} - -.projects img { - max-width: 100%; - display: block; -} - -.card { - display: flex; - border: 1px solid red; - border-radius: 15px; - box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; - width: min(40rem, calc(100% - 1rem)); -} - -.card .card_text > * { - margin: 1rem; -} - -.card > * { - flex-basis: 100%; -} - -.card .card_left { - border: 1px solid green; -} - -.card .card_right { - border: 1px solid yellow; -} - -.technologies { - display: flex; - gap: 1rem; - flex-wrap: wrap; -} - -.technologies span { - border: 1px solid white; - padding: .5rem; - border-radius: 5px; -} diff --git a/.old/css/style.css b/.old/css/style.css deleted file mode 100644 index 3d45256..0000000 --- a/.old/css/style.css +++ /dev/null @@ -1,77 +0,0 @@ -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -body { - display: flex; - flex-direction: column; - min-height: 100vh; - font-family: 'Source Code Pro', monospace; - background: var(--background); - color: var(--color); -} - -html { - overflow-y: scroll !important; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - scroll-behavior: smooth; -} -*::-webkit-scrollbar { - width: 5px; -} -*::-webkit-scrollbar-thumb { - background-color: #ffffff; - border-radius: 20px; -} -*::-webkit-scrollbar-track { - background: #000000; -} - -.nav { - position: relative; - display: flex; - padding: 1rem; - justify-content: space-between; - isolation: isolate; -} - -.nav .logo img { - height: 3rem; -} - -.nav .links { - display: flex; - align-items: center; - justify-content: center; - gap: 1rem; - z-index: -1; - color: var(--color); -} - -a { color: var(--color); } -a:visited { color: var(--color); } -a:hover { color: red; } - -@media (min-width: 400px) { - .nav .links { - position: absolute; - inset: 0; - } -} - -.content { - padding: 2rem 1rem; -} - -footer { - display: flex; - width: 100vw; - justify-content: center; - align-items: center; - align-self: flex-end; - margin-top: auto; - margin-bottom: 2rem; -} diff --git a/.old/css/variables.css b/.old/css/variables.css deleted file mode 100644 index 126133b..0000000 --- a/.old/css/variables.css +++ /dev/null @@ -1,6 +0,0 @@ -body { - --base-padding: .5rem 1rem; - --base-margin: 2rem; - --background: #111111; - --color: #ffffff; -} \ No newline at end of file diff --git a/.old/img/fr.ico b/.old/img/fr.ico deleted file mode 100644 index d11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et-AnV)d@C@9jVAy;O1A`LiL*Ud~nS6Hl~M&-(KC)gN(Vb|&UF_~2IdeVc!~ zA9%R*wX%}5*Vpx%E*>a9_nYN~or><>4@^%gnUdD)7dyt6=3-`F6^sr&p-~3NZHJdgp z*~C8za{TKo1<-}Zjd{v|B-puJV}@5x^dPoC>@YyX=3 zW#NjT{ilnb%WPs|sqgD@Lrs%N$rH%bI6apWEzzPVNZnb?hmxcp*z=-hh!rvQ3__ol UebzeQ69tm-boFyt=akR{00llw9{>OV diff --git a/.old/img/fr_logo.webp b/.old/img/fr_logo.webp deleted file mode 100644 index 0a6448005264cb9d69ad46607bf9a47acf0fbac4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 526 zcmV+p0`dJ)Nk&En0ssJ4MM6+kP&iEb0RR9mE5S+tg)D5F4B4p@+qP}nwrwn~V%xTz zT-mm5+qRv|Q{hxk@1(24j_CgcfbqZazwy8Ezwy8Ezwy86f7~Lj8-X((blvPGT`g(n zwgq}h&Uk1Z(3r-5f8az*mA68Zc0F3Rs8c>~44sj!<%Io6e6)Ld>wHYgUc`2Gr{Z@# zfa3R$$;F^UX#1=qq3f-;(Ba)RgR|<611ToFKpAgl<^>BG zaY!i;n8vr@?srmfYv~VGpvc!V3W4}+gD>GV;MV5vO-F(In?(SJGnQx9(eLy_`sSjb zjtX(*n}$ffP!d#9Asz!j%GadMpq2_@0fan>#N%l|S71aKiNqP8oGOv9EE0!+&hR`V zv;wU`{7@TIv?cA_w!p05I^{u0J+wgexXg#LpiivIpi!EEMi~McWd&%IGhsE#t7M>2 zs)9zD0~+N~B%M+RG|C##C~p&}PD|RbB7qs#9eRQ4dT1W_dD1S0(kWBH_|N#y_|N$7 Qw-Doh - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <?= $title ?> - - - - - - - -
- route('GET', '/', 'home'); - $R->route('GET', '/home', 'home'); - $R->route('GET', '/domu', 'home'); - - $R->route('POST', '/contact/send', 'contact'); - - $R = null; - ?> -
-
- -
- - - diff --git a/.old/libraries/console.php b/.old/libraries/console.php deleted file mode 100644 index 8948e28..0000000 --- a/.old/libraries/console.php +++ /dev/null @@ -1,9 +0,0 @@ -console.log('Debug Objects: " . $output . "' );"; -} diff --git a/.old/libraries/mail.php b/.old/libraries/mail.php deleted file mode 100644 index 76b9435..0000000 --- a/.old/libraries/mail.php +++ /dev/null @@ -1,31 +0,0 @@ -from = $from; - $this->to = $to; - $this->subject = $subject; - $this->headers = $headers; - } - - public function send() { - // odeslání e-mailu - $headers = 'From: noreply@fofrweb.com' . "\r\n" . - 'Reply-To: support@fofrweb.com' . "\r\n" . - 'X-Mailer: PHP/' . phpversion(); - $this->headers = $headers; - - if (gettype($this->message) == 'string') { - if(mail($this->to, $this->subject, $this->message, $this->headers)) { - return true; - } else { - return false; - } - } - } -} diff --git a/.old/libraries/router.php b/.old/libraries/router.php deleted file mode 100644 index a7c5a22..0000000 --- a/.old/libraries/router.php +++ /dev/null @@ -1,33 +0,0 @@ -returned = true; - return; - } - } - } - } - - function __destruct() { - if($_SERVER['REQUEST_METHOD'] == 'GET') { - if(!$this->returned){ - $url = explode("/", $_SERVER['REQUEST_URI']); - $url = $url[count($url)-1]; - - if (file_exists("./pages/$url/$url.php")) { - require_once("./pages/$url/$url.php"); - } else { - require_once("./pages/errors/404.php"); - } - } - } - } -} - diff --git a/.old/pages/contact/contact.php b/.old/pages/contact/contact.php deleted file mode 100644 index 79315cc..0000000 --- a/.old/pages/contact/contact.php +++ /dev/null @@ -1,61 +0,0 @@ - -

Kontaktujte mě

- -
- - - - - - - - - - -
- - - -send()) { - console_log("zprava odeslana"); - header('Location: /?sent=true'); - } else { - error_log("Message wasn't sent"); - error_log(var_dump($m)); - echo "

Něco se nepovedlo, zkuste to znovu... :(

"; - echo "Zpět"; - } -} - diff --git a/.old/pages/errors/404.php b/.old/pages/errors/404.php deleted file mode 100644 index 1a54c9a..0000000 --- a/.old/pages/errors/404.php +++ /dev/null @@ -1,2 +0,0 @@ -

Error 404 - not found

- diff --git a/.old/pages/home/home.php b/.old/pages/home/home.php deleted file mode 100644 index 2859b73..0000000 --- a/.old/pages/home/home.php +++ /dev/null @@ -1,33 +0,0 @@ - -
-
-

Filip Rojek <filip(at)filiprojek.cz>

-
-

Backend node.js & php developer @fofrweb,
Linux Gentoo user, student and coffee enthusiast_

-
-

PGP: fc37b989787acf8cbce7c0c2a56a345efe321161

-
-

Git Telegram PGP

-
- - -
- diff --git a/.old/pages/projects/projects.php b/.old/pages/projects/projects.php deleted file mode 100644 index 4b1e524..0000000 --- a/.old/pages/projects/projects.php +++ /dev/null @@ -1,107 +0,0 @@ - -

Projekty

- -
-
-
-

pkmples.cz

-

Komerční webová stránka pro PKM PARTY PLES.

-
- PHP - Linux - Nginx -
-

01/2023

-
-
- project screenshot -
-
- -
-
- project screenshot -
-
-

rapiddglass.cz

-

Komerční webová stránka pro přípravek na ochranu a čištění krbového skla Rapidd Glass.

-

10/2022

-
- PHP - Linux - Nginx -
-
-
- -
-
-

danielryslavy.cz

-

Komerční webová stránka osobního trenéra Daniela Ryšlavého.

-

06/2022

-
- PHP - Linux - Nginx -
-
-
- project screenshot -
-
- -
-
- project screenshot -
-
-

Fofrmess

-

Chatovací realtime PWA aplikace.

-

02/2022

-
- Node.js - Express.js - PostgreSQL - Linux - Nginx -
-
-
- -
-
-

Fofrtasks

-

Aplikace pro vytváření a správu poznámek a úkolů.

-

10/2021

-
- Node.js - Express.js - MongoDB - Linux - Nginx -
-
-
- project screenshot -
-
- -
-
- project screenshot -
-
-

Fofrbazar

-

Internetová bazarová platforma.

-

04/2021

-
- PHP - Laravel - MySQL - Linux - Apache -
-
-
-
-