diff --git a/java-project-maven-new_one b/java-project-maven-new_one new file mode 160000 index 0000000..d336406 --- /dev/null +++ b/java-project-maven-new_one @@ -0,0 +1 @@ +Subproject commit d336406208b5aa687d9e1e7176fe0b995e34d786 diff --git a/java-project-maven-new_second b/java-project-maven-new_second new file mode 160000 index 0000000..d336406 --- /dev/null +++ b/java-project-maven-new_second @@ -0,0 +1 @@ +Subproject commit d336406208b5aa687d9e1e7176fe0b995e34d786 diff --git a/java-project-maven-new_third b/java-project-maven-new_third new file mode 160000 index 0000000..d336406 --- /dev/null +++ b/java-project-maven-new_third @@ -0,0 +1 @@ +Subproject commit d336406208b5aa687d9e1e7176fe0b995e34d786 diff --git a/pom.xml b/pom.xml deleted file mode 100644 index 1d1d068..0000000 --- a/pom.xml +++ /dev/null @@ -1,55 +0,0 @@ - - 4.0.0 - in.reyaz - myapp - war - 8.3.3-SNAPSHOT - myapp - http://maven.apache.org - - 1.8 - 1.8 - - - - - com.oracle.bedrock - bedrock-runtime-maven - 5.1.2 - - - - junit - junit - 3.8.1 - test - - - - - myapp - - - org.apache.maven.plugins - maven-war-plugin - 3.3.1 - - - org.codehaus.mojo - sonar-maven-plugin - 3.0.2 - - - - - - - maven1 - Maven.org - https://repo1.maven.org/maven2 - - - - - diff --git a/src/main/java/in/javahome/myweb/controller/Calculator.java b/src/main/java/in/javahome/myweb/controller/Calculator.java deleted file mode 100644 index 905221b..0000000 --- a/src/main/java/in/javahome/myweb/controller/Calculator.java +++ /dev/null @@ -1,22 +0,0 @@ -package in.javahome.myweb.controller; -/* - * - */ -public class Calculator { - - /* - * @param i - * @param j - * @return int - */ - public int add(int i, int j){ - return i+j; - } - public int multiply(int i, int j){ - return i*j; - } - - public int sub(int i, int j){ - return i-j; - } -} diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index 9f88c1f..0000000 --- a/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - Archetype Created Web Application - diff --git a/src/main/webapp/assets/css/style.css b/src/main/webapp/assets/css/style.css deleted file mode 100644 index 24377e0..0000000 --- a/src/main/webapp/assets/css/style.css +++ /dev/null @@ -1,369 +0,0 @@ -/* ---------------- Google Fonts ---------------- */ -@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap'); - -/* ---------------- Root ---------------- */ -:root { - --background: #0c111b; - --text-color: #fff; - --button: #1f80e0; -} - -* { - margin: 0; - padding: 0; - box-sizing: border-box; -} - -html { - scroll-behavior: smooth; -} - -body { - width: 100%; - background: var(--background); - position: relative; - font-family: "Roboto", sans-serif; -} - -/* ---------------- Navbar ---------------- */ -.navbar { - width: 100%; - height: 80px; - position: fixed; - top: 0; - left: 0; - padding: 0 4%; - background: var(--background); - z-index: 9; - display: flex; - align-items: center; -} - -.logo { - height: 80px; - width: 140px; -} - -.nav-links { - margin-top: 10px; - display: flex; - list-style: none; -} - -.nav-items a { - text-decoration: none; - color: rgba(255, 255, 255, 0.8); - opacity: 0.9; - font-size: 16px; - font-weight: 400; - padding: 20px 15px 20px; -} - -.nav-items a:hover { - color: var(--text-color); -} - -.nav-links .icon { - margin-left: 15px; - width: 40px; - height: 15px; - background: url(../img/kids.svg) no-repeat; -} - -.right-container { - display: block; - margin-left: auto; -} - -.search-box { - border: none; - border-bottom: 1px solid #aaa; - background: transparent; - outline: none; - height: 30px; - color: var(--text-color); - width: 250px; - text-transform: capitalize; - font-size: 16px; - font-weight: 500; - transition: 0.5s; -} - -.search-box:focus { - width: 400px; - border-color: var(--button); -} - -.sub-btn { - background: var(--button); - height: 30px; - padding: 0 20px; - color: var(--text-color); - border-radius: 5px; - border: none; - outline: none; - text-transform: uppercase; - font-weight: 700; - font-size: 12px; - margin: 0 10px; -} - -.login-link { - color: var(--text-color); - opacity: 0.9; - text-transform: uppercase; - font-size: 15px; - font-weight: 700; - text-decoration: none; -} - -.carousel-container { - position: relative; - width: 100%; - height: 500px; - padding: 20px 0; - overflow-x: hidden; - margin-top: 80px; -} - -.carousel { - display: flex; - width: 92%; - height: 100%; - position: relative; - margin: auto; -} - -.slider { - flex: 0 0 auto; - margin-right: 30px; - position: relative; - background: rgba(0, 0, 0, 0.5); - border-radius: 5px; - width: 100%; - height: 100%; - left: 0; - transition: 1s; - overflow: hidden; -} - -.slider img { - width: 70%; - min-height: 100%; - object-fit: cover; - display: block; - margin-left: auto; -} - -.slide-content { - position: absolute; - width: 50%; - height: 100%; - z-index: 2; - background: linear-gradient(to right, #030b17 80%, #0c111b00); - color: var(--text-color); - top: 0; -} - -.movie-title { - padding-left: 50px; - text-transform: capitalize; - margin-top: 80px; -} - -.movie-des { - width: 80%; - line-height: 30px; - padding-left: 50px; - margin-top: 30px; - opacity: 0.8; -} - -.video-card-container { - position: relative; - width: 92%; - margin: auto; - height: 10vw; - display: flex; - margin-bottom: 20px; - justify-content: space-between; -} - -.video-card { - position: relative; - min-width: calc(100%/5 - 10px); - width: calc(100%/5 - 10px); - height: 100%; - border-radius: 5px; - overflow: hidden; - background: #030b17; -} - -.video-card-image, -.card-video { - width: 100%; - height: 100%; - object-fit: cover; -} - -.card-video { - position: absolute; -} - -.video-card:hover .video-card-image { - display: none; -} - -.title { - color: var(--text-color); - opacity: 0.9; - padding-left: 4%; - text-transform: capitalize; - font-size: 22px; - font-weight: 500; -} - -.movies-list { - width: 100%; - height: 220px; - position: relative; - margin: 10px 0 20px; -} - -.card-container { - position: relative; - width: 92%; - padding-left: 10px; - height: 220px; - display: flex; - margin: 0 auto; - align-items: center; - overflow-x: auto; - overflow-y: visible; - scroll-behavior: smooth; -} - -.card-container::-webkit-scrollbar { - display: none; -} - -.card { - position: relative; - min-width: 150px; - width: 150px; - height: 200px; - border-radius: 5px; - overflow: hidden; - margin-right: 10px; - transition: 0.5s; - background: #000; -} - -.card-img { - width: 100%; - height: 100%; - object-fit: cover; -} - -.card:hover { - transform: scale(1.1); -} - -.card:hover .card-body { - opacity: 1; -} - -.card-body { - opacity: 0; - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; - z-index: 2; - background: linear-gradient(to bottom, rgba(4, 8, 15, 0), #192133 90%); - padding: 10px; - transition: 0.5s; -} - -.name { - color: var(--text-color); - font-size: 15px; - font-weight: 500; - text-transform: capitalize; - margin-top: 60%; -} - -.des { - color: var(--text-color); - opacity: 0.8; - margin: 5px 0; - font-weight: 500; - font-size: 12px; -} - -.watchlist-btn { - position: relative; - width: 100%; - text-transform: capitalize; - background: none; - border: none; - font-weight: 500; - text-align: right; - color: rgba(255, 255, 255, 0.5); - margin: 5px 0; - cursor: pointer; - padding: 10px 5px; - border-radius: 5px; -} - -.watchlist-btn::before { - content: ''; - position: absolute; - top: 0; - left: -5px; - height: 35px; - width: 35px; - background-image: url(../img/add.png); - background-size: cover; - transform: scale(0.4); -} - -.watchlist-btn:hover { - color: var(--text-color); - background: rgba(255, 255, 255, 0.1); -} - -.pre-btn, -.nxt-btn { - position: absolute; - top: 0; - width: 5%; - height: 100%; - z-index: 2; - border: none; - cursor: pointer; - outline: none; -} - -.pre-btn { - left: 0; - background: linear-gradient(to right, #0c111b 0%, #0c111b00); -} - -.nxt-btn { - right: 0; - background: linear-gradient(to right, #0c111b 0%, #0c111b00); -} - -.pre-btn img, -.nxt-btn img { - width: 15px; - height: 20px; - opacity: 0; -} - -.pre-btn:hover img, -.nxt-btn:hover img { - opacity: 1; -} \ No newline at end of file diff --git a/src/main/webapp/assets/img/add.png b/src/main/webapp/assets/img/add.png deleted file mode 100644 index 8dc018f..0000000 Binary files a/src/main/webapp/assets/img/add.png and /dev/null differ diff --git a/src/main/webapp/assets/img/card 1.webp b/src/main/webapp/assets/img/card 1.webp deleted file mode 100644 index f954dc2..0000000 Binary files a/src/main/webapp/assets/img/card 1.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 10.webp b/src/main/webapp/assets/img/card 10.webp deleted file mode 100644 index f1b3cdb..0000000 Binary files a/src/main/webapp/assets/img/card 10.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 11.webp b/src/main/webapp/assets/img/card 11.webp deleted file mode 100644 index fda5e26..0000000 Binary files a/src/main/webapp/assets/img/card 11.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 12.webp b/src/main/webapp/assets/img/card 12.webp deleted file mode 100644 index cb5b4c5..0000000 Binary files a/src/main/webapp/assets/img/card 12.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 13.webp b/src/main/webapp/assets/img/card 13.webp deleted file mode 100644 index e2e9fbc..0000000 Binary files a/src/main/webapp/assets/img/card 13.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 14.webp b/src/main/webapp/assets/img/card 14.webp deleted file mode 100644 index f3a5c0a..0000000 Binary files a/src/main/webapp/assets/img/card 14.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 15.webp b/src/main/webapp/assets/img/card 15.webp deleted file mode 100644 index 6a9d757..0000000 Binary files a/src/main/webapp/assets/img/card 15.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 16.webp b/src/main/webapp/assets/img/card 16.webp deleted file mode 100644 index 9eea473..0000000 Binary files a/src/main/webapp/assets/img/card 16.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 17.webp b/src/main/webapp/assets/img/card 17.webp deleted file mode 100644 index 61188dd..0000000 Binary files a/src/main/webapp/assets/img/card 17.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 18.webp b/src/main/webapp/assets/img/card 18.webp deleted file mode 100644 index f08aafe..0000000 Binary files a/src/main/webapp/assets/img/card 18.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 19.webp b/src/main/webapp/assets/img/card 19.webp deleted file mode 100644 index 58d1ef6..0000000 Binary files a/src/main/webapp/assets/img/card 19.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 2.webp b/src/main/webapp/assets/img/card 2.webp deleted file mode 100644 index f8f0c66..0000000 Binary files a/src/main/webapp/assets/img/card 2.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 20.webp b/src/main/webapp/assets/img/card 20.webp deleted file mode 100644 index ce816ad..0000000 Binary files a/src/main/webapp/assets/img/card 20.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 3.webp b/src/main/webapp/assets/img/card 3.webp deleted file mode 100644 index 7099f51..0000000 Binary files a/src/main/webapp/assets/img/card 3.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 4.webp b/src/main/webapp/assets/img/card 4.webp deleted file mode 100644 index 7eb6c45..0000000 Binary files a/src/main/webapp/assets/img/card 4.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 5.webp b/src/main/webapp/assets/img/card 5.webp deleted file mode 100644 index e37f520..0000000 Binary files a/src/main/webapp/assets/img/card 5.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 6.webp b/src/main/webapp/assets/img/card 6.webp deleted file mode 100644 index e3bc964..0000000 Binary files a/src/main/webapp/assets/img/card 6.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 7.webp b/src/main/webapp/assets/img/card 7.webp deleted file mode 100644 index 4e96bf7..0000000 Binary files a/src/main/webapp/assets/img/card 7.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 8.webp b/src/main/webapp/assets/img/card 8.webp deleted file mode 100644 index 9598902..0000000 Binary files a/src/main/webapp/assets/img/card 8.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/card 9.webp b/src/main/webapp/assets/img/card 9.webp deleted file mode 100644 index cab97a0..0000000 Binary files a/src/main/webapp/assets/img/card 9.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/disney.png b/src/main/webapp/assets/img/disney.png deleted file mode 100644 index a01c6a4..0000000 Binary files a/src/main/webapp/assets/img/disney.png and /dev/null differ diff --git a/src/main/webapp/assets/img/favicon.ico b/src/main/webapp/assets/img/favicon.ico deleted file mode 100644 index ada5984..0000000 Binary files a/src/main/webapp/assets/img/favicon.ico and /dev/null differ diff --git a/src/main/webapp/assets/img/geographic.png b/src/main/webapp/assets/img/geographic.png deleted file mode 100644 index 6baa2f0..0000000 Binary files a/src/main/webapp/assets/img/geographic.png and /dev/null differ diff --git a/src/main/webapp/assets/img/kids.svg b/src/main/webapp/assets/img/kids.svg deleted file mode 100644 index b8ecca2..0000000 --- a/src/main/webapp/assets/img/kids.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/main/webapp/assets/img/logo (1).svg b/src/main/webapp/assets/img/logo (1).svg deleted file mode 100644 index bd79bd9..0000000 --- a/src/main/webapp/assets/img/logo (1).svg +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/assets/img/logo.png b/src/main/webapp/assets/img/logo.png deleted file mode 100644 index f2f6ffd..0000000 Binary files a/src/main/webapp/assets/img/logo.png and /dev/null differ diff --git a/src/main/webapp/assets/img/logo.svg b/src/main/webapp/assets/img/logo.svg deleted file mode 100644 index 0f8321b..0000000 --- a/src/main/webapp/assets/img/logo.svg +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - diff --git a/src/main/webapp/assets/img/marvel.png b/src/main/webapp/assets/img/marvel.png deleted file mode 100644 index af91011..0000000 Binary files a/src/main/webapp/assets/img/marvel.png and /dev/null differ diff --git a/src/main/webapp/assets/img/nxt.png b/src/main/webapp/assets/img/nxt.png deleted file mode 100644 index 3d0fc6a..0000000 Binary files a/src/main/webapp/assets/img/nxt.png and /dev/null differ diff --git a/src/main/webapp/assets/img/pixar.png b/src/main/webapp/assets/img/pixar.png deleted file mode 100644 index 9548096..0000000 Binary files a/src/main/webapp/assets/img/pixar.png and /dev/null differ diff --git a/src/main/webapp/assets/img/play.png b/src/main/webapp/assets/img/play.png deleted file mode 100644 index 6ac1a91..0000000 Binary files a/src/main/webapp/assets/img/play.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 1.png b/src/main/webapp/assets/img/poster 1.png deleted file mode 100644 index e9f6b24..0000000 Binary files a/src/main/webapp/assets/img/poster 1.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 1.webp b/src/main/webapp/assets/img/poster 1.webp deleted file mode 100644 index 61f11d6..0000000 Binary files a/src/main/webapp/assets/img/poster 1.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 10.png b/src/main/webapp/assets/img/poster 10.png deleted file mode 100644 index 7e57a98..0000000 Binary files a/src/main/webapp/assets/img/poster 10.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 10.webp b/src/main/webapp/assets/img/poster 10.webp deleted file mode 100644 index 2586839..0000000 Binary files a/src/main/webapp/assets/img/poster 10.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 11.png b/src/main/webapp/assets/img/poster 11.png deleted file mode 100644 index 30a3ef2..0000000 Binary files a/src/main/webapp/assets/img/poster 11.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 12.png b/src/main/webapp/assets/img/poster 12.png deleted file mode 100644 index 4edf000..0000000 Binary files a/src/main/webapp/assets/img/poster 12.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 13.webp b/src/main/webapp/assets/img/poster 13.webp deleted file mode 100644 index 5618740..0000000 Binary files a/src/main/webapp/assets/img/poster 13.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 14.webp b/src/main/webapp/assets/img/poster 14.webp deleted file mode 100644 index 7256995..0000000 Binary files a/src/main/webapp/assets/img/poster 14.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 15.webp b/src/main/webapp/assets/img/poster 15.webp deleted file mode 100644 index 01e06e5..0000000 Binary files a/src/main/webapp/assets/img/poster 15.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 16.webp b/src/main/webapp/assets/img/poster 16.webp deleted file mode 100644 index 3d5f04c..0000000 Binary files a/src/main/webapp/assets/img/poster 16.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 17.webp b/src/main/webapp/assets/img/poster 17.webp deleted file mode 100644 index 168832e..0000000 Binary files a/src/main/webapp/assets/img/poster 17.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 18.webp b/src/main/webapp/assets/img/poster 18.webp deleted file mode 100644 index fda5e26..0000000 Binary files a/src/main/webapp/assets/img/poster 18.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 2.png b/src/main/webapp/assets/img/poster 2.png deleted file mode 100644 index cce8ef2..0000000 Binary files a/src/main/webapp/assets/img/poster 2.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 2.webp b/src/main/webapp/assets/img/poster 2.webp deleted file mode 100644 index af45fac..0000000 Binary files a/src/main/webapp/assets/img/poster 2.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 3.png b/src/main/webapp/assets/img/poster 3.png deleted file mode 100644 index 077916c..0000000 Binary files a/src/main/webapp/assets/img/poster 3.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 3.webp b/src/main/webapp/assets/img/poster 3.webp deleted file mode 100644 index ccb1413..0000000 Binary files a/src/main/webapp/assets/img/poster 3.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 4.png b/src/main/webapp/assets/img/poster 4.png deleted file mode 100644 index e35f788..0000000 Binary files a/src/main/webapp/assets/img/poster 4.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 4.webp b/src/main/webapp/assets/img/poster 4.webp deleted file mode 100644 index 9e23ceb..0000000 Binary files a/src/main/webapp/assets/img/poster 4.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 5.png b/src/main/webapp/assets/img/poster 5.png deleted file mode 100644 index 49760e4..0000000 Binary files a/src/main/webapp/assets/img/poster 5.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 5.webp b/src/main/webapp/assets/img/poster 5.webp deleted file mode 100644 index f724685..0000000 Binary files a/src/main/webapp/assets/img/poster 5.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 6.png b/src/main/webapp/assets/img/poster 6.png deleted file mode 100644 index da966d1..0000000 Binary files a/src/main/webapp/assets/img/poster 6.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 6.webp b/src/main/webapp/assets/img/poster 6.webp deleted file mode 100644 index 5aaee95..0000000 Binary files a/src/main/webapp/assets/img/poster 6.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 7.png b/src/main/webapp/assets/img/poster 7.png deleted file mode 100644 index 27fcb17..0000000 Binary files a/src/main/webapp/assets/img/poster 7.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 7.webp b/src/main/webapp/assets/img/poster 7.webp deleted file mode 100644 index 8e1e80c..0000000 Binary files a/src/main/webapp/assets/img/poster 7.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 8.png b/src/main/webapp/assets/img/poster 8.png deleted file mode 100644 index 79c5afe..0000000 Binary files a/src/main/webapp/assets/img/poster 8.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 8.webp b/src/main/webapp/assets/img/poster 8.webp deleted file mode 100644 index 4c9413b..0000000 Binary files a/src/main/webapp/assets/img/poster 8.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 9.png b/src/main/webapp/assets/img/poster 9.png deleted file mode 100644 index 35a7779..0000000 Binary files a/src/main/webapp/assets/img/poster 9.png and /dev/null differ diff --git a/src/main/webapp/assets/img/poster 9.webp b/src/main/webapp/assets/img/poster 9.webp deleted file mode 100644 index cfee84a..0000000 Binary files a/src/main/webapp/assets/img/poster 9.webp and /dev/null differ diff --git a/src/main/webapp/assets/img/pre.png b/src/main/webapp/assets/img/pre.png deleted file mode 100644 index 927dc9c..0000000 Binary files a/src/main/webapp/assets/img/pre.png and /dev/null differ diff --git a/src/main/webapp/assets/img/slider 1.png b/src/main/webapp/assets/img/slider 1.png deleted file mode 100644 index d9cf8c3..0000000 Binary files a/src/main/webapp/assets/img/slider 1.png and /dev/null differ diff --git a/src/main/webapp/assets/img/slider 2.png b/src/main/webapp/assets/img/slider 2.png deleted file mode 100644 index 16dd06a..0000000 Binary files a/src/main/webapp/assets/img/slider 2.png and /dev/null differ diff --git a/src/main/webapp/assets/img/slider 3.png b/src/main/webapp/assets/img/slider 3.png deleted file mode 100644 index 9170f98..0000000 Binary files a/src/main/webapp/assets/img/slider 3.png and /dev/null differ diff --git a/src/main/webapp/assets/img/slider 4.png b/src/main/webapp/assets/img/slider 4.png deleted file mode 100644 index c36e570..0000000 Binary files a/src/main/webapp/assets/img/slider 4.png and /dev/null differ diff --git a/src/main/webapp/assets/img/slider 5.png b/src/main/webapp/assets/img/slider 5.png deleted file mode 100644 index dfb9c06..0000000 Binary files a/src/main/webapp/assets/img/slider 5.png and /dev/null differ diff --git a/src/main/webapp/assets/img/star-wars.png b/src/main/webapp/assets/img/star-wars.png deleted file mode 100644 index 454a89c..0000000 Binary files a/src/main/webapp/assets/img/star-wars.png and /dev/null differ diff --git a/src/main/webapp/assets/js/data.js b/src/main/webapp/assets/js/data.js deleted file mode 100644 index 5dbb819..0000000 --- a/src/main/webapp/assets/js/data.js +++ /dev/null @@ -1,27 +0,0 @@ -let movies = [ - { - name: "wanda vision", - des: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit porro et veniam excepturi, eaque voluptatem impedit nulla laboriosam facilis ut laboriosam libero!", - image: "assets/img/slider 3.png", - }, - { - name: "falcon and the winter soldier", - des: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit porro et veniam excepturi, eaque voluptatem impedit nulla laboriosam facilis ut laboriosam libero!", - image: "assets/img/slider 2.png", - }, - { - name: "raya and the last dragon", - des: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit porro et veniam excepturi, eaque voluptatem impedit nulla laboriosam facilis ut laboriosam libero!", - image: "assets/img/slider 4.png", - }, - { - name: "loki", - des: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit porro et veniam excepturi, eaque voluptatem impedit nulla laboriosam facilis ut laboriosam libero!", - image: "assets/img/slider 1.png", - }, - { - name: "luca", - des: "Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit porro et veniam excepturi, eaque voluptatem impedit nulla laboriosam facilis ut laboriosam libero!", - image: "assets/img/slider 5.png", - }, -]; diff --git a/src/main/webapp/assets/js/main.js b/src/main/webapp/assets/js/main.js deleted file mode 100644 index 9ebc280..0000000 --- a/src/main/webapp/assets/js/main.js +++ /dev/null @@ -1,86 +0,0 @@ -// Carousel -const carousel = document.querySelector(".carousel"); -let sliders = []; - -let slideIndex = 0; - -const createSlide = () => { - if (slideIndex >= movies.length) { - slideIndex = 0; - } - - // Creating DOM element - let slide = document.createElement("div"); - let imgElement = document.createElement("img"); - let content = document.createElement("div"); - let h1 = document.createElement("h1"); - let p = document.createElement("p"); - - // Attaching all elements - imgElement.appendChild(document.createTextNode("")); - h1.appendChild(document.createTextNode(movies[slideIndex].name)); - p.appendChild(document.createTextNode(movies[slideIndex].des)); - content.appendChild(h1); - content.appendChild(p); - slide.appendChild(imgElement); - slide.appendChild(content); - carousel.appendChild(slide); - - // Setting up image - imgElement.src = movies[slideIndex].image; - slideIndex++; - - // Setting elements class-name - slide.className = "slider"; - content.className = "slide-content"; - h1.className = "movie-title"; - p.className = "movie-des"; - - sliders.push(slide); - - if (sliders.length) { - sliders[0].style.marginLeft = `calc(-${100 * (sliders.length - 2)}% - ${ - 30 * (sliders.length - 2) - }px)`; - } -}; - -for (let i = 0; i < 3; i++) { - createSlide(); -} - -setInterval(() => { - createSlide(); -}, 5000); - -// Video cards -const videoCards = [...document.querySelectorAll(".video-card")]; - -videoCards.forEach((item) => { - item.addEventListener("mouseover", () => { - let video = item.children[1]; - video.play(); - }); - item.addEventListener("mouseleave", () => { - let video = item.children[1]; - video.pause(); - }); -}); - -// Movie cards -let cardContainers = [...document.querySelectorAll(".card-container")]; -let preBTns = [...document.querySelectorAll(".pre-btn")]; -let nxtBtns = [...document.querySelectorAll(".nxt-btn")]; - -cardContainers.forEach((item, i) => { - let containerDimensions = item.getBoundingClientRect(); - let containerWidth = containerDimensions.width; - - nxtBtns[i].addEventListener("click", () => { - item.scrollLeft += containerWidth - 200; - }); - - preBTns[i].addEventListener("click", () => { - item.scrollLeft -= containerWidth + 200; - }); -}); diff --git a/src/main/webapp/assets/video/disney.mp4 b/src/main/webapp/assets/video/disney.mp4 deleted file mode 100644 index 5ff0c55..0000000 Binary files a/src/main/webapp/assets/video/disney.mp4 and /dev/null differ diff --git a/src/main/webapp/assets/video/geographic.mp4 b/src/main/webapp/assets/video/geographic.mp4 deleted file mode 100644 index 79ab187..0000000 Binary files a/src/main/webapp/assets/video/geographic.mp4 and /dev/null differ diff --git a/src/main/webapp/assets/video/marvel.mp4 b/src/main/webapp/assets/video/marvel.mp4 deleted file mode 100644 index 0d8a1a6..0000000 Binary files a/src/main/webapp/assets/video/marvel.mp4 and /dev/null differ diff --git a/src/main/webapp/assets/video/pixar.mp4 b/src/main/webapp/assets/video/pixar.mp4 deleted file mode 100644 index 3761026..0000000 Binary files a/src/main/webapp/assets/video/pixar.mp4 and /dev/null differ diff --git a/src/main/webapp/assets/video/star-war.mp4 b/src/main/webapp/assets/video/star-war.mp4 deleted file mode 100644 index 44dd7ce..0000000 Binary files a/src/main/webapp/assets/video/star-war.mp4 and /dev/null differ diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp deleted file mode 100644 index ca2a2e3..0000000 --- a/src/main/webapp/index.jsp +++ /dev/null @@ -1,493 +0,0 @@ - - - - - - - - - - - - - Disney+ Hotstar - Watch TV Shows Online - - - - - - - - - - - - - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -

