feat: add lazy loading of card on home page
feat: add universal organization store fix: optimization for JSON data loaded in home page HTML
This commit is contained in:
parent
2e6e64a6d3
commit
ecf9a0720e
8 changed files with 224 additions and 87 deletions
|
|
@ -33,7 +33,12 @@
|
|||
Toutes
|
||||
</div>
|
||||
<div class="nav-access">
|
||||
<i class="fas fa-chevron-right"></i>
|
||||
<svg aria-hidden="true" focusable="false" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"
|
||||
></path>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -72,7 +77,8 @@
|
|||
|
||||
{% block scripts %}
|
||||
<script>
|
||||
let tags = JSON.parse(`{{ tagsJSON }}`)
|
||||
let mediaBaseUrl = "{{ mediaBaseUrl }}"
|
||||
let isProposed = {{ isProposed }}
|
||||
let organizations = JSON.parse(`{{ organizationsJSON }}`)
|
||||
</script>
|
||||
<script src="/scripts/home.js"></script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue