diff --git a/app/assets/images/main-cover.jpg b/app/assets/images/main-cover.jpg index 5c0cbef..0b66ac6 100644 Binary files a/app/assets/images/main-cover.jpg and b/app/assets/images/main-cover.jpg differ diff --git a/app/frontend/packs/application.scss b/app/frontend/packs/application.scss index 7fc7c10..ece1d6c 100644 --- a/app/frontend/packs/application.scss +++ b/app/frontend/packs/application.scss @@ -6,7 +6,7 @@ h1 { } .movie-carousal { - max-height: 600px !important; + max-height: 400px } .new_movie_col { @@ -23,7 +23,8 @@ h1 { } .bc-item { - color: white; + margin-top: 15%; + color: white !important; font-size: 18px; } @@ -35,5 +36,18 @@ h1 { margin: 2% } + .movie-card { + margin: 1%; + min-height: 900px; + max-height: 1000px; + } + + .index-back { + background-image: url(/assets/main-cover.jpg); + } + .main-text { + color: whitesmoke !important; + } + // Import Bootstrap v5 @import "~bootstrap/scss/bootstrap"; \ No newline at end of file diff --git a/app/views/movies/index.html.erb b/app/views/movies/index.html.erb index 0ff3a0c..ddceef3 100644 --- a/app/views/movies/index.html.erb +++ b/app/views/movies/index.html.erb @@ -1,71 +1,49 @@ - +
-
+

Watch N Review

Planning to watch a movie? You've come to the right place! Read through our collection of crisp movie reviews and find out if its a big entertainer or a total disaster

- <%#

- Main call to action - Secondary action -

%> +

+ <% if !user_signed_in? %> + <%= link_to "Sign up", new_user_registration_path,:class=> "btn btn-primary my-2" %> + <% else %> + <%= link_to 'Add a new movie', new_movie_path, :class=> "btn btn-primary my-2" %> + <%end %> +

- \ No newline at end of file diff --git a/db/development.sqlite3 b/db/development.sqlite3 index c08bf79..e1c59b4 100644 Binary files a/db/development.sqlite3 and b/db/development.sqlite3 differ