commit 7cc9e689a43c5a115b5e955b66c9ec7015194f8d Author: Brunobrno Date: Thu Oct 2 00:46:56 2025 +0200 init diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/about-us.php b/about-us.php new file mode 100644 index 0000000..eeb3b3d --- /dev/null +++ b/about-us.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts.php' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us.php' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference.php' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service.php' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap.php' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design.php' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad.php' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service.php' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print.php' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design.php' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + diff --git a/articles/car-wrap.php b/articles/car-wrap.php new file mode 100644 index 0000000..854f816 --- /dev/null +++ b/articles/car-wrap.php @@ -0,0 +1,19 @@ +
+
+

Polepy vozidel

+
+
+

Reklamní polep vozidla je účinný prostředek jak upozornit nebo upoutat pozornost na produkt nebo činnost Vaší firmy. +
+ Grafika na vozidle je denně na veřejnosti a oslovuje nepřetžitě. +
+ Vozidlo lze polepit kompletně a využít maximálně reklamní plochu. Pro náročnější polepy používáme lité folie pro prolisy a záhyby. +
+ Na prosklené části lze použít speciální folií pro okenní grafiku, která nebrání výhledu ven. +
+ Další možností jsou magnetické reklamy pro dočasné a častěji snímatelné reklamy. +
+ Rádi Vám připravíme grafický návrh na vaše vozidlo... +

+
+
\ No newline at end of file diff --git a/articles/graphic-design.php b/articles/graphic-design.php new file mode 100644 index 0000000..c93665d --- /dev/null +++ b/articles/graphic-design.php @@ -0,0 +1,15 @@ +
+
+

Grafický design

+
+
+

+ Oslovit své stávající i potenciální zákazníky způsobem, který je jednoduchý, srozumitelný a přesvědčivý, je v dnešní době stále obtížnější. Upoutat pozornost a odlišit se od konkurence je motivem komerčního designu. +
+ Trh se zaplňuje, a to co může zásadním způsobem rozhodnout o Vašem úspěchu, je promyšlená a přesně cílená komunikace. Jsme schopni pro Vás připravit grafické řešení od obchodní značky až po celkovou firemní identitu. +
+ Navrhneme také design dle konkrétního zadání např. inzerci, firemní tiskoviny, katalogy, letáky, web design apod. +
+

+
+
\ No newline at end of file diff --git a/articles/light-advertisment.php b/articles/light-advertisment.php new file mode 100644 index 0000000..c96ce60 --- /dev/null +++ b/articles/light-advertisment.php @@ -0,0 +1,18 @@ +
+
+

Světelná reklama

+
+
+

+ Světelné panely dodáváme v různých velikostech a provedení... +
+ Základem jsou nástěnné panely obdélníkové s ostrými (NSH) nebo zaoblenými (NSK) rohy, rovněž také oboustranné s bočními upevňovacími konzolami vhodné pro montáž kolmo na zeď směrem do prostoru. Tyto panely jsou s plastovým nebo hliníkovým rámem. +
+ Dále vyrábíme tvarované světelné panely dle logotypu. Světelné reklamy mohou být tvarované v 1 kuse nebo zvláště 3D světelná písmena. Osvětlení panelů zajišťují světelné trubice nebo LED diody s vysokou životností s nejnižší možnou spotřebou el. energie. +
+ Výhody panelů jsou stálý vzhled, omyvatelnost a všechny vnitřní komponenty jsou eloxovány nebo z hliníku. Světelné panely odolávají i velmi nepříznivým povětrnostním vlivům. +
+ Vzhledem k vlastnímu výrobnímu zázemí provádíme montáž i servis v rámci celé EU... +

+
+
\ No newline at end of file diff --git a/articles/other/about-us.php b/articles/other/about-us.php new file mode 100644 index 0000000..b8da738 --- /dev/null +++ b/articles/other/about-us.php @@ -0,0 +1,18 @@ +
+
+

O nás

+
+
+

+ Působíme v oboru reklamy od roku 1994. Jsme mladý kreativní tým pracovníků sledující nejnovější trendy v oblasti reklamy a snažíme se tak stále rozšiřovat nabídku našich služeb a vyhovět všem Vašim požadavkům.
+ Grafickou prezentaci firem řešíme od návrhu až po realizaci. Naší výhodou je vlastní výrobní zázemí a rychlé zpracování zakázek. +
+ Výhodou je také situační poloha naší společnosti v centru města. +
+ Základním servisem je grafické zpracování a tisk firemních materiálů. +
+ Nábízíme veškeré tiskoviny od vizitek, pozvánek, hlavičkových papírů až po speciální formuláře, reklamní letáky, propagační materiály či katalogy. Dále se převážně zabýváme činností, která se nazývá Signmaking, tzn. výroba reklamy od samolepky přes světelnou reklamu až po bigboard. Pro naše klienty jsme připravili již mnoho řešení z oblasti reklamy, které pomohly k jednotné identitě firmy nebo k jejímu zviditelnění na trhu. +
+ Naším cílem je udržet co nejpříznivější ceny jednotlivých prací a být klientům, kvalitním a cenově dostupným partnerem.

+
+
\ No newline at end of file diff --git a/articles/other/default.php b/articles/other/default.php new file mode 100644 index 0000000..1dee0c3 --- /dev/null +++ b/articles/other/default.php @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/articles/other/reference.php b/articles/other/reference.php new file mode 100644 index 0000000..e57f033 --- /dev/null +++ b/articles/other/reference.php @@ -0,0 +1,9 @@ +
+
+

Reference

+
+
+ reference firem + reference firem + +
\ No newline at end of file diff --git a/articles/other/service.php b/articles/other/service.php new file mode 100644 index 0000000..bda7ee9 --- /dev/null +++ b/articles/other/service.php @@ -0,0 +1,17 @@ +
+
+

Servis

+
+
+

