Added prefetch
This commit is contained in:
parent
1d7a92c16e
commit
c9d4ddb861
3 changed files with 6 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ import robotsTxt from 'astro-robots-txt'
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://tools.patalcala.com',
|
site: 'https://tools.patalcala.com',
|
||||||
integrations: [solidJs(), compressor({ gzip: false, brotli: true }), robotsTxt()],
|
integrations: [solidJs(), compressor({ gzip: false, brotli: true }), robotsTxt()],
|
||||||
|
prefetch: true,
|
||||||
build: {
|
build: {
|
||||||
assets: '_aiotools',
|
assets: '_aiotools',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ export default () => {
|
||||||
<a target="_blank" href={link} class="navbar__icon" aria-label="GitHub repository">
|
<a target="_blank" href={link} class="navbar__icon" aria-label="GitHub repository">
|
||||||
<FaSolidCode color="#ffffff" size={24} cursor="pointer" />
|
<FaSolidCode color="#ffffff" size={24} cursor="pointer" />
|
||||||
</a>
|
</a>
|
||||||
<a href="/about" class="navbar__icon" aria-label="About page">
|
<a href="/about" data-astro-prefetch class="navbar__icon" aria-label="About page">
|
||||||
<RiSystemInformationLine color="#ffffff" size={32} cursor="pointer" />
|
<RiSystemInformationLine color="#ffffff" size={32} cursor="pointer" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import { Image } from 'astro:assets'
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="cards--section">
|
<section class="cards--section">
|
||||||
<a href="/password-generator" aria-label="Password generator page"><Card title="Password Generator" description="Generate a strong and secure password for your accounts online." /> </a>
|
<a href="/password-generator" data-astro-prefetch aria-label="Password generator page"><Card title="Password Generator" description="Generate a strong and secure password for your accounts online." /> </a>
|
||||||
<a href="/hash-generator" aria-label="Hash generator page"><Card title="Hash Generator" description="Convert text to multiple hash formats for secure data transmission." /></a>
|
<a href="/hash-generator" data-astro-prefetch aria-label="Hash generator page"><Card title="Hash Generator" description="Convert text to multiple hash formats for secure data transmission." /></a>
|
||||||
<a href="/color-converter" aria-label="Color converter page"><Card title="Color Converter" description="Convert colors to any format. Color picker provided inside." /></a>
|
<a href="/color-converter" data-astro-prefetch aria-label="Color converter page"><Card title="Color Converter" description="Convert colors to any format. Color picker provided inside." /></a>
|
||||||
<a href="/text-comparison" aria-label="Text comparison page"><Card title="Text Comparison" description="Compare text side by side to detect changes easily." /></a>
|
<a href="/text-comparison" data-astro-prefetch aria-label="Text comparison page"><Card title="Text Comparison" description="Compare text side by side to detect changes easily." /></a>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue