-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from DushanSenadheera/coming-soon
Coming soon
- Loading branch information
Showing
4 changed files
with
64 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"title": "JW 4", | ||
"subtitle": "Keanu Reeves", | ||
"url": "../src/assets/jw.jpg" | ||
}, | ||
{ | ||
"title": "Transformers", | ||
"subtitle": "Shia LaBeouf", | ||
"url": "../src/assets/transformers.jpg" | ||
}, | ||
{ | ||
"title": "Smile", | ||
"subtitle": "Brad Pitt", | ||
"url": "../src/assets/smile.jpg" | ||
}, | ||
{ | ||
"title": "Top Gun Maverick", | ||
"subtitle": "Tom Cruise", | ||
"url": "../src/assets/tg.jpg" | ||
}, | ||
{ | ||
"title": "Thor", | ||
"subtitle": "Chris Hemsworth", | ||
"url": "../src/assets/thor.jpg" | ||
} | ||
|
||
|
||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import './Home.css'; | ||
import ComingSoon from "./ComingSoon.json" | ||
|
||
function Premirering () { | ||
return ( | ||
<main> | ||
<div className="premiering" id="explore"> | ||
<h3>Coming Soon</h3> | ||
<a href="/description"> | ||
<div className="premiering-movies" > | ||
{ComingSoon.map((movie) => ( | ||
<form action="" key={movie.id} > | ||
<div className="movie"> | ||
<input type="hidden" id="movieName" name="movieName" value={movie.title} /> | ||
<img src={`${movie.url}`} alt="movie-poster" /> | ||
<h4>{movie.title}</h4> | ||
<h5>{movie.subtitle}</h5> | ||
<br className="temp"/> | ||
{/* <input type="submit" value="See More..." className="hidden-btn" /> */} | ||
</div> | ||
</form> | ||
))} | ||
</div> | ||
</a> | ||
</div> | ||
</main> | ||
|
||
) | ||
} | ||
|
||
export default Premirering |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters