Update DMR link, add board members to about page
- Rename "DMR Editor" to "DMR İndir" across nav and about page - Add target="_blank" support to Header component - Add all 5 board members with QRZ.com links to hakkimizda page - Update DMR blog post with channel list section - Remove "Liderlik" tagline from board section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -14,6 +14,7 @@ interface Link {
|
||||
href?: string;
|
||||
ariaLabel?: string;
|
||||
icon?: string;
|
||||
target?: string;
|
||||
}
|
||||
|
||||
interface MenuLink extends Link {
|
||||
@@ -86,7 +87,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
|
||||
class="flex flex-col md:flex-row md:self-center w-full md:w-auto text-xl md:text-[0.9375rem] tracking-[0.01rem] font-medium md:justify-center"
|
||||
>
|
||||
{
|
||||
links.map(({ text, href, links }) => (
|
||||
links.map(({ text, href, links, target }) => (
|
||||
<li class={links?.length ? 'dropdown' : ''}>
|
||||
{links?.length ? (
|
||||
<>
|
||||
@@ -98,7 +99,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
|
||||
<Icon name="tabler:chevron-down" class="w-3.5 h-3.5 ml-0.5 rtl:ml-0 rtl:mr-0.5 hidden md:inline" />
|
||||
</button>
|
||||
<ul class="dropdown-menu md:backdrop-blur-md dark:md:bg-dark rounded md:absolute pl-4 md:pl-0 md:hidden font-medium md:bg-white/90 md:min-w-[200px] drop-shadow-xl">
|
||||
{links.map(({ text: text2, href: href2 }) => (
|
||||
{links.map(({ text: text2, href: href2, target: target2 }) => (
|
||||
<li>
|
||||
<a
|
||||
class:list={[
|
||||
@@ -106,6 +107,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
|
||||
{ 'aw-link-active': href2 === currentPath },
|
||||
]}
|
||||
href={href2}
|
||||
{...(target2 ? { target: target2, rel: 'noopener noreferrer' } : {})}
|
||||
>
|
||||
{text2}
|
||||
</a>
|
||||
@@ -120,6 +122,7 @@ const currentPath = `/${trimSlash(new URL(Astro.url).pathname)}`;
|
||||
{ 'aw-link-active': href === currentPath },
|
||||
]}
|
||||
href={href}
|
||||
{...(target ? { target, rel: 'noopener noreferrer' } : {})}
|
||||
>
|
||||
{text}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user