forked from Waggish-Mepo/rpl2-yearbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile.html
130 lines (107 loc) · 4.44 KB
/
profile.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>Profile - RPL2</title>
<link rel="icon" type="image/x-icon" href="Assets/images/favicon.svg">
<link rel="image_src" href="Assets/images/favicon.svg" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="Assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" integrity="sha512-tS3S5qG0BlhnQROyJXvNjeEM4UpMXHrQfTGmbQ1gKmelCxlSEBUaxhRBj/EFTzpbP4RVSrpEikbmdJobCvhE3g==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> -->
<link rel="stylesheet" type="text/css" href="Assets/css/profile_styles.css">
<!-- Styling CSS -->
<link rel="stylesheet" href="Assets/css/home.css" />
</head>
<body>
<!--Navbar-->
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container">
<a class="navbar-brand" href="#">
<img src="Assets/images/meh_entahlah_copy.png" alt="">
</a>
<button class="navbar-toggler" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav">
<div class="menu ms-auto">
<a class="nav-link" href="index.html">Home</a>
<a class="nav-link active" href="profile.html">Profile</a>
<a class="nav-link" href="album.html">Album</a>
</div>
</div>
</div>
</div>
</nav>
<!--End Navbar-->
<section id="slider" class="pt-5">
<div class="container">
<h3 class="text-center mt-5" style="font-family: 'Dillsburg City Demo';"><b>Profile RPL II</b></h3>
<div class="slider">
<div class="owl-carousel" id="profile-slider" style="height: auto !important">
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<p class="text-center text-white">Copyright © 2022 RPL XII-2</p>
</footer>
<!-- End
Footer -->
<!-- Bootstrap JS Bundle -->
<script src="Assets/js/bootstrap.bundle.min.js"></script>
<script src="Assets/js/jquery-3.6.0.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js" integrity="sha512-bPs7Ae6pVvhOSiIcyUClR7/q2OAsRiovw4vAkX+zJbw3ShAeeqezq50RIIcIURq7Oa20rW2n2q+fyXBNcU9lrw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="Assets/js/data/profiles.js"></script>
<script src="Assets/js/profile_script.js"></script>
<!-- Script -->
<script>
//Navbar Mobile Version Toggle triger
$(document).ready(function () {
$(".navbar-toggler").click(function(){
$(".navbar-collapse").toggleClass("showNavbar");
});
});
$(document).ready(function () {
$(document).on("scroll", onScroll);
//smoothscroll
$('a[href^="#"]').on('click', function (e) {
e.preventDefault();
$(document).off("scroll");
$('a').each(function () {
$(this).removeClass('active');
})
$(this).addClass('active');
var target = this.hash,
menu = target;
$target = $(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top+6
}, 700, 'swing', function () {
window.location.hash = target;
$(document).on("scroll", onScroll);
});
});
});
function onScroll(event){
var scrollPos = $(document).scrollTop();
$('#navbar a').each(function () {
var currLink = $(this);
var refElement = $(currLink.attr("href"));
if (refElement.position().top <= scrollPos && refElement.position().top + refElement.height() > scrollPos) {
$('#navbar ul li a').removeClass("active");
currLink.addClass("active");
}
else{
currLink.removeClass("active");
}
});
}
</script>
<!-- End Script -->
</body>
</html>