mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-19 14:43:29 +09:00
Redesign about page
This commit is contained in:
@@ -116,6 +116,10 @@ const { pathname } = Astro.url;
|
||||
<a
|
||||
class="btn btn-outline-primary btn-sm"
|
||||
href={navigation_button.link}
|
||||
target={
|
||||
navigation_button.link.startsWith("http") ? "_blank" : "_self"
|
||||
}
|
||||
rel={navigation_button.link.startsWith("http") ? "noopener" : ""}
|
||||
>
|
||||
{navigation_button.label}
|
||||
</a>
|
||||
@@ -141,6 +145,10 @@ const { pathname } = Astro.url;
|
||||
<a
|
||||
class="btn btn-outline-primary btn-sm hidden lg:inline-block"
|
||||
href={navigation_button.link}
|
||||
target={
|
||||
navigation_button.link.startsWith("http") ? "_blank" : "_self"
|
||||
}
|
||||
rel={navigation_button.link.startsWith("http") ? "noopener" : ""}
|
||||
>
|
||||
{navigation_button.label}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user