Skip to content

Commit b247632

Browse files
authored
Merge branch 'main' into change-frontend-deploy-region
2 parents 69268d3 + 634ff01 commit b247632

19 files changed

+662
-110
lines changed

frontend/src/App.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
<template>
2-
<h1 id="app">
2+
<div id="app">
33
<Header />
44
<IntroSection />
55
<MainSection />
6+
<AboutSection />
67
<Footer />
7-
</h1>
8+
</div>
89
</template>
910

1011
<script>
1112
import Header from "./components/Header.vue"
1213
import IntroSection from "./components/IntroSection.vue"
1314
import MainSection from "./components/MainSection.vue"
1415
import Footer from "./components/Footer.vue"
16+
import AboutSection from "./components/AboutSection.vue"
1517
1618
export default {
1719
name: 'App',
1820
components: {
1921
Header,
2022
IntroSection,
2123
MainSection,
22-
Footer
24+
Footer,
25+
AboutSection
2326
}
2427
}
2528
</script>
237 KB
Loading
242 KB
Loading
1.02 MB
Loading
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<template>
2+
<v-container id="about-section" class="about-section pt-16" fluid>
3+
<v-row justify="center">
4+
<v-col cols="12" md="10">
5+
<h3>A CODE University Professor-led Project </h3>
6+
<p class="about-text pt-4">
7+
This project was conducted as part of a professor-led semester Project at CODE University of Applied Sciences. Our team aimed to explore the unique urban ecosystem of Tempelhofer Feld and its response to changing climatic conditions. The findings presented on this site are only a fraction of the work we carried out.
8+
</p>
9+
<p class="about-text pt-4">
10+
In addition to analyzing NDVI, we explored other vegetation indices like MSAVI and GNDVI, as well as in-vitro measurements such as air humidity and soil moisture. We also explored data from other remote sensing sources, including SAR imagery.
11+
</p>
12+
<p class="about-text pt-4">
13+
To manage and query these insights in real time, we developed a robust infrastructure supported by caching strategies to ensure optimal performance. This system enables dynamic exploration of the data and supports future scalability.
14+
</p>
15+
<p class="about-text pt-4">
16+
The success of this project was made possible by the collaborative efforts of our team members:
17+
</p>
18+
<ul class="pt-4">
19+
<li>Essam Ali</li>
20+
<li>Abdul Sanni</li>
21+
<li>Till Ermold</li>
22+
<li>Tom Lustig</li>
23+
<li>Jules Morley</li>
24+
<li>Péter T. Winkler</li>
25+
</ul>
26+
<p class="about-text pt-4 pb-6">
27+
And, of course, a huge thank you goes out to Prof. Dr. Adam Roe for coming up with the idea for the project and guiding us along the way.
28+
</p>
29+
<p class="about-text pt-4 pb-6">
30+
Looking ahead, we hope this work inspires further studies and applications in urban climate resilience.
31+
</p>
32+
<p class="about-text pt-4">
33+
Github Repository:
34+
<br/>
35+
<a href="https://github.com/codeuniversity/thf-climate">https://github.com/codeuniversity/thf-climate</a>
36+
</p>
37+
</v-col>
38+
</v-row>
39+
</v-container>
40+
</template>
41+
42+
<script>
43+
export default {
44+
name: 'AboutSection',
45+
data() {
46+
return {
47+
//
48+
}
49+
}
50+
}
51+
</script>
52+
53+
<style scoped>
54+
.about-section {
55+
text-align: center;
56+
background-color: #e8fae6;
57+
}
58+
59+
.about-text {
60+
font-size: 1.2rem;
61+
font-weight: 300;
62+
}
63+
64+
li {
65+
list-style-type: none;
66+
}
67+
</style>
68+

frontend/src/components/CorrelationGraphs/TemperatureNdviBarAndLine.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<v-container>
3-
<h2 class="pb-10">Temperature vs. NDVI</h2>
43
<v-row justify="center">
54
<div
65
id="plotlyGraphTemperatureNdvi"

frontend/src/components/CorrelationGraphs/YearlyTemperatureNdviCorrelation.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<v-container>
3-
<h2 class="pb-10">Yearly NDVI vs. Temperature</h2>
3+
<!-- <h2 class="pb-10">Yearly NDVI vs. Temperature</h2> -->
44
<v-row justify="center">
55
<div ref="plotContainer" style="width: 100%; height: 400px" class="d-flex justify-center"></div>
66
</v-row>

frontend/src/components/Footer.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container class="footer-container" fluid>
2+
<v-container class="footer-container pt-10" fluid>
33
<p class="footer-text">CODE University of Applied Sciences, 2024</p>
44
</v-container>
55
</template>
@@ -10,8 +10,8 @@
1010

