List of commits:
Subject Hash Author Date (UTC)
feat(navigation): Navigation images 0029e8677788e675f11a39aa6d05516bb9acca4a Gabi 2020-03-23 22:46:39
fix(cke): Fix navigation. 324b2a1ed349e862f43dc3a71c886696e5015420 Gabi 2020-03-23 22:37:02
feat(cke): Pages structure. a814459f44e53490c54c8bb2249c6c965197179e Gabi 2020-03-23 22:32:47
feat(home): Add blog section to homepage. 46d13829e9d3313ad675355fc775121ab95900d5 Gabi 2020-03-23 22:06:10
fix(cke): 404 11c47ce6547528e3b3e0231080b7d2d3cd827db8 Gabi 2020-03-23 17:50:51
fix(cke): Header logo link. 6563dff6a9afe0e9b3cef390848e8abd108d0174 Gabi 2020-03-23 17:42:11
fix(cke): 404 d1cedf7bbe80220c188703b02714c0b089748d1e Gabi 2020-03-23 17:40:55
feat(cke): 404 abd55294660ed8d683595cdf9353cde3fbfeb019 Gabi 2020-03-23 17:37:52
feat(cke): Footer fa7461f76e89dbd398117d828baf3ae1683f3242 Gabi 2020-03-22 19:50:22
feat(cke): Home Slider bfd8ec479aa9d8fe8bdf22f5a05ec4eedd6ce64d Gabi 2020-03-22 19:45:03
feat(cke): Basic layout. 351e7d2a3566e13a624a30496ce96efb6aab7304 Gabi 2020-03-22 18:54:31
build(cke): Deploy htaccess. 11945821044e4eb09db031fdddedea75587d8dbd Gabi 2020-03-22 17:09:31
build(cke): Update deploy 3d8d3a7623f6d036eb0ab0daf4977247e1409891 Gabi 2020-03-22 17:07:07
build(cke): Fix deploy 727b51304ff26321f728d4aefe84bccee8045f6e Gabi 2020-03-22 17:00:25
build(cke): Changed project structure. 3b6747207f946e7b72d1cfe3f7e601c377c4b04a Gabi 2020-03-22 16:53:28
build(cke): Deploy changes 118ec60c2c2d027100d528e84fcc8c35a3739080 Gabi 2020-03-22 16:42:57
fix(cke): Change include syntax. b7f33d2889810311688e4f39fbf20e46ecb837ad Gabi 2020-03-22 16:29:56
feat(cke): Check query params. b3a97739e100e8a5f612bdf2b04df02c5bb9ccda Gabi 2020-03-22 16:12:31
feat(cke): Htaccess 0516fa010d248f3b3064ad2efa83b62ef512b3a7 Gabi 2020-03-22 16:10:50
feat(cke): Initial PHP structure. 236cf15b8bb7f067063729f607a846ffd25c2fc6 Gabi 2020-03-21 16:59:32
Commit 0029e8677788e675f11a39aa6d05516bb9acca4a - feat(navigation): Navigation images
Navigation active logic.
Author: Gabi
Author date (UTC): 2020-03-23 22:46
Committer name: Gabi
Committer date (UTC): 2020-03-23 22:46
Parent(s): 324b2a1ed349e862f43dc3a71c886696e5015420
Signing key:
Tree: 7832e52529238f13f04ec391170094652ef537d8
File Lines added Lines deleted
src/php/common/navigation.php 11 9
File src/php/common/navigation.php changed (mode: 100644) (index 7c90ea5..82421be)
4 4 [ [
5 5 'label' => 'Home', 'label' => 'Home',
6 6 'url' => '/', 'url' => '/',
7 'image' => 'assets/images/projects/draft/lift.jpg'
7 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-01.jpg'
8 8 ], ],
9 9 [ [
10 10 'label' => 'Products', 'label' => 'Products',
11 11 'url' => '/products', 'url' => '/products',
12 'image' => 'assets/images/projects/draft/lift.jpg'
12 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-02.jpg'
13 13 ], ],
14 14 [ [
15 15 'label' => 'Services', 'label' => 'Services',
16 16 'url' => '/services', 'url' => '/services',
17 'image' => 'assets/images/projects/draft/lift.jpg'
17 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-03.jpg'
18 18 ], ],
19 19 [ [
20 20 'label' => 'Portfolio', 'label' => 'Portfolio',
21 21 'url' => '/portfolio', 'url' => '/portfolio',
22 'image' => 'assets/images/projects/draft/lift.jpg'
22 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-04.jpg'
23 23 ], ],
24 24 [ [
25 25 'label' => 'Blog', 'label' => 'Blog',
26 26 'url' => '/blog', 'url' => '/blog',
27 'image' => 'assets/images/projects/draft/lift.jpg'
27 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-05.jpg'
28 28 ], ],
29 29 [ [
30 30 'label' => 'Contact', 'label' => 'Contact',
31 31 'url' => '/contact', 'url' => '/contact',
32 'image' => 'assets/images/projects/draft/lift.jpg'
32 'image' => 'https://www.ascensoare.ro/assets/portofoliu-home/ascensoare-elmas-06.jpg'
33 33 ] ]
34 34 ]; ];
35 35 ?> ?>
 
52 52
53 53 <!-- nav-menu start --> <!-- nav-menu start -->
54 54 <ul class="nav-menu dark-bg-1"><?php <ul class="nav-menu dark-bg-1"><?php
55 foreach ($pages as $page) {?>
55 foreach ($pages as $page) {
56 $isActive = strtolower($page['label']) === $_GET['path'];
57 ?>
56 58 <!-- nav-box start --> <!-- nav-box start -->
57 <li class="nav-box nav-bg-change active dropdown-open">
59 <li class="nav-box nav-bg-change <?=$isActive ? 'active' : ''?> dropdown-open">
58 60 <a href="<?=$page['url']?>" class="animsition-link pointer-large"> <a href="<?=$page['url']?>" class="animsition-link pointer-large">
59 <span class="nav-btn active" data-text="<?=$page['label']?>"><?=$page['label']?></span>
61 <span class="nav-btn <?=$isActive ? 'active' : ''?>" data-text="<?=$page['label']?>"><?=$page['label']?></span>
60 62 </a> </a>
61 63 <div class="nav-bg" style="background-image: url('<?=$page['image']?>');"></div> <div class="nav-bg" style="background-image: url('<?=$page['image']?>');"></div>
62 64 </li> </li>
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/bitvice/cke

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/bitvice/cke

Clone this repository using git:
git clone git://git.rocketgit.com/user/bitvice/cke

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main