diff --git a/assets/images/remax-logo.png b/assets/images/remax-logo.png new file mode 100644 index 0000000..e9d58e1 Binary files /dev/null and b/assets/images/remax-logo.png differ diff --git a/css/body.css b/css/body.css index bdf296b..a304eb2 100644 --- a/css/body.css +++ b/css/body.css @@ -3,7 +3,7 @@ body { } .page-container { - padding-top: 74px; + padding-top: 75.5px; display: flex; flex-direction: column; justify-content: center; diff --git a/css/navbar.css b/css/navbar.css index 70034d3..cf30557 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -70,18 +70,27 @@ transition-duration: 0.3s; cursor: pointer; } + +.navbar-brand-container{ + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + +} + .navbar-title { color: white; - font-size: 15pt; - padding-right: 20px; - padding-top: 10px; - padding-bottom: 10px; - font-family: Source Sans Pro; - + font-size: 23pt; + font-family: Sacramento; +} + +.navbar-image { + max-width: 50px; + max-height: 50px; } /* Desktop view */ - @media only screen and (min-width: 850px) { .navbar-container { display: flex; @@ -111,7 +120,7 @@ } .navbar-item { color: white; - font-size: 14pt; + font-size: 12pt; padding-left: 20px; padding-right: 20px; padding-top: 10px; @@ -120,7 +129,7 @@ } .navbar-item:hover { background-color: #ffffff14; - font-size: 15pt; + font-size: 13pt; font-weight: bold; border-radius: 3px; transition-duration: 0.3s; @@ -128,12 +137,8 @@ } .navbar-title { color: white; - font-size: 14pt; - padding-left: 20px; - padding-right: 20px; - padding-top: 10px; - padding-bottom: 10px; - font-family: Source Sans Pro; + font-size: 23pt; + font-family: Sacramento; } .navbar-hamburger { display: none; diff --git a/css/search.css b/css/search.css index 60e4652..a3ddf97 100644 --- a/css/search.css +++ b/css/search.css @@ -14,7 +14,7 @@ flex-direction: row; justify-content: center; align-items: center; - min-width: 400px; + min-width: 300px; max-width: 600px; width: 100%; padding: 0px 20px; diff --git a/dist/body-546d222c63c2d8b.css b/dist/body-44d4d46a4658cacc.css similarity index 87% rename from dist/body-546d222c63c2d8b.css rename to dist/body-44d4d46a4658cacc.css index bdf296b..a304eb2 100644 --- a/dist/body-546d222c63c2d8b.css +++ b/dist/body-44d4d46a4658cacc.css @@ -3,7 +3,7 @@ body { } .page-container { - padding-top: 74px; + padding-top: 75.5px; display: flex; flex-direction: column; justify-content: center; diff --git a/dist/images/remax-logo.png b/dist/images/remax-logo.png new file mode 100644 index 0000000..e9d58e1 Binary files /dev/null and b/dist/images/remax-logo.png differ diff --git a/dist/index.html b/dist/index.html index f5420d2..87d87b6 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,16 +1,21 @@ Yew App - - + + + - + + + + + - - - + + + \ No newline at end of file diff --git a/src/components/nav_bar.rs b/src/components/nav_bar.rs index 68f832d..cdfd7b0 100644 --- a/src/components/nav_bar.rs +++ b/src/components/nav_bar.rs @@ -21,7 +21,14 @@ pub fn navigation_bar() -> Html { html! {
-
{NAVBAR_TITLE}
+
+ +
+ {NAVBAR_TITLE} +
+
+ +
{NAVBAR_COL_LANDING} diff --git a/src/constants/mod.rs b/src/constants/mod.rs index 4f2f129..e8d4160 100644 --- a/src/constants/mod.rs +++ b/src/constants/mod.rs @@ -1,4 +1,4 @@ -pub const NAVBAR_TITLE: &str = "Jorge Ledesma Properties"; +pub const NAVBAR_TITLE: &str = "Jorge Ledesma"; pub const NAVBAR_COL_LANDING: &str = "Inicio"; pub const NAVBAR_COL_PROYECTOS_ACABADOS: &str = "Listos para entrega"; pub const NAVBAR_COL_PROYECTOS_EN_CONSTRUCCION: &str = "En construcción"; diff --git a/src/pages/search.rs b/src/pages/search.rs index dc9d5bd..0dd6b23 100644 --- a/src/pages/search.rs +++ b/src/pages/search.rs @@ -18,17 +18,23 @@ pub fn search_page(_props: &SearchPageProperties) -> Html {
-
+
// Search bar
-
-
+
// Filters +
+ {"Filter 1"} +
-
+ + //TODO: Add a spacing + + +
// Search Results Content