1111
<style scoped>
1212
.footer-container {
13-
margin: 50px 0 0 0;
1413
text-align: center;
14+
background-color: #e8fae6;
1515
}
1616
1717
.footer-text {

frontend/src/components/Header.vue

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
2-
<v-container class="header-container pa-0" fluid>
2+
<v-container class="header-container pa-0 mb-0" fluid>
33
<img src="@/assets/images/Berlin_Tempelhofer_Feld_UAV_05-2017.jpg" class="header-image">
44
<div class="overlay">
55
<h1 class="title">Climates of Tempelhofer Feld</h1>
6-
<h2 class="subtitle">A data visualization project</h2>
7-
<v-btn icon density="comfortable">
6+
<h2 class="subtitle">An Earth Observation Project</h2>
7+
<v-btn icon density="comfortable" @click="scrollToIntro">
88
<v-icon>mdi-chevron-down</v-icon>
99
</v-btn>
1010
</div>
@@ -15,9 +15,29 @@
1515
<script>
1616
export default {
1717
name: 'Header',
18-
data() {
19-
return {
20-
//
18+
methods: {
19+
scrollToIntro() {
20+
const introSection = document.getElementById('introduction-section')
21+
if (introSection) {
22+
introSection.scrollIntoView({ behavior: 'smooth', block: 'start' })
23+
}
24+
}
25+
},
26+
mounted() {
27+
const observer = new IntersectionObserver(
28+
([entry]) => {
29+
if (entry.isIntersecting) {
30+
this.scrollToIntro()
31+
}
32+
},
33+
{
34+
threshold: 0.5,
35+
}
36+
);
37+
38+
const introSection = document.getElementById('introduction-section')
39+
if (introSection) {
40+
observer.observe(introSection)
2141
}
2242
}
2343
}
@@ -26,13 +46,17 @@ export default {
2646
<style scoped>
2747
.header-container {
2848
position: relative;
49+
padding: 0;
50+
margin: 0;
51+
height: 100vh;
2952
}
3053
3154
.header-image {
32-
height: 100vh;
55+
height: 100%;
3356
width: 100%;
3457
object-fit: cover;
3558
object-position: center;
59+
display: block;
3660
}
3761
3862
.overlay {
@@ -46,6 +70,7 @@ export default {
4670
4771
.title {
4872
font-weight: bold;
73+
font-size: 3.5rem;
4974
}
5075
5176
.subtitle {

frontend/src/components/Images.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@
33
<v-row justify="center">
44
<v-col class="text-center">
55
<img src="@/assets/images/sentinel-2-l2a-thf-2022-03-22.png" alt="">
6-
<p>Sentinel-2 image of Tempelhofer Feld taken on 2022-03-22.</p>
76
</v-col>
87
<v-col class="text-center">
98
<img src="@/assets/images/sentinel-2-l2a-thf-2023-05-08.png" alt="">
10-
<p>Sentinel-2 image of Tempelhofer Feld taken on 2023-05-08.</p>
119
</v-col>
1210
</v-row>
11+
<p class="py-6">
12+
Sentinel-2 images of Tempelhofer Feld before the growing season (22.03.2022, left) and during the growing season (08.05.2023, right) with very healthy vegetation.
13+
</p>
1314
<v-row justify="center">
1415
<v-col class="text-center">
1516
<img src="@/assets/images/ndvi-thf-2022-05-08.png" alt="">
16-
<p>NDVI of Tempelhofer Feld on 2022-05-08.</p>
1717
</v-col>
1818
<v-col class="text-center">
1919
<img src="@/assets/images/ndvi-thf-2023-05-08.png" alt="">
20-
<p>NDVI of Tempelhofer Feld on 2023-05-08.</p>
2120
</v-col>
2221
</v-row>
22+
<p class="py-6">
23+
NDVI of Tempelhofer Feld for the same satellite images above (22.03.2022, left; 08.05.2023, right). Lighter shades of green indicate low NDVI, while darker shades indicate higher NDVI.
24+
</p>
2325
</v-container>
2426
</template>
2527

@@ -29,15 +31,14 @@
2931

3032
<style scoped>
3133
img {
32-
width: 450px;
34+
width: 100%;
3335
padding: 15px;
3436
}
3537
3638
p {
3739
margin: 0;
38-
font-size: 12px;
40+
font-size: 0.8rem;
3941
font-weight: 300;
40-
color: #555;
4142
}
4243
</style>
4344

0 commit comments

Comments
 (0)