mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
fix mobile links
This commit is contained in:
parent
83c1c1d449
commit
326d56465f
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "Web3Privacy Now",
|
"name": "Web3Privacy Now",
|
||||||
"links": {
|
"links": {
|
||||||
"ocs": "https://docs.web3privacy.info/",
|
"docs": "https://docs.web3privacy.info/",
|
||||||
"manifesto": "https://docs.web3privacy.info/manifesto",
|
"manifesto": "https://docs.web3privacy.info/manifesto",
|
||||||
"github": "https://github.com/web3privacy",
|
"github": "https://github.com/web3privacy",
|
||||||
"twitter": "https://twitter.com/web3privacy",
|
"twitter": "https://twitter.com/web3privacy",
|
||||||
|
|
|
@ -42,7 +42,7 @@ import cfonts from 'cfonts';
|
||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
{config.header.menu.map((menuItem) => (
|
{config.header.menu.map((menuItem) => (
|
||||||
<div class="uppercase w-full">
|
<div class="uppercase w-full">
|
||||||
<a href={menuItem.url || core.links} class="inline-block hover:underline px-4 py-2" class:list={[menuItem.url?.match(/^http/) ? "external" : "", Astro.url.pathname === menuItem.url ? "text-white" : ""]}>{menuItem.name}</a>
|
<a href={core.links[menuItem.link] || menuItem.url} class="inline-block hover:underline px-4 py-2" class:list={[menuItem.url?.match(/^http/) ? "external" : "", Astro.url.pathname === menuItem.url ? "text-white" : ""]}>{menuItem.name}</a>
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue