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