@@ -98,14 +98,14 @@ function Home() {
{/* START LOCATION CRITICS BEST AND USERS BEST SECTION */}
-
-
+
+
-
+
{popular.data.map((x) => (
-
-
-
+
+
+
{x.name}
{x.location}
@@ -116,16 +116,16 @@ function Home() {
))}
-
+
{critics_users_pick.critics.map((x) => (
-
+
{x.name}
-
{x.location}
-
+
{x.location}
+
{x.critic_rating}
@@ -136,16 +136,16 @@ function Home() {
))
}
-
+
{critics_users_pick.users.map((x) => (
-
+
{x.name}
-
{x.location}
-
+
{x.location}
+
{x.user_rating}
diff --git a/src/pages/Home/style.css b/src/pages/Home/style.css
index e61bdcf..0a9e2c6 100644
--- a/src/pages/Home/style.css
+++ b/src/pages/Home/style.css
@@ -32,6 +32,30 @@
color: #b99229;
}
+.news-card {
+ display: inline-block;
+ width: 33.3%;
+ padding: 0 1% 15px;
+ vertical-align: top;
+}
+
+
+.trending-image-container {
+ overflow: hidden;
+ border-radius: 7px;
+ height: 200px;
+}
+
+.critics-users-image {
+ width: 72px;
+ height: 72px;
+ float: left;
+}
+
+.critics-users-rating-container {
+ margin-top: 0.75rem;
+}
+
@media screen and (max-width: 1300px) {
.recently-added-section-card {
width: 24.3%;
@@ -42,6 +66,13 @@
.recently-added-section-card {
width: 33.3%;
}
+ .news-card {
+ width: 50%;
+ }
+
+ .trending-section {
+ margin-bottom: 1.75rem;
+ }
}
@media screen and (max-width: 625px) {
@@ -50,6 +81,28 @@
}
}
-/* @media screen and (max-width: 425px) {
-
-} */
\ No newline at end of file
+@media screen and (max-width: 425px) {
+ .news-card {
+ width: 100%;
+ }
+
+ .location-title {
+ font-size: 10px;
+ }
+
+ .critics-users-image {
+ height: 60px;
+ width: 60px;
+ }
+
+ .location-province {
+ font-size: 10px !important;
+ }
+
+ .trending-image-container {
+ overflow: hidden;
+ border-radius: 7px;
+ height: 100px;
+ }
+
+}
\ No newline at end of file