-
Notifications
You must be signed in to change notification settings - Fork 0
/
wrapper.html
163 lines (142 loc) · 4.44 KB
/
wrapper.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
150
151
152
153
154
155
156
157
158
159
160
161
162
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project Wrapper</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
/* Colors from the logo */
:root {
--maroon: #8B1A1A; /* Maroon color */
--gold: #FFD700; /* Gold color */
--dark-text: #343a40;
}
body {
background-color: #f8f9fa;
color: var(--dark-text);
position: relative;
z-index: 1;
padding-bottom: 120px; /* Make space for the footer */
}
/* Position wave at the bottom and cover half the page */
.wave-container {
position: fixed;
bottom: -110px;
left: 0;
width: 100%;
height: 50%; /* Half the height of the viewport */
z-index: -1; /* This ensures the wave stays behind other content */
overflow: hidden;
}
.wave {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 50%;
fill: var(--gold); /* Set the wave color to gold */
}
.navbar {
background-color: var(--maroon);
}
.navbar-brand, .nav-link {
color: #fff !important;
}
.container {
max-width: 95%;
text-align: center;
padding: 30px 0;
position: relative;
z-index: 2;
}
h1 {
font-size: 2.5rem;
color: var(--maroon);
margin-bottom: 20px;
font-weight: 700;
}
p.lead {
color: #4a4a4a;
}
.iframe-wrapper {
border: 4px solid var(--maroon);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
margin-top: 20px;
transform: scale(0.9);
transform-origin: top center;
width: 100%;
}
.iframe-wrapper iframe {
width: 100%;
height: 1000px;
border: none;
}
.logo {
margin-top: 30px;
max-width: 150px; /* Adjust as needed */
border: 3px solid var(--maroon);
border-radius: 50%;
}
/* Footer Styling */
.footer {
margin-top: 30px;
color: var(--dark-text);
font-size: 0.9rem;
position: relative;
z-index: 2;
}
</style>
</head>
<body>
<!-- Bootstrap Header -->
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">Dr Lembo</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ms-auto">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<h1>MapStore Landing Page</h1>
<!-- Iframe Wrapper -->
<div class="iframe-wrapper">
<iframe src="http://localhost:8080/mapstore" scrolling="yes"></iframe>
</div>
<!-- Centered Logo Below the Iframe -->
<div class="d-flex justify-content-center">
<img src="sulogo.png" alt="University Logo" class="logo">
</div>
<!-- Footer -->
<footer class="footer">
<p>© 2024 Salisbury University. All rights reserved.</p>
</footer>
</div>
<!-- Wave Container -->
<div class="wave-container">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">
<path fill="var(--gold)" fill-opacity="1" d="M0,32L34.3,53.3C68.6,75,137,117,206,112C274.3,107,343,53,411,64C480,75,549,149,617,165.3C685.7,181,754,139,823,101.3C891.4,64,960,32,1029,32C1097.1,32,1166,64,1234,74.7C1302.9,85,1371,75,1406,69.3L1440,64L1440,320L1405.7,320C1371.4,320,1303,320,1234,320C1165.7,320,1097,320,1029,320C960,320,891,320,823,320C754.3,320,686,320,617,320C548.6,320,480,320,411,320C342.9,320,274,320,206,320C137.1,320,69,320,34,320L0,320Z"></path>
</svg>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>