-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·149 lines (135 loc) · 7.1 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Portfolio</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Lato:100,300,400,700" rel="stylesheet">
</head>
<body>
<!-- Navigation bar -->
<nav class="navbar navbar-expand-md navbar-default navbar-dark navigation">
<div class="container">
<!-- Title logo -->
<picture>
<source media="(max-width: 768px)" srcset="images/logo/title-logo-80.png">
<source media="(min-width: 768px)" srcset="images/logo/title-logo-100.png">
<img class="img-fluid" src="images/logo/title-logo-100.png" alt="title logo">
</picture>
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-controls="bs-example-navbar-collapse-1" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
</button>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right navigation-nav ml-auto">
<li class="active"><a class="nav-link" href="index.html">Home<span class="sr-only">(current)</span></a></li>
<li><a class="nav-link" href="work.html">Work</a></li>
<li><a class="nav-link" href="contact.html">Contact</a></li>
<li><a class="nav-link" href="about.html">About</a></li>
</ul>
</div>
</div>
</nav>
<!-- Title header -->
<div class="container">
<header class="row">
<div class="col-md">
<h1 class="text-uppercase text-center title-super">Abdul Samad</h1>
<h4 class="text-uppercase text-center title-desc">Front-end Ninja</h4>
</div>
</header>
<!-- Horizontal line -->
<div class="row">
<div class="col-md">
<hr>
</div>
</div>
<!-- Main image -->
<div class="row">
<div class="col-md">
<picture>
<source media="(max-width: 768px)" srcset="images/main/main-image-768-500.png">
<source media="(max-width: 992px)" srcset="images/main/main-image-992-600.png">
<source media="(max-width: 1200px)" srcset="images/main/main-image-1140-600.png">
<img class="img-fluid" id="main-filter" src="images/main/main-image-1200-600.png" alt="main image">
</picture>
</div>
</div>
<br>
<!-- Work -->
<div id="Featured-Work" class="row">
<div class="col-md muted-text">
<h2>Featured Work</h2>
</div>
</div>
<!-- Work post -->
<main class="text-center">
<section class="row">
<div class="col-md-4">
<picture>
<source media="(max-width: 768px)" srcset="images/work/work-768-300/funphase-768-300.png">
<img class="img-fluid" src="images/work/work-360-200/funphase-360-200.png" alt="Featured Work" data-toggle="modal" data-target="#project">
</picture>
<h3 class="text-uppercase post-title">Funphase</h3>
<p><a class="post-link" href="#">https://github.com</a></p>
</div>
<div class="col-md-4">
<picture>
<source media="(max-width: 768px)" srcset="images/work/work-768-300/caleneledal-768-300.png">
<img class="img-fluid" src="images/work/work-360-200/caleneledal-360-200.png" alt="Feturred Work" data-toggle="modal" data-target="#project">
</picture>
<h3 class="text-uppercase post-title">Caleneldal</h3>
<p><a class="post-link" href="#">https://github.com</a></p>
</div>
<div class="col-md-4">
<picture>
<source media="(max-width: 768px)" srcset="images/work/work-768-300/Labtech-768-300.png">
<img class="img-fluid" src="images/work/work-360-200/Labtech-360-200.png" alt="Featured Work" data-toggle="modal" data-target="#project">
</picture>
<h3 class="text-uppercase post-title">Labtech</h3>
<p><a class="post-link" href="#">https://github.com</a></p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="container-fluid copyright-footer">
<div class="row">
<div class="col-md-12 text-center">
<p class="copyright-text">© 2018 Abdul Samad</p>
</div>
</div>
</footer>
<!-- Modal -->
<div class="modal fade" id="project" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Favorite App Page</h4>
</div>
<div class="modal-body">
<img class="img-fluid" src="images/work/work-768-300/funphase-768-300.png" alt="modal-image">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quo totam, non ducimus iste, voluptates tempora. Veniam accusamus dicta, dolorum, placeat cumque, non illo veritatis consectetur rem vitae quasi dolor accusantium.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<script src="js/jquery-3.2.1.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>
$('li > a').on('click', function(e) {
$('li').removeClass('active')
$(e.target).parent().addClass('active');
});
$("#project").on('shown.bs.modal', function(e) {
$(e.currentTarget).find('.img-fluid')[0].src = $(e.relatedTarget)[0].src.replace(/360-200/g, '768-300');
})
</script>
</body>
</html>