recommended for you

-
- - -
-
- -
-

Chichore

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Avengers Endgame

-
Lorem ipsum dolor helo consectetur elit.
- -
-
-
- -
-

Ford v Ferrari

-
Sailaja ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Mulan

-
Haha Mulan dolor sit consectetur elit.
- -
-
-
- -
-

Loki

-
Lorem ipsum color sit consectetur elit.
- -
-
-
- -
-

Thor Ragnarok

-
Lakshmi ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Avengers

-
Lorem Hello dolor hello consectetur elit.
- -
-
-
- -
-

Ok Computer

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Dil Bechara

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Soul

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

The Office

-
Lorem Office dolor sit consectetur elit.
- -
-
-
- -
-

Luca

-
Lorem ipsum dolor SIR consectetur elit.
- -
-
-
- -
-

Dark Phoenix

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

TanHaji

-
Lorem ipsum Tan sit consectetur elit.
- -
-
-
- -
-

Euphoria

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
-
- - -

Popular Shows

-
- - -
-
- -
-

Yeh Rishta

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Anupama

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Imlie

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

City of Dreams

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Shin-chan

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Doraemon

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Mahadev

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Grahan

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Pandya Store

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Luca

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Mahabharat

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

RadhaKrishn

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Phineas and Ferb

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Loki

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Special Ops

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Hostages

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Criminal Justice

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
-
- - -

