-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcase_study.php
100 lines (88 loc) · 3.46 KB
/
case_study.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html class="has-navbar-fixed-top" lang="en">
<head>
<meta charset="UTF-8"/>
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<title>Works - Makuda Consulting</title>
<?php require('./components/common_libraries.php') ?>
<link href="css/work.css" rel="stylesheet" type="text/css"/>
<link href="css/bello.css" rel="stylesheet" type="text/css"/>
<link href="css/pre_works.css" rel="stylesheet" type="text/css"/>
</head>
<body style="background-color:#111">
<?php require('./components/libraries_after_body.php') ?>
<style>.makuda-home-link--contacts.is-loaded .makuda-home-link.is-hover span:first-child {
color: rgba(255, 197, 32, 1);
transform: translateX(-70px) !important;
}
.makuda-home-link--contacts.is-loaded .makuda-home-link.is-hover span:last-child {
transform: translateX(0) !important;
color: rgba(255, 197, 32, 1);
}
</style>
<?php require "components/navbar.php"; ?>
<?php require "components/menu.php"; ?>
<div class="progress_wrap">
<div class="progress">
<div class="progress_w_in">
<div class="progress_in_selected"></div>
<div class="progress_in"></div>
</div>
<div class="progress_subtitle">
<p>Scroll</p>
</div>
</div>
</div>
<div class="rightBandSign" data-link="/produzioni"></div>
<div class="full-screen-carousel-control right" style=" top: 0;
position: fixed;
">
<div class="full-screen-carousel-arrow right">
<i class="bi bi-chevron-right makuda-color" style="font-size: 40px;
"></i>
</div>
</div>
<div class="makuda-home-link--contacts makuda-home-link-wrap is-loaded" style="top: 100%;">
<div class="makuda-home-link is-link ">
<a id="text-produzioni" style="cursor: default;">
<span class='noWrap' style="font-size: 4em">PRODUZIONI</span>
<span class='noWrap' style="font-size: 1.5em"> cinematic & spot adv, shooting, 3D VFX</span>
</a>
</div>
</div>
<div class="mainSection">
<div class="blackScreenLeft"></div>
<p class="title" style="padding-top:30px; font-size: 4em;">
CASE <span class="makuda-color">STUDY</span>
</p>
<section class="sectionFullWorks">
<div class="workList">
<?php
$myfile = fopen("media/json/home-lavori.json", "r") or die("Unable to open file!");
$to_parse = fread($myfile, filesize("media/json/home-lavori.json"));
fclose($myfile);
$parsed = json_decode($to_parse, true);
$c = 1;
foreach ($parsed as $view) {
if (!$view['case-study']) continue;
$id = $c . "";
$linkPage = "/lavori/$view[link]";
$srcImg = "/media/img/lavori/$view[image]";
$title = $view["title"];
$subTitle = $view['subtitle'];
$c++;
include './components/workListTemplate.php';
}
?>
</div>
</section>
</div>
<?php require "components/footer.php" ?>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<script src="js/utils.js" type="text/javascript"></script>
<script src="js/workJS.js" type="text/javascript"></script>
<script src="js/menu.js" type="text/javascript"></script>
<script src="/js/ScrollToPlugin.min.js"></script>
<script src="js/CSSRulePlugin.min.js" type="text/javascript"></script>
</body>
</html>