Prefetch links on hover
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
<li>
|
<li>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<LinkTranslate href="/credits" text="Credits" />
|
<LinkTranslate href="/credits" text="Credits" rel="prefetch" />
|
||||||
</li>
|
</li>
|
||||||
<li class="instagram">
|
<li class="instagram">
|
||||||
<LinkTranslate href="https://instagram.com/{$site.instagram}" text="Instagram" target="_blank">
|
<LinkTranslate href="https://instagram.com/{$site.instagram}" text="Instagram" target="_blank">
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="location" data-aos="location">
|
<div class="location" data-aos="location">
|
||||||
<a href="/location/{location.country.slug}/{location.slug}">
|
<a href="/location/{location.country.slug}/{location.slug}" rel="prefetch">
|
||||||
<img src={location.country.flag.full_url} alt="Flag of {location.country.name}">
|
<img src={location.country.flag.full_url} alt="Flag of {location.country.name}">
|
||||||
<div class="anim-mask mask-city">
|
<div class="anim-mask mask-city">
|
||||||
<h3 class="location__city">{location.name}</h3>
|
<h3 class="location__city">{location.name}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user