New Releases

-
- - -
-
- -
-

Collar Bomb

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

WandaVision

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Carbon

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Hungama 2

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Hanuman

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Boys Don't Cry

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Shaadisthan

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Loki

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Love, Simon

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Betty

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Chhuri

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Cars 3

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Pose

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Modern Family

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Brave

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
- -
-

Dil Bechara

-
Lorem ipsum dolor sit consectetur elit.
- -
-
-
-
- - - - - - - - diff --git a/src/main/webapp/style.css b/src/main/webapp/style.css deleted file mode 100644 index b5fd0fb..0000000 --- a/src/main/webapp/style.css +++ /dev/null @@ -1,192 +0,0 @@ -@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&display=swap"); - -* { - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: "Roboto", sans-serif; -} - -body { - background: #000; - overflow-x: hidden; -} - -.background-image { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: url(https://github.com/CanisCoder/jenkins-java-project/blob/master/src/netflixbackground.jpg?raw=true) center/cover; - opacity: 0.5; - z-index: -1; -} - -nav { - position: fixed; - padding: 25px 60px; - z-index: 1; -} - -nav a img { - width: 167px; -} - -.form-wrapper { - position: absolute; - left: 50%; - top: 50%; - border-radius: 4px; - padding: 70px; - width: 480px; - transform: translate(-50%, -50%); - background: rgba(0, 0, 0, 0.75); - border: 2px; -} - -.form-wrapper h2 { - color: #fff; - font-size: 2rem; -} - -.form-wrapper form { - margin: 25px 0 65px; -} - -form .form-control { - height: 25px; - position: relative; - margin-top: 10px; - padding-top: 5px; - margin-bottom: 20px; -} - -.form-control input { - height: 200%; - width: 100%; - background-color: #262b2e; - border: none; - outline: none; - border-radius: 4px; - color: #fff; - font-size: 1rem; - padding-top: 10px; - padding: 5px 20px; -} - -.form-control input:is(:focus, :valid) { - background: #444; - padding: 20px 30px 5px; -} - -.form-control label { - position: absolute; - left: 15px; - top: 82%; - transform: translateY(-50%); - font-size: 1rem; - pointer-events: none; - color: #fefafa; - transition: all 0.1s ease; -} - -.form-control input:is(:focus, :valid) ~ label { - font-size: 0.75rem; - align-items: center; - transform: translateY(-130%); -} - -form button { - width: 100%; - padding: 16px 0; - font-size: 1rem; - background: #e50914; - color: #fff; - font-weight: 500; - border-radius: 4px; - border: none; - outline: none; - margin: 25px 0 10px; - cursor: pointer; - transition: 0.1s ease; -} - -form button:hover { - background: #c40812; -} - -.form-wrapper a { - text-decoration: none; -} - -.form-wrapper a:hover { - text-decoration: underline; -} - -.form-wrapper :where(label, p, small, a) { - color: #b3b3b3; -} - -form .form-help { - display: flex; - justify-content: space-between; -} - -form .remember-me { - display: flex; -} - -form .remember-me input { - margin-right: 5px; - accent-color: #b3b3b3; -} - -form .form-help :where(label, a) { - font-size: 0.9rem; -} - -.form-wrapper p a { - color: #fff; -} - -.form-wrapper small { - display: block; - margin-top: 15px; - color: #b3b3b3; -} - -.form-wrapper small a { - color: #0071eb; -} - -@media (max-width: 740px) { - body::before { - display: none; - } - - nav, - .form-wrapper { - padding: 20px; - } - - nav a img { - width: 140px; - } - - .form-wrapper { - width: 80%; - padding: 40px; - top: 30%; - left: 50%; - transform: translate(-50%, -30%); - } - - .form-wrapper form { - margin: 25px 0 20px; - } - - .form-control label { - top: 80%; - } -} diff --git a/src/test/java/in/javahome/myweb/controller/CalculatorTest.java b/src/test/java/in/javahome/myweb/controller/CalculatorTest.java deleted file mode 100644 index e815aad..0000000 --- a/src/test/java/in/javahome/myweb/controller/CalculatorTest.java +++ /dev/null @@ -1,14 +0,0 @@ -package in.javahome.myweb.controller; - -import junit.framework.Assert; -import junit.framework.TestCase; - -public class CalculatorTest extends TestCase { - Calculator cal = new Calculator(); - public void testAdd(){ - Assert.assertEquals(cal.add(10, 20), 30); - } - public void testMultiply(){ - Assert.assertEquals(cal.multiply(10, 20), 200); - } -}