Skip to content

Commit 068a312

Browse files
committed
Final: Enhance app functionalities (#196)
1 parent fd6746a commit 068a312

File tree

9 files changed

+151
-21
lines changed

9 files changed

+151
-21
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ node_modules
66

77
# Ignore the Emscripten SDK
88
emsdk/
9+
/MovieVerse-Mobile/platforms/

MovieVerse-Frontend/css/style.css

+35-16
Original file line numberDiff line numberDiff line change
@@ -798,6 +798,16 @@ header h1 {
798798
}
799799
}
800800

801+
@media print {
802+
#mobileGoogleSignInBtn {
803+
display: none;
804+
}
805+
806+
#mobileProfileBtn {
807+
display: none;
808+
}
809+
}
810+
801811
.back-btn:hover {
802812
background-color: #ff8623;
803813
transition: 0.3s ease-in;
@@ -1282,6 +1292,15 @@ header h1 {
12821292
}
12831293
}
12841294

1295+
@media print {
1296+
.movie-image {
1297+
height: auto;
1298+
}
1299+
#actor-image {
1300+
height: auto;
1301+
}
1302+
}
1303+
12851304
.movie-header {
12861305
text-align: center;
12871306
align-self: center;
@@ -1456,7 +1475,7 @@ header h1 {
14561475
border-radius: 8px;
14571476
}
14581477

1459-
@media (max-width: 768px) {
1478+
@media all and (max-width: 768px) {
14601479
.company-item {
14611480
max-width: 125px;
14621481
}
@@ -2335,7 +2354,7 @@ strong {
23352354
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
23362355
}
23372356

2338-
@media (max-width: 700px) {
2357+
@media all and (max-width: 700px) {
23392358
#settings-container {
23402359
max-width: calc(100% - 10px);
23412360
margin: 10px 10px;
@@ -2359,7 +2378,7 @@ strong {
23592378
display: none;
23602379
}
23612380

2362-
@media (min-width: 768px) {
2381+
@media all and (min-width: 768px) {
23632382
#chat-button,
23642383
#settings-btn,
23652384
#movie-of-the-day-btn,
@@ -2394,7 +2413,7 @@ strong {
23942413
transition: transform 0.09s ease-in-out;
23952414
}
23962415

2397-
@media (max-width: 767px) {
2416+
@media all and (max-width: 767px) {
23982417
.mobile-bottom-bar {
23992418
display: flex;
24002419
}
@@ -2433,7 +2452,7 @@ strong {
24332452
color: #ecf0f1;
24342453
}
24352454

2436-
@media (max-width: 767px) {
2455+
@media all and (max-width: 767px) {
24372456
.mobile-bottom-bar {
24382457
display: flex;
24392458
}
@@ -2600,7 +2619,7 @@ strong {
26002619
text-align: center;
26012620
}
26022621

2603-
@media (max-width: 767px) {
2622+
@media all and (max-width: 767px) {
26042623
.genres + main + .pagination {
26052624
text-align: center;
26062625
}
@@ -2951,14 +2970,14 @@ ol li:hover {
29512970
border-radius: 5px;
29522971
}
29532972

2954-
@media (max-width: 705px) {
2973+
@media all and (max-width: 705px) {
29552974
#search-title,
29562975
#alt-title {
29572976
display: none;
29582977
}
29592978
}
29602979

2961-
@media (max-height: 930px) {
2980+
@media all and (max-height: 930px) {
29622981
#search-title,
29632982
#alt-title {
29642983
display: none;
@@ -2975,7 +2994,7 @@ ol li:hover {
29752994
align-self: flex-start;
29762995
}
29772996

2978-
@media (max-width: 767px) {
2997+
@media all and (max-width: 767px) {
29792998
#chatbotContainer {
29802999
top: 56.1%;
29813000
}
@@ -3077,7 +3096,7 @@ ol li:hover {
30773096
color: #ff8623;
30783097
}
30793098

3080-
@media (max-width: 982px) {
3099+
@media all and (max-width: 982px) {
30813100
#local-time {
30823101
display: none;
30833102
}
@@ -3148,7 +3167,7 @@ canvas {
31483167
cursor: pointer;
31493168
}
31503169

3151-
@media screen and (max-width: 900px) {
3170+
@media all and (max-width: 900px) {
31523171
.chart-container {
31533172
flex-direction: column;
31543173
}
@@ -3199,7 +3218,7 @@ canvas {
31993218
transition: 0.1s ease-in;
32003219
}
32013220

3202-
@media (max-width: 1000px) {
3221+
@media all and (max-width: 1000px) {
32033222
#comments-section {
32043223
margin-bottom: 210px;
32053224
}
@@ -3217,7 +3236,7 @@ canvas {
32173236
transition: 0.1s ease-in;
32183237
}
32193238

3220-
@media (max-width: 800px) {
3239+
@media all and (max-width: 800px) {
32213240
#my-heading {
32223241
margin-left: 0;
32233242
}
@@ -3628,7 +3647,7 @@ canvas {
36283647
background-color: #ff8623;
36293648
}
36303649

3631-
@media screen and (-webkit-min-device-pixel-ratio: 0) {
3650+
@media all and (-webkit-min-device-pixel-ratio: 0) {
36323651
body {
36333652
background-size: auto;
36343653
background-repeat: repeat;
@@ -3936,7 +3955,7 @@ body {
39363955
color: purple;
39373956
}
39383957

3939-
@media (max-width: 800px) {
3958+
@media all and (max-width: 800px) {
39403959
.company-details-container {
39413960
display: flex;
39423961
flex-direction: column;
@@ -4207,7 +4226,7 @@ footer {
42074226
color: white;
42084227
}
42094228

4210-
@media (max-width: 900px) {
4229+
@media all and (max-width: 900px) {
42114230
.notification-modal {
42124231
right: 12.5px;
42134232
}

MovieVerse-Mobile/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@
2020

2121
# Generated by package manager
2222
node_modules/
23+
platforms/
2324
.env

MovieVerse-Mobile/platforms/android/app/src/main/assets/www/index.html

+28
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5757
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5858
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-SemiBold.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
59+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
5960
<script type="application/ld+json">
6061
{
6162
"@context": "https://schema.org",
@@ -1695,5 +1696,32 @@ <h2 id="other" style="cursor: pointer">Timeless Classics: Trending Classic Movie
16951696
searchInput.addEventListener('blur', clearSelection);
16961697
});
16971698
</script>
1699+
<script>
1700+
let confettiTriggered = false;
1701+
1702+
function launchConfetti() {
1703+
const confettiInstance = confetti.create(null, { resize: true });
1704+
confettiInstance({
1705+
particleCount: 150,
1706+
spread: 70,
1707+
origin: { y: 0.6 },
1708+
});
1709+
1710+
const canvas = document.querySelector('canvas');
1711+
1712+
if (canvas) {
1713+
canvas.style.zIndex = '9999999999';
1714+
canvas.style.position = 'fixed';
1715+
}
1716+
}
1717+
1718+
document.addEventListener('DOMContentLoaded', function () {
1719+
if (!confettiTriggered) {
1720+
launchConfetti();
1721+
1722+
confettiTriggered = true;
1723+
}
1724+
});
1725+
</script>
16981726
</body>
16991727
</html>

MovieVerse-Mobile/platforms/ios/MovieVerse.xcodeproj/project.pbxproj

+2-5
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,10 @@
114114
34A1B8E64081AC554A7A24E1 /* Pods-MovieVerse.debug.xcconfig */,
115115
DB4882ED1EE64C7487B364BE /* Pods-MovieVerse.release.xcconfig */,
116116
);
117-
name = Pods;
118117
path = Pods;
119118
sourceTree = "<group>";
120119
};
121-
29B97314FDCFA39411CA2CEA = {
120+
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
122121
isa = PBXGroup;
123122
children = (
124123
EB87FDF41871DAF40020F90C /* config.xml */,
@@ -151,7 +150,6 @@
151150
1D3623250D0F684500981E51 /* AppDelegate.m */,
152151
29B97316FDCFA39411CA2CEA /* main.m */,
153152
);
154-
name = MovieVerse;
155153
path = MovieVerse;
156154
sourceTree = "<group>";
157155
};
@@ -238,7 +236,6 @@
238236
29B97313FDCFA39411CA2CEA /* Project object */ = {
239237
isa = PBXProject;
240238
attributes = {
241-
BuildIndependentTargetsInParallel = YES;
242239
LastUpgradeCheck = 1130;
243240
TargetAttributes = {
244241
1D6058900D05DD3D006BFB54 = {
@@ -254,7 +251,7 @@
254251
en,
255252
Base,
256253
);
257-
mainGroup = 29B97314FDCFA39411CA2CEA;
254+
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
258255
productRefGroup = 19C28FACFE9D520D11CA2CBB /* Products */;
259256
projectDirPath = "";
260257
projectReferences = (

MovieVerse-Mobile/platforms/ios/www/index.html

+28
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5757
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5858
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-SemiBold.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
59+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
5960
<script type="application/ld+json">
6061
{
6162
"@context": "https://schema.org",
@@ -1695,5 +1696,32 @@ <h2 id="other" style="cursor: pointer">Timeless Classics: Trending Classic Movie
16951696
searchInput.addEventListener('blur', clearSelection);
16961697
});
16971698
</script>
1699+
<script>
1700+
let confettiTriggered = false;
1701+
1702+
function launchConfetti() {
1703+
const confettiInstance = confetti.create(null, { resize: true });
1704+
confettiInstance({
1705+
particleCount: 150,
1706+
spread: 70,
1707+
origin: { y: 0.6 },
1708+
});
1709+
1710+
const canvas = document.querySelector('canvas');
1711+
1712+
if (canvas) {
1713+
canvas.style.zIndex = '9999999999';
1714+
canvas.style.position = 'fixed';
1715+
}
1716+
}
1717+
1718+
document.addEventListener('DOMContentLoaded', function () {
1719+
if (!confettiTriggered) {
1720+
launchConfetti();
1721+
1722+
confettiTriggered = true;
1723+
}
1724+
});
1725+
</script>
16981726
</body>
16991727
</html>

MovieVerse-Mobile/www/index.html

+28
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5757
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5858
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-SemiBold.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
59+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
5960
<script type="application/ld+json">
6061
{
6162
"@context": "https://schema.org",
@@ -1695,5 +1696,32 @@ <h2 id="other" style="cursor: pointer">Timeless Classics: Trending Classic Movie
16951696
searchInput.addEventListener('blur', clearSelection);
16961697
});
16971698
</script>
1699+
<script>
1700+
let confettiTriggered = false;
1701+
1702+
function launchConfetti() {
1703+
const confettiInstance = confetti.create(null, { resize: true });
1704+
confettiInstance({
1705+
particleCount: 150,
1706+
spread: 70,
1707+
origin: { y: 0.6 },
1708+
});
1709+
1710+
const canvas = document.querySelector('canvas');
1711+
1712+
if (canvas) {
1713+
canvas.style.zIndex = '9999999999';
1714+
canvas.style.position = 'fixed';
1715+
}
1716+
}
1717+
1718+
document.addEventListener('DOMContentLoaded', function () {
1719+
if (!confettiTriggered) {
1720+
launchConfetti();
1721+
1722+
confettiTriggered = true;
1723+
}
1724+
});
1725+
</script>
16981726
</body>
16991727
</html>

index.html

+28
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Light.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5757
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-Regular.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
5858
<link rel="preload" href="https://movie-verse.com/fonts/Poppins-SemiBold.ttf" as="font" type="font/ttf" crossorigin="anonymous" />
59+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
5960
<script type="application/ld+json">
6061
{
6162
"@context": "https://schema.org",
@@ -1695,5 +1696,32 @@ <h2 id="other" style="cursor: pointer">Timeless Classics: Trending Classic Movie
16951696
searchInput.addEventListener('blur', clearSelection);
16961697
});
16971698
</script>
1699+
<script>
1700+
let confettiTriggered = false;
1701+
1702+
function launchConfetti() {
1703+
const confettiInstance = confetti.create(null, { resize: true });
1704+
confettiInstance({
1705+
particleCount: 150,
1706+
spread: 70,
1707+
origin: { y: 0.6 },
1708+
});
1709+
1710+
const canvas = document.querySelector('canvas');
1711+
1712+
if (canvas) {
1713+
canvas.style.zIndex = '9999999999';
1714+
canvas.style.position = 'fixed';
1715+
}
1716+
}
1717+
1718+
document.addEventListener('DOMContentLoaded', function () {
1719+
if (!confettiTriggered) {
1720+
launchConfetti();
1721+
1722+
confettiTriggered = true;
1723+
}
1724+
});
1725+
</script>
16981726
</body>
16991727
</html>

0 commit comments

Comments
 (0)