+ Nabízíme Vám servis týkající se dodání komplexního reklamního produktu. +
+ Dle Vaší poptávky vypracujeme cenovou nabídku, připravíme grafické zpracování vč. návrhu realizace. +
+ Kompletní zakázku Vám doručíme kdekoliv. +
+ Realizace venkovní reklamy a světelných panelů řešíme rovněž na místě určení. +

+
+ +
\ No newline at end of file diff --git a/articles/print-service.php b/articles/print-service.php new file mode 100644 index 0000000..6bec4af --- /dev/null +++ b/articles/print-service.php @@ -0,0 +1,18 @@ +
+
+

Tisk servis

+
+
+

+ Nabízíme servis pro dodání tiskovin a propagačních materiálů které jsou rozmanité svým užitím, velikostí a zpracováním. +
+ Tištěná informace je i v dnešní elektronické době stále nejoblíbenější médium. +
+ Dodáme komplexně tištěný materiál od grafického návrhu přes přípravu až po realizaci. +
+ Tisk provádíme na veškeré druhy papírů a fólií v různých nákladech. Pro nízkonákladový tisk používáme laserové technologie, pro vyšší náklad se využívá ofsetový tisk z důvodu stále nejkvalitnějšího tisku a provedení. +
+ Dodáváme širokou škálu tiskovin např. vizitky, letáky, hlavičkové papíry, brožury, leporela, firemní složky, bloky, katalogy, kalendáře, etikety, samolepky, obálky, propisovací tiskopisy, obaly, magnetické etikety, noviny, časopisy, visačky, jídelní lístky, mapy, vizitky, zákaznické karty apod. +

+
+
\ No newline at end of file diff --git a/articles/textile-print.php b/articles/textile-print.php new file mode 100644 index 0000000..1aea945 --- /dev/null +++ b/articles/textile-print.php @@ -0,0 +1,16 @@ +
+
+

Potisk textilu

+
+
+

+ K firemní kultuře dnes patří používat identické oblečení s logem firmy. Tiskneme na textil dodaný zákazníkem nebo lze dodat široký sortiment značkového textilu. Textil lze potisknout plnobarevně. Minimální počet potisku jednoho motivu je 10 ks. +
+ Po dohodě je možné potisk 1 a více ks při individulní ceně za potisk. +
+ Při nižším nákladu používáme aplikaci Flock A Flex, samozřejmostí je sítotisk nebo vyšití. +
+ Potiskneme pracovní oděvy, trička, mikiny, vesty, bundy, zástěry, kalhoty, čepice apod. +

+
+
\ No newline at end of file diff --git a/articles/web-design.php b/articles/web-design.php new file mode 100644 index 0000000..2ca1007 --- /dev/null +++ b/articles/web-design.php @@ -0,0 +1,16 @@ +
+
+

Web design

+
+
+

+ V dnešním obchodním světě je třeba vytvořit webstránky stejně originální, jako je sama firma. Není to jen pouhé místo se základními informacemi o firmě. Každý projekt je specifický, ale tvorba běžné internetové prezentace probíhá obvykle v následujících fázích: +
+

    +
  • Návrh - vytvoření návrhu, struktury a grafiky. Výroba - registrace domény, vytvoření obrázků, HTML souborů, ASP, PHP či CGI skriptů, databází...
  • +
  • Vystavení - instalace hotové prezentace na hostitelský server.
  • +
  • Udržování - obsah internetových stránek je podle potřeby upravován a aktualizován.
  • +
+

