Skip to content

Commit

Permalink
Last changes to fix images and styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
benjagm committed Oct 15, 2024
1 parent 4668518 commit 15bfb73
Show file tree
Hide file tree
Showing 5 changed files with 3,145 additions and 8 deletions.
10 changes: 3 additions & 7 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,18 @@ of the JSON Schema Ecosystem to further the education, adoption and evolution of
{{% /home-info %}}

{{% home-speakers %}}

## Featured Speakers (Coming soon)

{{< button-link label="See all speakers"
url="./speakers"
icon="right" >}}
## Featured Speakers (Coming soon...)

{{% /home-speakers %}}

<!-- ... -->

{{% home-location
image="/images/map.jpg"
image="/images/map7.png"
address="CNIT Forest Paris - France"
latitude="48.892848"
longitude="2.240017" %}}

{{% /home-location %}}

<!-- ... -->
Expand Down
23 changes: 23 additions & 0 deletions layouts/shortcodes/home-location.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{{ $_hugo_config := `{ "version": 1 }` }}
<section class="location">

<div class="map" style="background-image: url('{{ .Get "image" }}');"></div>

<div class="description">
<div class="inner">
{{ .Inner }}
</div>

<div class="direction">
{{ .Get "address" }}

<a href="https://www.google.com/maps/dir/?api=1&destination={{ .Get "latitude" }},{{ .Get "longitude" }}"
class="btn btn-icon-only" target="_blank" rel="noreferrer"
aria-label="{{ i18n "home_location_direction" }}">
{{ partial "icon.html" "direction" }}
</a>

</div>

</div>
</section>
Binary file removed static/images/map.jpg
Binary file not shown.
Binary file added static/images/map7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,120 changes: 3,119 additions & 1 deletion static/theme.css

Large diffs are not rendered by default.

0 comments on commit 15bfb73

Please sign in to comment.