-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponents.html
116 lines (102 loc) · 5.17 KB
/
components.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
<html>
<head>
<title>Portfolio</title>
<link rel="stylesheet" href="/CSS/components.css">
</head>
<body>
<section id="Welcome-section">
</section>
<!-- Start of projects component -->
<section id="project-section">
<div id="project-header">
<header id="project-header-text">. PROJECTS</header>
</div>
<div id="projects-div">
<div class="project-item-div">
<div class="project-item-content">
<a class="project-img" id="project-1" href="index.nginx-debian.html"></a>
<div class="project-text">
<a class="project-name" href="index.nginx-debian.html">Enromancy</a>
<a class="project-disc" href="index.nginx-debian.html">ExperienceMV and KeepUpTheRads colab fantasy comic, follow out hero in a world with visious monsters.</a>
</div>
</div>
</div>
<div class="project-item-div">
<div class="project-item-content-r">
<a class="project-img" id="project-2"></a>
<div class="project-text">
<a class="project-name">Dating Game </a>
<a class="project-disc">A erotic dating simulatin game. with over 6 different endings a over 10 uniqe minigame. all art, writing and programming done my Experience MV.</a>
</div>
</div>
</div>
<div class="project-item-div">
<div class="project-item-content">
<a class="project-img" id="project-3"></a>
<div class="project-text">
<a class="project-name">Experience Rads</a>
<a class="project-disc">This is a website where the Duo make there millions. its also where they host thier comic "enromacncy" and all other media they make</a>
</div>
</div>
</div>
</div>
</section>
<!-- End of projects component -->
<!-- Start of Sites component -->
<header id="site-header">. Sites</header>
<section id="site-section">
<div class="site-div">
<a id="site-1"class="site-img" href="/index.nginx-debian.html"></a>
<a class="site-link" href="/index.nginx-debian.html">Experience Rads</a>
</div>
<div class="site-div">
<a id="site-2"class="site-img" href="/cc_Survey.html"></a>
<a class="site-link" href="/cc_Survey.html">Survey form</a>
</div>
<div class="site-div">
<a id="site-3"class="site-img" href="/cc_LandingPage.html"></a>
<a class="site-link" href="/cc_LandingPage.html">Landing Page</a>
</div>
<div class="site-div">
<a id="site-4"class="site-img" href="/cc_TechnicalPage.html"></a>
<a class="site-link" href="/cc_TechnicalPage.html">Technical Page</a>
</div>
<div class="site-div">
<a id="site-5"class="site-img" href="/cc_TributePage.html"></a>
<a class="site-link" href="/cc_TributePage.html">PlaceHolder Page</a>
</div>
</section>
<!-- End of Sites component -->
<!-- Start of Button w/ Modal Component -->
<button id="myBtn">Site<br>Info</button>
<div id="myModal" class="modal">
<div class="modal-content"> <!-- Modal content -->
<span class="close">×</span>
<h4>Components Page</h4>
<p>A page where I store and display components I made including this button component.<br> Code: HTML, CSS and JavaScript (Only for this button so far).<br> Hosting: nginx.<br> Misc: Git, GitHub.<br>Last Updated: 14/07/2020. </p>
</div>
</body>
<script>
// Start of Button w/ Modal component
// Get the modal
var modal = document.getElementById("myModal");
// Get the button that opens the modal
var btn = document.getElementById("myBtn");
// Get the <span> element that closes the modal
var span = document.getElementsByClassName("close")[0];
// When the user clicks the button, open the modal
btn.onclick = function() {
modal.style.display = "block";
}
// When the user clicks on <span> (x), close the modal
span.onclick = function() {
modal.style.display = "none";
}
// When the user clicks anywhere outside of the modal, close it
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}}
// End of Button w/ Modal component
</script>
</html>