diff --git a/_config.yml b/_config.yml index 9b62ea5..4429350 100644 --- a/_config.yml +++ b/_config.yml @@ -60,4 +60,9 @@ kramdown: pagination: limit: false per_page: 2 - title_suffix: " (page :num)" \ No newline at end of file + title_suffix: " (page :num)" + +collections: + listings: + output: false + diff --git a/_includes/card.liquid b/_includes/card.liquid new file mode 100644 index 0000000..0f0eb60 --- /dev/null +++ b/_includes/card.liquid @@ -0,0 +1,58 @@ +
+
+ +
+

{{ listing.price }}

+ +
+ +
+ + +
+
+ +

+ {{ listing.title }} +

+
+ + +
+
+

+ {{ listing.address }} +

+

+ {{ listing.timestamp }} +

+
+
diff --git a/_layouts/default.liquid b/_layouts/default.liquid index 9d07507..f438840 100644 --- a/_layouts/default.liquid +++ b/_layouts/default.liquid @@ -11,245 +11,6 @@ Resharespace - @@ -1249,131 +1010,6 @@
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
@@ -1414,311 +1050,9 @@
- -
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
-
- - -
-

incub8 space, centennial road, brgy. - batong dalig, kawit, cavite

- -

5 hrs - ago

-
-
+ {% for listing in site.listings %} + {% include card.liquid listing=listing %} + {% endfor %}
diff --git a/_listings/loft_office.md b/_listings/loft_office.md new file mode 100644 index 0000000..5a456c5 --- /dev/null +++ b/_listings/loft_office.md @@ -0,0 +1,16 @@ +--- +layout: card +title: "Cozy coworking space in the heart of the south" +price: "P 1,299 / monthly" +address: "Incub8 Space, centennial road, brgy. batong dalig, kawit, cavite" +timestamp: "5 hrs ago" +url: "#" +image: "assets/img/img2.jpg" +message_icon: "assets/svg/icon_message.svg" +options_icon: "assets/svg/icon_ellipsis.svg" +directions_icon: "assets/svg/icon_pin.svg" +link_icon: "assets/svg/icon_link.svg" +report_icon: "assets/svg/icon_report.svg" +heart_icon: "assets/svg/icon_heart.svg" +heart_full_icon: "assets/svg/icon_heart_full.svg" +--- diff --git a/assets/css/main.css b/assets/css/main.css index 9d61f8a..b556c53 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -7,3 +7,241 @@ @tailwind utilities; @config "../../../tailwind.config.js"; + +.map-overlay { + font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif; + position: absolute; + width: auto; + height: auto; + top: 0; + left: 0; + padding: 10px; +} + +.map-overlay .map-overlay-inner { + background-color: #fff; + box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); + border-radius: 3px; + padding: 10px; + margin-bottom: 10px; +} + +.map-overlay-inner fieldset { + border: none; + padding: 0; + margin: 0 0 10px; +} + +.map-overlay-inner fieldset:last-child { + margin: 0; +} + +.map-overlay-inner select { + width: 100%; +} + +.map-overlay-inner label { + display: block; + font-weight: bold; + margin: 0 0 5px; +} + +.map-overlay-inner button { + display: inline-block; + width: 36px; + height: 20px; + border: none; + cursor: pointer; +} + +.map-overlay-inner button:focus { + outline: none; +} + +.map-overlay-inner button:hover { + box-shadow: inset 0 0 0 3px rgba(0, 0, 0, 0.1); +} + + +[slider] { + position: relative; + border-radius: 10px; + text-align: left; + margin: 13px 0 10px 0; +} + +[slider] > div { + position: absolute; + left: 13px; + right: 15px; + height: 14px; +} + +[slider] > div > [inverse-left] { + position: absolute; + left: 0; + height: 8px; + border-radius: 10px; + background-color: #150c2b; + margin: 0 7px; +} + +[slider] > div > [inverse-right] { + position: absolute; + right: 0; + height: 8px; + border-radius: 10px; + background-color: #150c2b; + margin: 0 7px; +} + +[slider] > div > [range] { + position: absolute; + left: 0; + height: 8px; + border-radius: 14px; + background-color: #32ffa8; +} + +[slider] > div > [thumb] { + position: absolute; + top: -10px; + z-index: 2; + height: 28px; + width: 28px; + text-align: left; + margin-left: -11px; + cursor: pointer; + box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); + background-color: #7643ea; + border-radius: 50%; + outline: none; +} + +[slider] > input[type=range] { + position: absolute; + pointer-events: none; + -webkit-appearance: none; + z-index: 3; + height: 14px; + top: -2px; + width: 100%; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + -moz-opacity: 0; + -html-opacity: 0; + opacity: 0; +} + +div[slider] > input[type=range]::-ms-track { + -webkit-appearance: none; + background: transparent; + color: transparent; +} + +div[slider] > input[type=range]::-moz-range-track { + -moz-appearance: none; + background: transparent; + color: transparent; +} + +div[slider] > input[type=range]:focus::-webkit-slider-runnable-track { + background: transparent; + border: transparent; +} + +div[slider] > input[type=range]:focus { + outline: none; +} + +div[slider] > input[type=range]::-ms-thumb { + pointer-events: all; + width: 28px; + height: 28px; + border-radius: 0px; + border: 0 none; + background: red; +} + +div[slider] > input[type=range]::-moz-range-thumb { + pointer-events: all; + width: 28px; + height: 28px; + border-radius: 0px; + border: 0 none; + background: red; +} + +div[slider] > input[type=range]::-webkit-slider-thumb { + pointer-events: all; + width: 28px; + height: 28px; + border-radius: 0px; + border: 0 none; + background: red; + -webkit-appearance: none; +} + +div[slider] > input[type=range]::-ms-fill-lower { + background: transparent; + border: 0 none; +} + +div[slider] > input[type=range]::-ms-fill-upper { + background: transparent; + border: 0 none; +} + +div[slider] > input[type=range]::-ms-tooltip { + display: none; +} + +[slider] > div > [sign] { + opacity: 0; + position: absolute; + margin-left: -17px; + top: -39px; + z-index: 3; + background-color: #32ffa8; + color: #1A202C; + width: 40px; + height: 28px; + content: ''; + align-items: center; + -webkit-justify-content: center; + justify-content: center; + text-align: center; +} + +[slider] > div > [sign]:after { + position: absolute; + content: ''; + left: 0; + border-radius: 16px; + top: 19px; + border-left: 20px solid transparent; + border-right: 20px solid transparent; + border-top-width: 16px; + border-top-style: solid; + border-top-color: #32ffa8; +} + +[slider] > div > [sign] > span { + font-size: 12px; + font-weight: 700; + line-height: 28px; +} + +[slider]:hover > div > [sign] { + opacity: 1; +} + +.tooltip .tooltip-text { + visibility: hidden; + text-align: center; + position: absolute; +} + +.tooltip:hover .tooltip-text { + visibility: visible; +} \ No newline at end of file