+
+
\ No newline at end of file diff --git a/car-wrap.php b/car-wrap.php new file mode 100644 index 0000000..d7997bd --- /dev/null +++ b/car-wrap.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap.php' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/css/articles/article-base.css b/css/articles/article-base.css new file mode 100644 index 0000000..4208d5f --- /dev/null +++ b/css/articles/article-base.css @@ -0,0 +1,12 @@ +article{ + font-size: 0.9em; + color: white; + padding: 1em; +} +article header{ + margin-bottom: 2em; + line-height: 2em; +} +article p, article section p{ + line-height: 1.5em; +} \ No newline at end of file diff --git a/css/articles/other/about-us.css b/css/articles/other/about-us.css new file mode 100644 index 0000000..a17459d --- /dev/null +++ b/css/articles/other/about-us.css @@ -0,0 +1,44 @@ +article{ + color: white; + padding: 1em; + text-align: center; +} +.about-us{ + margin: 2em; + color: white; + + position: relative; + display: grid; + z-index: 5; +} +.about-us-big{ + display: none; +} +.about-us-small{ + margin: auto; + width: 90%; + display: flex; + flex-direction: column; +} +.about-us-small header{ + text-align: center; + margin: auto; + width: 80%; +} +.about-us-small header hr{ + height: 0; + border-style: solid; +} + +.about-us-small main{ + margin: auto; + width: 80%; +} +.about-us-small h2{ + font-size: 1.2em; + text-align: center; +} +.about-us-small main p{ + text-align: center; + margin: 1em; +} \ No newline at end of file diff --git a/css/articles/other/reference.css b/css/articles/other/reference.css new file mode 100644 index 0000000..4aa9b67 --- /dev/null +++ b/css/articles/other/reference.css @@ -0,0 +1,48 @@ +.reference{ + margin-top: 4em; + color: white; + display: flex; + flex-direction: column; + align-items: center; + justify-content: space-evenly; +} +.reference h1{ + font-size: 1.5em; + margin-bottom: 1em; +} +.reference .desktop-img{ + width: 80%; + margin: 1em; + +} +.reference .mobile-img{ + margin: 1em; +} +.reference header{ + width: 80%; + text-align: center; +} +/*.ref-hr{ + border-color: gold !important; + height: 0; + width: 200%; + left: -50%; + position: relative; + background-color: gold; +}*/ + +@media screen and (min-width: 1000px){ + .desktop-img{ + display: none; + } + .reference header{ + width: 35%; + text-align: center; + } +} +@media screen and (max-width: 1000px){ + .mobile-img{ + width: -webkit-fill-available !important; + display: none; + } +} \ No newline at end of file diff --git a/css/body.css b/css/body.css new file mode 100644 index 0000000..227df07 --- /dev/null +++ b/css/body.css @@ -0,0 +1,57 @@ +body{ + background-color: white; + width: 100%; + + font-family: "Montserrat", sans-serif; + font-optical-sizing: auto; + font-weight: 200; + font-style: normal; + + font-size: 1.5em; + line-height: normal; +} +hr{ + border-color: #edbf63 !important; + background-color: none !important; + width: 100% !important; + margin-bottom: 1em; +} + +h1{ + font-size: 2em; +} +b{ + font-weight: bold; +} + +.carousel-cover-skew{ + height: 10em; + + background-color: white; +} +.carousel-cover-skew-top{ + position: relative; + z-index: 1; + bottom: -4em; + + transform: skewY(-2deg); + -webkit-transform: skewY(-2deg); +} +.carousel-cover-skew-bottom{ + position: relative; + z-index: 1; + bottom: 4em; + margin-bottom: -9em; + + transform: skewY(-3deg); + -webkit-transform: skewY(-3deg); +} + +@media screen and (min-width: 1000px){ + +} +@media screen and (max-width: 1000px){ + body{ + font-size: unset; + } +} \ No newline at end of file diff --git a/css/index/about_us.css b/css/index/about_us.css new file mode 100644 index 0000000..faf8130 --- /dev/null +++ b/css/index/about_us.css @@ -0,0 +1,63 @@ + +.about-us::before{ + content: ''; + display: block; + position: relative; + z-index: -1; + bottom: 0; + margin-top: -3em; + transform: skewY(-3deg); + -webkit-transform: skewY(-3deg); + height: 5em; + background-color: white; +} +.about-us::after{ + content: ''; + display: block; + position: relative; + z-index: -1; + bottom: 0; + margin-bottom: -2em; + transform: skewY(-3deg); + -webkit-transform: skewY(-3deg); + height: 5em; + background-color: white; +} +.about-us{ + background-color: white; + width: 100%; + position: relative; + display: grid; + z-index: 5; +} +.about-us-big{ + display: none; +} +.about-us-small{ + margin: auto; + width: 90%; + display: flex; + flex-direction: column; +} +.about-us-small header{ + text-align: center; + margin: auto; + width: 80%; +} +.about-us-small header hr{ + height: 0; + border-style: solid; +} + +.about-us-small main{ + margin: auto; + width: 80%; +} +.about-us-small h2{ + font-size: 1.2em; + text-align: center; +} +.about-us-small main p{ + text-align: center; + margin: 1em; +} \ No newline at end of file diff --git a/css/index/carousel.css b/css/index/carousel.css new file mode 100644 index 0000000..0edd3c5 --- /dev/null +++ b/css/index/carousel.css @@ -0,0 +1,120 @@ +.carousel{ + height: 25em; + width: 100%; + margin-bottom: 1em; + overflow-x: hidden; + position: relative; + display: flex; + justify-content: flex-start; +} +.carousel-inner{ + height: 100%; + /* min-width: 400%; */ + display: flex; + transition: all ease .5s; +} + +.carousel-item{ + flex: 1; + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + + background-position: center; + background-repeat: no-repeat; + background-size: cover; +} + +.carousel-item h1{ + position: relative; + color: white; + bottom: 1.5em; +} +.carousel-controls .prev{ + display: inline-block; + height: 3em; + width: 3em; + position: absolute; + left: 12px; + top: 50%; + transform: translateY(-50%); + background-image: url('/img/other/svg/prev.svg'); + background-position: center; + background-size: auto 100%; + background-repeat: no-repeat; + cursor: pointer; + opacity: .5; +} + +.carousel-controls .next{ + display: inline-block; + height: 3em; + width: 3em; + position: absolute; + right: 12px; + top: 50%; + transform: translateY(-50%); + background-image: url('/img/other/svg/next.svg'); + background-position: center; + background-size: auto 100%; + background-repeat: no-repeat; + cursor: pointer; + opacity: .5; +} + +.prev:hover, .next:hover{ + opacity: 1; +} + +.carousel-indicators{ + position: absolute; + bottom: 4em; + left: 50%; + transform: translateX(-50%); + text-align: center; +} + +.carousel-indicators span{ + display: inline-block; + background-color: white; + width: 30px; + height: 4px; + border-radius: 2px; + opacity: .5; + cursor: pointer; + margin: 3px; +} + +.carousel-indicators span.active{ + opacity: 1; +} + + +.carousel-item-first{ + background-image: url("/img/carousel/DAVO_Web_slide_1.png"); +} +.carousel-item-second{ + background-image: url("/img/carousel/DAVO_Web_slide_2.png"); +} +.carousel-item-third{ + background-image: url("/img/carousel/DAVO_Web_slide_3.png"); +} +.carousel-item-fourth{ + background-image: url("/img/carousel/DAVO_Web_slide_4.png"); +} +.carousel-item-fifth{ + background-image: url("/img/carousel/DAVO_Web_slide_5.png"); +} +.carousel-item-sixth{ + background-image: url("/img/carousel/DAVO_Web_slide_6.png"); +} + + +@media only screen and (min-width: 991px){ + .prev, .next{ + height: 1em !important; + width: 1em !important; + } +} \ No newline at end of file diff --git a/css/index/contact.css b/css/index/contact.css new file mode 100644 index 0000000..94abb4f --- /dev/null +++ b/css/index/contact.css @@ -0,0 +1,50 @@ +body{ + background-color: #212121; +} +.contacts{ + width: 100%; + + background-color: #212121; + color: white; + + text-align: center; + + padding-top: 4em; + padding-bottom: 4em; + margin: auto; +} +.contacts a{ + color: white; + text-decoration: none; +} +.contacts br{ + content: " "; + display: block; + height: 0.5em; +} +.contacts h2{ + font-size: 1.5em; +} +.contact-format-container{ + line-height: 1.2; + margin: auto; + width: 80%; +} +.contacts i{ + font-size: 1.5em; +} +.iframe-map{ + position: absolute; + width: 100%; + height: 50%; + +} + +@media screen and (min-width: 900px){ + .contacts{ + font-size: 0.9em; + } + .contact-format-container{ + width: 35%; + } +} \ No newline at end of file diff --git a/css/index/index.css b/css/index/index.css new file mode 100644 index 0000000..e69de29 diff --git a/css/index/instagram.css b/css/index/instagram.css new file mode 100644 index 0000000..e69de29 diff --git a/css/index/products.css b/css/index/products.css new file mode 100644 index 0000000..aa1e347 --- /dev/null +++ b/css/index/products.css @@ -0,0 +1,67 @@ +.products{ + + display: none !important; + + position: relative; + z-index: 2; + + width: 100%; + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; + + color: white; +} +.products-container{ + display: grid; + grid-gap: 1em; + grid-template-columns: repeat(2, 1fr); + + padding: 3em; +} +.products-item{ + flex: 0 0 45%; + + margin-top: 2em; + + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + + background-color: #212121; + + border-radius: 2em; + + transition: transform 0.3s ease; /* Smooth transition on transform */ + box-shadow: 0 0.5em 0.5em 0 rgba(0,0,0,0.2), 0 0.25em 0.25em 0 rgba(0,0,0,0.19) !important; +} +.products-item:hover{ + transform: scale(1.2); +} +.products-item:active{ + transform: scale(1.2); +} + +.products-img{ + padding-top: 2em; +} +.products-item a{ + padding: 1em; + font-size: 1.5em; + color: white; + + text-decoration: none; +} + +@media screen and (min-width: 900px){ + .products-container{ + grid-template-columns: repeat(3, 1fr); + grid-gap: 2em; + } + .products{ + margin: auto; + width: 70%; + } +} \ No newline at end of file diff --git a/css/reset.css b/css/reset.css new file mode 100644 index 0000000..af94440 --- /dev/null +++ b/css/reset.css @@ -0,0 +1,48 @@ +/* http://meyerweb.com/eric/tools/css/reset/ + v2.0 | 20110126 + License: none (public domain) +*/ + +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font: inherit; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + line-height: 1; +} +ol, ul { + list-style: none; +} +blockquote, q { + quotes: none; +} +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} +table { + border-collapse: collapse; + border-spacing: 0; +} \ No newline at end of file diff --git a/css/tools/email-me.css b/css/tools/email-me.css new file mode 100644 index 0000000..9e007c0 --- /dev/null +++ b/css/tools/email-me.css @@ -0,0 +1,72 @@ +input[type=text], +input[type=email], +textarea { + width: 100%; + + box-sizing: border-box; + + font-family: "Montserrat", sans-serif; + font-optical-sizing: auto; + font-weight: 300; + font-style: normal; + + font-size: 1em; + line-height: 1em; + + margin-top: 0.5em; + margin-bottom: 1em; + margin-left: 0; + padding: 0.5em; + min-height: 0.75em; + + border: unset; + border-radius: 0.2em; + + outline-color: rgb(84 105 212 / 0.5); + background-color: rgb(255, 255, 255); + box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(60, 66, 87, 0.16) 0px 0px 0px 1px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px; +} +.email-me label{ + display: block; + padding: 0.5em; +} + +.email-me-form{ + margin: auto; + width: 35%; +} + + +.email-me-container{ + padding-top: 4em; + padding-bottom: 1em; + + background-color: #212121; + color: white; + + font-size: 0.95em; +} +.email-me-container header{ + font-size: 1.5em; + text-align: center; +} +.email-me hr{ + border-color: gold; + height: 0; +} +.email-me-form button{ + font-size: 1em; + + padding: 0.8em; + + border-radius: 0.5em; + border-width: 0; + background-color: goldenrod; + color: black; +} + +@media screen and (max-width: 910px){ + .email-me-form{ + width: 80%; + } +} \ No newline at end of file diff --git a/css/tools/footer.css b/css/tools/footer.css new file mode 100644 index 0000000..7c0e257 --- /dev/null +++ b/css/tools/footer.css @@ -0,0 +1,16 @@ +footer{ + background-color: #A4A4A4; + + padding: 1em; + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; +} +footer a{ + color: black; +} + +.iframe-map{ + width: 100%; +} \ No newline at end of file diff --git a/css/tools/nav.css b/css/tools/nav.css new file mode 100644 index 0000000..238e7f8 --- /dev/null +++ b/css/tools/nav.css @@ -0,0 +1,173 @@ +nav{ + background-color: #0f0f10; + color: white; + display: flex; + flex-direction: column; + width: 100%; + + z-index: 999; +} +nav a{ + color: white; + text-decoration: none; +} +.nav-logo{ + position: relative; + height: fit-content; + + width: 100%; +} +.nav-logo img{ + margin: 1em; + height: 2.5em; +} +.mobile-nav .nav-logo button{ + top: 0; + bottom: 0; + position: absolute; + right: 0; + border: 0; + color: white; + height: auto; + width: 1.6em; + background-color: #edbf63; + font-size: 3em; +} +.mobile-nav .nav-links{ + -webkit-transition: max-height 1s, color 1s ease; + -moz-transition: max-height 1s, color 1s ease; + -ms-transition: max-height 1s, color 1s ease; + -o-transition: max-height 1s, color 1s ease; + transition: max-height 1s, color 1s ease; + overflow: hidden; + + max-height: 0; +} +.mobile-nav .nav-links-expanded{ + max-height: 100em; +} +.mobile-nav .nav-items{ + display: block; + height: 3em; + text-align: center; + + line-height: 3em; + + font-size: 2em; + + border-color: white; + border-style: solid; + border-top-width: 0.05em; +} +.mobile-nav .nav-items:hover{ + background-color: #c9ab5f; + max-height: 20em; +} +/*#drop-act:hover{ + color: black; +}*/ + +.mobile-nav .dropdown-content{ + width: 100%; + margin-right: auto; + + -webkit-transition: max-height 1s; + -moz-transition: max-height 1s; + -ms-transition: max-height 1s; + -o-transition: max-height 1s; + transition: max-height 1s; + overflow: hidden; + max-height: 0; + + background-color: #847546; + + /*border-color: white; + border-style: solid; + border-right-width: 0.2em;*/ +} +.mobile-nav .dropdown-active{ + max-height: 40em; +} + + + + + + + +.desktop-nav{ + display: flex; + flex-direction: row; +} + +.desktop-nav .nav-logo{ + width: min-content; +} + +.desktop-nav-second-section{ + display: flex; + flex-direction: row; + align-items: center; + justify-content: space-evenly; + width: 100%; +} + +.desktop-nav .dropdown-content{ + -webkit-transition: max-height 1s; + -moz-transition: max-height 1s; + -ms-transition: max-height 1s; + -o-transition: max-height 1s; + transition: max-height 1s; + + max-height: 0; + overflow: hidden; + display: flex; + flex-direction: column; + position: absolute; + + z-index: 5; + background-color: black; + border-bottom-right-radius: 0.5em; + border-bottom-left-radius: 0.5em; + margin-top: 1.45em; + margin-left: -2em; +} + +.desktop-nav .dropdown:hover .dropdown-content{ + max-height: 20em; +} +.desktop-nav .dropdown .dropdown-content .nav-items{ + padding: 1em; +} + +.nav-items{ + -webkit-transition: color 0.5s ease; + -moz-transition: color 0.5s ease; + -ms-transition: color 0.5s ease; + -o-transition: color 0.5s ease; + transition: color 0.5s ease; +} +.nav-items:hover{ + color: #edbf63; +} + +.dropdown{ + z-index: 99; +} + + +@media screen and (min-width: 1000px){ + .mobile-nav{ + display: none; + } + .nav-logo img { + margin: 1em; + height: 1.8em; + } +} +@media screen and (max-width: 1000px){ + .desktop-nav{ + display: none; + } + +} \ No newline at end of file diff --git a/default.php b/default.php new file mode 100644 index 0000000..b791552 --- /dev/null +++ b/default.php @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..b95045b Binary files /dev/null and b/favicon.ico differ diff --git a/gitattributes b/gitattributes new file mode 100644 index 0000000..dfe0770 --- /dev/null +++ b/gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/graphic-design.php b/graphic-design.php new file mode 100644 index 0000000..e3d7f58 --- /dev/null +++ b/graphic-design.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts.php' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us.php' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference.php' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service.php' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap.php' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design.php' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad.php' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service.php' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print.php' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design.php' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/img/carousel/DAVO_Web_slide_1.png b/img/carousel/DAVO_Web_slide_1.png new file mode 100644 index 0000000..45ac3ba Binary files /dev/null and b/img/carousel/DAVO_Web_slide_1.png differ diff --git a/img/carousel/DAVO_Web_slide_2.png b/img/carousel/DAVO_Web_slide_2.png new file mode 100644 index 0000000..142c030 Binary files /dev/null and b/img/carousel/DAVO_Web_slide_2.png differ diff --git a/img/carousel/DAVO_Web_slide_3.png b/img/carousel/DAVO_Web_slide_3.png new file mode 100644 index 0000000..78081c9 Binary files /dev/null and b/img/carousel/DAVO_Web_slide_3.png differ diff --git a/img/carousel/DAVO_Web_slide_4.png b/img/carousel/DAVO_Web_slide_4.png new file mode 100644 index 0000000..a3accee Binary files /dev/null and b/img/carousel/DAVO_Web_slide_4.png differ diff --git a/img/carousel/DAVO_Web_slide_5.png b/img/carousel/DAVO_Web_slide_5.png new file mode 100644 index 0000000..65280d1 Binary files /dev/null and b/img/carousel/DAVO_Web_slide_5.png differ diff --git a/img/carousel/DAVO_Web_slide_6.png b/img/carousel/DAVO_Web_slide_6.png new file mode 100644 index 0000000..2964419 Binary files /dev/null and b/img/carousel/DAVO_Web_slide_6.png differ diff --git a/img/other/DAVO_logo_2024_bile.png b/img/other/DAVO_logo_2024_bile.png new file mode 100644 index 0000000..df3f9c1 Binary files /dev/null and b/img/other/DAVO_logo_2024_bile.png differ diff --git a/img/other/DAVO_logo_2025_Final.png b/img/other/DAVO_logo_2025_Final.png new file mode 100644 index 0000000..82aa6b0 Binary files /dev/null and b/img/other/DAVO_logo_2025_Final.png differ diff --git a/img/other/nav.php b/img/other/nav.php new file mode 100644 index 0000000..7c6a9a1 --- /dev/null +++ b/img/other/nav.php @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/img/other/one-to-one.png b/img/other/one-to-one.png new file mode 100644 index 0000000..d30f138 Binary files /dev/null and b/img/other/one-to-one.png differ diff --git a/img/other/reference/reference_nasirku.svg b/img/other/reference/reference_nasirku.svg new file mode 100644 index 0000000..2667b0a --- /dev/null +++ b/img/other/reference/reference_nasirku.svg @@ -0,0 +1,389 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/other/reference/reference_navysku.svg b/img/other/reference/reference_navysku.svg new file mode 100644 index 0000000..539f822 --- /dev/null +++ b/img/other/reference/reference_navysku.svg @@ -0,0 +1,375 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/img/other/svg/next.svg b/img/other/svg/next.svg new file mode 100644 index 0000000..a282ca2 --- /dev/null +++ b/img/other/svg/next.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/img/other/svg/prev.svg b/img/other/svg/prev.svg new file mode 100644 index 0000000..1171387 --- /dev/null +++ b/img/other/svg/prev.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..089fb5f --- /dev/null +++ b/index.php @@ -0,0 +1,72 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts.php' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us.php' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference.php' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service.php' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap.php' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design.php' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad.php' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service.php' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print.php' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design.php' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ 0) { + include $templatePath; + } + } + } else { + // If no matching route is found, include the 404 page + include "utilities/404.php"; + } + ?> +
+ + + + diff --git a/js/index/carousel.js b/js/index/carousel.js new file mode 100644 index 0000000..86f85b0 --- /dev/null +++ b/js/index/carousel.js @@ -0,0 +1,320 @@ +/*let carousel = document.querySelector('.carousel'); + +let carouselInner = document.querySelector('.carousel-inner'); + +let prev = document.querySelector('.carousel-controls .prev'); + +let next = document.querySelector('.carousel-controls .next'); + +let slides = document.querySelectorAll('.carousel-inner .carousel-item'); + +let totalSlides = slides.length; + +let step = 100 / totalSlides; + +let activeSlide = 0; + +let activeIndicator = 0; + +let direction = -1; + +let jump = 1; + +let interval = 3000; + +let time; + + + +//Init carousel +carouselInner.style.minWidth = (totalSlides * 100) + '%'; +loadIndicators(); +loop(true); + + +//Carousel events + +next.addEventListener('click',()=>{ + + console.log("next"); + slideToNext(); +}); + +prev.addEventListener('click',()=>{ + console.log("prev"); + slideToPrev(); +}); + +carouselInner.addEventListener('transitionend',()=>{ + if(direction === -1){ + if(jump > 1){ + for(let i = 0; i < jump; i++){ + activeSlide++; + carouselInner.append(carouselInner.firstElementChild); + } + }else{ + activeSlide++; + carouselInner.append(carouselInner.firstElementChild); + } + }else if(direction === 1){ + if(jump > 1){ + for(let i = 0; i < jump; i++){ + activeSlide--; + carouselInner.prepend(carouselInner.lastElementChild); + } + }else{ + activeSlide--; + carouselInner.prepend(carouselInner.lastElementChild); + } + }; + + carouselInner.style.transition = 'none'; + carouselInner.style.transform = 'translateX(0%)'; + setTimeout(()=>{ + jump = 1; + carouselInner.style.transition = 'all ease .5s'; + }); + updateIndicators(); +}); + +document.querySelectorAll('.carousel-indicators span').forEach(item=>{ + item.addEventListener('click',(e)=>{ + let slideTo = parseInt(e.target.dataset.slideTo); + + let indicators = document.querySelectorAll('.carousel-indicators span'); + + indicators.forEach((item,index)=>{ + if(item.classList.contains('active')){ + activeIndicator = index + } + }) + + if(slideTo - activeIndicator > 1){ + jump = slideTo - activeIndicator; + step = jump * step; + slideToNext(); + }else if(slideTo - activeIndicator === 1){ + slideToNext(); + }else if(slideTo - activeIndicator < 0){ + + if(Math.abs(slideTo - activeIndicator) > 1){ + jump = Math.abs(slideTo - activeIndicator); + step = jump * step; + slideToPrev(); + } + slideToPrev(); + } + step = 100 / totalSlides; + }) +}); + +carousel.addEventListener('mouseover',()=>{ + loop(false); +}) + +carousel.addEventListener('mouseout',()=>{ + loop(true); +}) + +//Carousel functions + +function loadIndicators(){ + slides.forEach((slide,index)=>{ + if(index === 0){ + document.querySelector('.carousel-indicators').innerHTML += + ``; + }else{ + document.querySelector('.carousel-indicators').innerHTML += + ``; + } + }); +}; + +function updateIndicators(){ + if(activeSlide > (totalSlides - 1)){ + activeSlide = 0; + }else if(activeSlide < 0){ + activeSlide = (totalSlides - 1); + } + document.querySelector('.carousel-indicators span.active').classList.remove('active'); + document.querySelectorAll('.carousel-indicators span')[activeSlide].classList.add('active'); +}; + +function slideToNext(){ + if(direction === 1){ + direction = -1; + carouselInner.prepend(carouselInner.lastElementChild); + }; + + carousel.style.justifyContent = 'flex-start'; + carouselInner.style.transform = `translateX(-${step}%)`; +}; + +function slideToPrev(){ + if(direction === -1){ + direction = 1; + carouselInner.append(carouselInner.firstElementChild); + }; + carousel.style.justifyContent = 'flex-end' + carouselInner.style.transform = `translateX(${step}%)`; +}; + +function loop(status){ + if(status === true){ + time = setInterval(()=>{ + slideToNext(); + },interval); + }else{ + clearInterval(time); + } +}*/ + +$(document).ready(function() { + let carousel = $('.carousel'); + let carouselInner = $('.carousel-inner'); + let prev = $('.carousel-controls .prev'); + let next = $('.carousel-controls .next'); + let totalSlides = $('.carousel-inner .carousel-item').length; + let step = 100 / totalSlides; + let activeSlide = 0; + let activeIndicator = 0; + let direction = -1; + let jump = 1; + let interval = 3000; + let time; + + // Init carousel + carouselInner.css('minWidth', totalSlides * 100 + '%'); + loadIndicators(); + loop(true); + + // Carousel events + next.on('click', function() { + console.log("next"); + slideToNext(); + }); + + prev.on('click', function() { + console.log("prev"); + slideToPrev(); + }); + + carouselInner.on('transitionend', function() { + if (direction === -1) { + if (jump > 1) { + for (let i = 0; i < jump; i++) { + activeSlide++; + carouselInner.append(carouselInner.children().first()); + } + } else { + activeSlide++; + carouselInner.append(carouselInner.children().first()); + } + } else if (direction === 1) { + if (jump > 1) { + for (let i = 0; i < jump; i++) { + activeSlide--; + carouselInner.prepend(carouselInner.children().last()); + } + } else { + activeSlide--; + carouselInner.prepend(carouselInner.children().last()); + } + } + + carouselInner.css({ + transition: 'none', + transform: 'translateX(0%)' + }); + + setTimeout(function() { + jump = 1; + carouselInner.css('transition', 'all ease .5s'); + }); + updateIndicators(); + }); + + $(document).on('click', '.carousel-indicators span', function() { + let slideTo = parseInt($(this).data('slide-to')); + let indicators = $('.carousel-indicators span'); + indicators.each(function(index) { + if ($(this).hasClass('active')) { + activeIndicator = index; + } + }); + + if (slideTo - activeIndicator > 1) { + jump = slideTo - activeIndicator; + step = jump * step; + slideToNext(); + } else if (slideTo - activeIndicator === 1) { + slideToNext(); + } else if (slideTo - activeIndicator < 0) { + if (Math.abs(slideTo - activeIndicator) > 1) { + jump = Math.abs(slideTo - activeIndicator); + step = jump * step; + slideToPrev(); + } + slideToPrev(); + } + step = 100 / totalSlides; + }); + + carousel.on('mouseover', function() { + loop(false); + }); + + carousel.on('mouseout', function() { + loop(true); + }); + + // Carousel functions + function loadIndicators() { + for (let index = 0; index < totalSlides; index++) { + if (index === 0) { + $('.carousel-indicators').append(''); + } else { + $('.carousel-indicators').append(''); + } + } + } + + function updateIndicators() { + if (activeSlide > (totalSlides - 1)) { + activeSlide = 0; + } else if (activeSlide < 0) { + activeSlide = totalSlides - 1; + } + $('.carousel-indicators span.active').removeClass('active'); + $('.carousel-indicators span').eq(activeSlide).addClass('active'); + } + + function slideToNext() { + if (direction === 1) { + direction = -1; + carouselInner.prepend(carouselInner.children().last()); + } + + carousel.css('justifyContent', 'flex-start'); + carouselInner.css('transform', 'translateX(-' + step + '%)'); + } + + function slideToPrev() { + if (direction === -1) { + direction = 1; + carouselInner.append(carouselInner.children().first()); + } + carousel.css('justifyContent', 'flex-end'); + carouselInner.css('transform', 'translateX(' + step + '%)'); + } + + function loop(status) { + if (status === true) { + time = setInterval(function() { + slideToNext(); + }, interval); + } else { + clearInterval(time); + } + } +}); diff --git a/js/nav-mobile.js b/js/nav-mobile.js new file mode 100644 index 0000000..a5c840b --- /dev/null +++ b/js/nav-mobile.js @@ -0,0 +1,14 @@ +$(document).ready(function(){ + var toggleNav = false; + $("#nav-buton-js").click(function(){ + // Your code to be executed when the button is clicked + $(".nav-links").toggleClass("nav-links-expanded"); + + console.log("Button clicked!"); + }); + $("#drop-act").click(function(){ + // Your code to be executed when the button is clicked + $(".dropdown-content").toggleClass("dropdown-active"); + console.log("Button clicked!"); + }); +}); diff --git a/light-ad.php b/light-ad.php new file mode 100644 index 0000000..069e6a2 --- /dev/null +++ b/light-ad.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts.php' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us.php' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference.php' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service.php' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap.php' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design.php' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad.php' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service.php' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print.php' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design.php' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/print-service.php b/print-service.php new file mode 100644 index 0000000..dedf2c2 --- /dev/null +++ b/print-service.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service.php' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/reference.php b/reference.php new file mode 100644 index 0000000..c1d735c --- /dev/null +++ b/reference.php @@ -0,0 +1,59 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference.php' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..2ca2fb1 --- /dev/null +++ b/robots.txt @@ -0,0 +1,5 @@ +User-agent: * +Disallow: +Crawl-Delay: 5 +Request-rate: 18/1m 2100-0529 +Request-rate: 6/1m 0530-2059 diff --git a/service.php b/service.php new file mode 100644 index 0000000..8dded74 --- /dev/null +++ b/service.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service.php' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/textile-print.php b/textile-print.php new file mode 100644 index 0000000..1930912 --- /dev/null +++ b/textile-print.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print.php' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file diff --git a/tools/contact.php b/tools/contact.php new file mode 100644 index 0000000..516f586 --- /dev/null +++ b/tools/contact.php @@ -0,0 +1,24 @@ +
+
+ + + info@davo1.cz +
+ +420 603 23 44 88 +
+ +
+
+
Davo reklama s.r.o.
Škroupova 10, Ostrava, 702 00 Czech Republic
+
+
+ Společnost je vedena Krajským soudem v Ostravě,
oddíl C, vložka 32455 +
+ IČ: 28569962, DIČ: CZ28569962 +
+
+
\ No newline at end of file diff --git a/tools/email-me.php b/tools/email-me.php new file mode 100644 index 0000000..6f2aa8d --- /dev/null +++ b/tools/email-me.php @@ -0,0 +1,18 @@ +
+ +
diff --git a/tools/footer.php b/tools/footer.php new file mode 100644 index 0000000..626951e --- /dev/null +++ b/tools/footer.php @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/tools/index/about_us.php b/tools/index/about_us.php new file mode 100644 index 0000000..de72dac --- /dev/null +++ b/tools/index/about_us.php @@ -0,0 +1,45 @@ +
+
+
+

O nás

+
+
+ +
+

V oblasti reklamy jsme doma od roku 1994.

+ +

Naše specializace

+

Od návrhu až po realizaci se staráme o kompletní grafickou prezentaci firem. Máme vlastní výrobní zázemí, což nám umožňuje rychlé zpracování zakázek. Díky naší situaci v centru města jsme vždy blízko k vám.

+ +

Široká škála služeb

+

Nabízíme komplexní grafické zpracování a tisk firemních materiálů. Od vizitek a pozvánek, přes hlavičkové papíry až po speciální formuláře, reklamní letáky, propagační materiály a katalogy. Specializujeme se také na Signmaking, což zahrnuje výrobu reklamy od samolepek přes světelnou reklamu až po bigboardy.

+ +

Naše přednosti

+

Jsme hrdí na mnoho úspěšných projektů, které pomohly našim klientům k jednotné identitě firmy a zviditelnění na trhu. Naším hlavním cílem je udržet konkurenceschopné ceny a zůstat kvalitním a cenově dostupným partnerem pro naše klienty.

+ +

S námi máte jistotu, že vaše reklamní potřeby budou v dobrých rukou.

+
+
+ +
+
+

O nás

+
+
+ +
+

V oblasti reklamy jsme doma od roku 1994.

+ +

Naše specializace

+

Od návrhu až po realizaci se staráme o kompletní grafickou prezentaci firem. Máme vlastní výrobní zázemí, což nám umožňuje rychlé zpracování zakázek. Díky naší situaci v centru města jsme vždy blízko k vám.

+ +

Široká škála služeb

+

Nabízíme komplexní grafické zpracování a tisk firemních materiálů. Od vizitek a pozvánek, přes hlavičkové papíry až po speciální formuláře, reklamní letáky, propagační materiály a katalogy. Specializujeme se také na Signmaking, což zahrnuje výrobu reklamy od samolepek přes světelnou reklamu až po bigboardy.

+ +

Naše přednosti

+

Jsme hrdí na mnoho úspěšných projektů, které pomohly našim klientům k jednotné identitě firmy a zviditelnění na trhu. Naším hlavním cílem je udržet konkurenceschopné ceny a zůstat kvalitním a cenově dostupným partnerem pro naše klienty.

+ +

S námi máte jistotu, že vaše reklamní potřeby budou v dobrých rukou.

+
+
+
\ No newline at end of file diff --git a/tools/index/carousel.php b/tools/index/carousel.php new file mode 100644 index 0000000..419666e --- /dev/null +++ b/tools/index/carousel.php @@ -0,0 +1,17 @@ + + + \ No newline at end of file diff --git a/tools/index/products.php b/tools/index/products.php new file mode 100644 index 0000000..e9f2aae --- /dev/null +++ b/tools/index/products.php @@ -0,0 +1,28 @@ +
+
+
+ + Grafický design +
+
+ + Světelná reklama +
+
+ + Polepy vozidel +
+
+ + Tisk servis +
+
+ + Potisk textilu +
+
+ + Web design +
+
+
diff --git a/tools/instagram-posts.php b/tools/instagram-posts.php new file mode 100644 index 0000000..39cece6 --- /dev/null +++ b/tools/instagram-posts.php @@ -0,0 +1,19 @@ + +
+ + + \ No newline at end of file diff --git a/tools/map.php b/tools/map.php new file mode 100644 index 0000000..b520a8c --- /dev/null +++ b/tools/map.php @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/tools/nav.php b/tools/nav.php new file mode 100644 index 0000000..7c6a9a1 --- /dev/null +++ b/tools/nav.php @@ -0,0 +1,51 @@ + + + \ No newline at end of file diff --git a/utilities/404.php b/utilities/404.php new file mode 100644 index 0000000..506d653 --- /dev/null +++ b/utilities/404.php @@ -0,0 +1 @@ +404!!! \ No newline at end of file diff --git a/utilities/head.php b/utilities/head.php new file mode 100644 index 0000000..f7dc5af --- /dev/null +++ b/utilities/head.php @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/web-design.php b/web-design.php new file mode 100644 index 0000000..ce9b0de --- /dev/null +++ b/web-design.php @@ -0,0 +1,58 @@ + + + + Davo Reklama + ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + '/index.php' => ['template' => 'articles/other/default.php', 'css' => [$index_css]], // Example of multiple CSS files + + '/contacts' => ['template' => 'contacts.php','css' => ['/css/articles/contacts.css', '/css/articles/article-base.css']], + '/about-us' => ['template' => 'articles/other/about-us.php', 'css' => ['/css/articles/other/about-us.css', '/css/articles/article-base.css']], + '/reference' => ['template' => 'articles/other/reference.php', 'css' => ['/css/articles/other/reference.css', '/css/articles/article-base.css']], + '/service' => ['template' => 'articles/service.php', 'css' => ['/css/articles/service.css', '/css/articles/article-base.css']], + '/car-wrap' => ['template' => 'articles/car-wrap.php', 'css' => ['/css/articles/car-wrap.css', '/css/articles/article-base.css']], + '/graphic-design' => ['template' => 'articles/graphic-design.php', 'css' => ['/css/articles/graphic-design.css', '/css/articles/article-base.css']], + '/light-ad' => ['template' => 'articles/light-advertisment.php', 'css' => ['/css/articles/light-ad.css', '/css/articles/article-base.css']], + '/print-service' => ['template' => 'articles/print-service.php', 'css' => ['/css/articles/print-service.css', '/css/articles/article-base.css']], + '/textile-print' => ['template' => 'articlestextile-print.php', 'css' => ['/css/articles/textile-print.css', '/css/articles/article-base.css']], + '/web-design.php' => ['template' => 'articles/web-design.php', 'css' => ['/css/articles/web-design.css', '/css/articles/article-base.css']], + ]; + + // Check if the requested path matches a defined route + if (isset($routes[$requestPath]) && isset($routes[$requestPath]['css'])) { + // Output the CSS files + foreach ($routes[$requestPath]['css'] as $cssFile) { + if (is_array($cssFile)) { + // If $cssFile is an array, handle it appropriately + foreach ($cssFile as $singleCssFile) { + echo ''; + } + } else { + // If $cssFile is a single CSS file, include it directly + echo ''; + } + } + } + + ?> + + + +
+ +
+ + + + \ No newline at end of file