-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (120 loc) · 6.19 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
<!DOCTYPE html>
<html lang="en" data-bs-theme="dark">
<!-- -->
<head>
<link rel="icon" type="image/x-icon" href="https://logosandtypes.com/wp-content/uploads/2020/11/eurowings.svg">
<!-- Meta Tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Eurowings, the right way to fly.">
<meta name="author" content="Eurowings">
<meta name="keywords" content="Roblox, RO-AV, Eurowings">
<title>Eurowings Roblox</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200"/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/ScrollTrigger.min.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script src="https://unpkg.com/split-type"></script>
</head>
<style>
@font-face {
font-family: 'Kinetika Bold'; /*a name to be used later*/
src: url('https://memesbananza.github.io/Eurowings_Roblox_Webpage/fonts/kinetika-bold.ttf'); /*URL to font*/
}
body {
font-family: 'Kinetika Bold';
}
</style>
<script>
const apiKey = '748520ed3feeba08f740c94f41eb466f'; // Replace with your Trello API key
const token = 'ATTA289f46a116fef5ce47b3443210d7d30aa9a4556befc8f8a7e00e41390af0b8e6F5CBAE17'; // Replace with your Trello API token
const boardId = 'B2hOvLxK'; // Replace with your Trello Board ID
// Function to fetch events (cards) from Trello
async function fetchTrelloEvents() {
const url = `https://api.trello.com/1/boards/${boardId}/cards?key=${apiKey}&token=${token}`;
try {
const response = await fetch(url);
const cards = await response.json();
displayEvents(cards);
} catch (error) {
console.error('Error fetching Trello data:', error);
}
}
// Function to display events on the page
function displayEvents(cards) {
const eventsRow = document.getElementById('events-row');
eventsRow.innerHTML = '';
cards.forEach(card => {
const eventCol = document.createElement('div');
eventCol.className = 'col-md-4';
// Check if the card has an attachment that is marked as the cover image
const coverImage = card.cover.sharedSourceUrl || card.cover.url;
eventCol.innerHTML = `
<div class="card mb-4">
<img src="https://memesbananza.github.io/Eurowings_Roblox_Webpage/img/EWPLANEUNDER.png" class="card-img-top" alt="${card.name}">
<div class="card-body">
<h5 class="card-title">${card.name}</h5>
<p class="card-text">${card.desc}</p>
<a href="${card.shortUrl}" class="btn btn-primary" target="_blank">View on Trello</a>
</div>
</div>
`;
eventsRow.appendChild(eventCol);
});
}
// Fetch events on page load
fetchTrelloEvents();
</script>
<!-- https://logosandtypes.com/wp-content/uploads/2020/11/eurowings.svg -->
<body>
<!-- Header -->
<div class="container.fluid text-center align-content-center" style="background-image: url(https://memesbananza.github.io/Eurowings_Roblox_Webpage/img/SKY.jpg); background-repeat: no-repeat; background-size: cover; width: 100%; height: 80vh; background-position: top">
<div class="container align-content-center">
<span class="p-5">
<div><img src="https://upload.wikimedia.org/wikipedia/commons/b/b4/Eurowings_Logo.svg" class="" style="display: inline;" height="100vh" alt=""></div>
<h3 class="display-5 text-center mt-5 pt-2 p-5 pb-2 tagline" style="display: inline;"><div class="h1 tagline" style="display: inline;">Fly <div class="h1 hlt" style="text-decoration: underline; display: inline;">your</div> way.</div></h3>
</span>
</div>
</div>
<!-- header end -->
<nav class="navbar sticky-top navbar-expand-sm navbar-dark bg-dark border-bottom">
<div class="container-fluid">
<a class="navbar-brand" href="index.html"><img src="https://logosandtypes.com/wp-content/uploads/2020/11/eurowings.svg" height="40px"></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#mynavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="mynavbar">
<ul class="navbar-nav me-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="fleet.html">Fleet</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- TESTING -->
<div class="container my-4">
<h1 class="text-center">Flights</h1>
<div id="events-row" class="row"></div>
</div>
<!-- END -->
<div class="container.fluid p-5 mt-0 pt-0">
<div class="p-5 pb-2">
<h1 class="p-2">Eurowings - Fly your way.</h1>
<p class="p"><p class="p" style="font-weight: bold;">When you fly with Eurowings, you fly at low prices.</p>Discover our current offers on flights to the most beautiful destinations worldwide. When you fly with Eurowings, you fly at low prices. Our low-fare calendar will help you find the lowest-cost flight days. Don’t miss the Eurowings flight specials either!</p>
</div>
</div>
<div class="container.fluid p-5 mt-0 pt-0 text" style="background-image: linear-gradient(to bottom right, #8F174F, #7BCBE2);">
<div class="p-5 pb-2">
<img src="https://logosandtypes.com/wp-content/uploads/2020/11/eurowings.svg" height="100px">
<p class="text-muted">Eurowings, fly your way.</a></p>
<p class="text-muted">In no way are we associated with Eurowings GmbH or Deutsche Lufthansa AG, we are just a roblox game.</p>
</div>
</div>
</body>
</html>