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 d11cb43..0000000 Binary files a/.old/img/fr.ico and /dev/null differ diff --git a/.old/img/fr_logo.webp b/.old/img/fr_logo.webp deleted file mode 100644 index 0a64480..0000000 Binary files a/.old/img/fr_logo.webp and /dev/null differ diff --git a/.old/index.php b/.old/index.php deleted file mode 100644 index 23dc42f..0000000 --- a/.old/index.php +++ /dev/null @@ -1,88 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <?= $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 -
-
-
-
-