-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathportfolio-details.htm
155 lines (124 loc) · 5.82 KB
/
portfolio-details.htm
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>Portfolio Details</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<!-- <link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon"> -->
<!-- Google Fonts -->
<!-- <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet"> -->
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/glightbox/css/glightbox.min.css" rel="stylesheet">
<link href="assets/vendor/remixicon/remixicon.css" rel="stylesheet">
<link href="assets/vendor/swiper/swiper-bundle.min.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<main id="main">
<!-- ======= Portfolio Details ======= -->
<div id="portfolio-details" class="portfolio-details">
<div class="container">
<div class="row">
<div class="col-lg-8">
<h2 class="portfolio-title">Portfolio detail</h2>
<div class="portfolio-details-slider swiper">
<div class="swiper-wrapper align-items-center">
<div class="swiper-slide">
<img id="image_1" alt="">
</div>
<div class="swiper-slide">
<img id="image_2" alt="">
</div>
<div class="swiper-slide">
<img id="image_3" alt="">
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
<div class="col-lg-4 portfolio-info">
<h3>Project information</h3>
<ul>
<li id='category'>Category : <span></span> </li>
<li id='client'>Client :
<span></span>
</li>
<li id='date'>Project date : <span></span>
<!-- : 01 March, 2020 -->
</li>
<li id='url'>Project URL : <a href=''></a>
<!-- : <a href="#">www.example.com</a> -->
</li>
</ul>
<p>
<!-- Autem ipsum nam porro corporis rerum. Quis eos dolorem eos itaque inventore commodi labore quia quia. Exercitationem repudiandae officiis neque suscipit non officia eaque itaque enim. Voluptatem officia accusantium nesciunt est omnis tempora consectetur dignissimos. Sequi nulla at esse enim cum deserunt eius. -->
</p>
</div>
</div>
</div>
</div><!-- End Portfolio Details -->
</main><!-- End #main -->
<!-- <div class="credits"> -->
<!-- All the links in the footer should remain intact. -->
<!-- You can delete the links only if you purchased the pro version. -->
<!-- Licensing information: https://bootstrapmade.com/license/ -->
<!-- Purchase the pro version with working PHP/AJAX contact form: https://bootstrapmade.com/personal-free-resume-bootstrap-template/ -->
<!-- Designed by <a href="https://bootstrapmade.com/">BootstrapMade</a>
</div> -->
<!-- Vendor JS Files -->
<script src="assets/vendor/purecounter/purecounter_vanilla.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/glightbox/js/glightbox.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/swiper/swiper-bundle.min.js"></script>
<script src="assets/vendor/waypoints/noframework.waypoints.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
<script>
var name = new URL(location.href).searchParams.get('name');
console.log('name', new URL(location.href))
document.getElementById('image_1').src = `assets/img/portfolio/` + name + '.jpg';
document.getElementById('image_2').src = `assets/img/portfolio/` + name + '1.jpg';
document.getElementById('image_3').src = `assets/img/portfolio/` + name + '2.jpg';
const categories = new Map();
categories.set('esher', ['Backend & Frontend Development', 'Advanced Blockchain', '', '']);
categories.set('Eth-Polygon', ['Backend & Frontend Development', 'Personal Work', '',
'https://transactions-listing-blockchain.vercel.app/'
]);
function getCategoryAndClient(name) {
let category, client, date, url;
category = categories.get(name)[0];
client = categories.get(name)[1];
date = categories.get(name)[2];
url = categories.get(name)[3];
if (category === undefined) {
category = 'Frontend Development';
}
if (client === undefined) {
client = 'Personal Work'
}
if (date === undefined) {
date = ''
}
if (url === undefined) {
url = ''
}
return [category, client, date, url];
}
let [category, client, date, url] = getCategoryAndClient(name);
document.querySelectorAll('#category span')[0].textContent = category;
document.querySelectorAll('#client span')[0].textContent = client;
document.querySelectorAll('#date span')[0].textContent = date;
document.querySelectorAll('#url a')[0].textContent = url;
</script>
</body>
</html>