Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cornedriesprong committed May 16, 2023
1 parent 60133f1 commit 8c93e47
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 19 deletions.
24 changes: 11 additions & 13 deletions public/favicon.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions src/assets/logo.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/components/Header.astro
Expand Up @@ -3,9 +3,6 @@ import { LOGO_IMAGE, SITE } from "@config";
import Hr from "./Hr.astro";
import LinkButton from "./LinkButton.astro";
import logoPNG from "/assets/logo.png";
import logoSVG from "/assets/logo.svg";
export interface Props {
activeNav?: "posts" | "tags" | "about" | "search";
}
Expand Down
11 changes: 10 additions & 1 deletion src/components/LinkButton.astro
Expand Up @@ -4,10 +4,18 @@ export interface Props {
className?: string;
ariaLabel?: string;
title?: string;
target?: string;
disabled?: boolean;
}
const { href, className, ariaLabel, title, disabled = false } = Astro.props;
const {
href,
className,
ariaLabel,
title,
target,
disabled = false,
} = Astro.props;
---

<a
Expand All @@ -16,6 +24,7 @@ const { href, className, ariaLabel, title, disabled = false } = Astro.props;
class={`group inline-block ${className}`}
aria-label={ariaLabel}
title={title}
target={target}
aria-disabled={disabled}
>
<slot />
Expand Down
3 changes: 2 additions & 1 deletion src/components/Socials.astro
Expand Up @@ -16,6 +16,7 @@ const { centered = false } = Astro.props;
<LinkButton
href={social.href}
className="link-button"
target="_blank"
title={social.linkTitle}
>
<Fragment set:html={socialIcons[social.name]} />
Expand All @@ -26,7 +27,7 @@ const { centered = false } = Astro.props;

<style>
.social-icons {
@apply flex-wrap justify-center gap-1;
@apply flex-wrap justify-center;
}
.link-button {
@apply m-1 p-2 hover:rotate-6 sm:p-1;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/cykle/index.astro
Expand Up @@ -385,7 +385,7 @@ import appstore_dark from "../../assets/appstore_dark.svg";
<p>
<strong>how does this work? is there a manual?</strong><br />yes, the
manual is <a
href="/manual"
href="/cykle/manual"
class="underline decoration-dashed underline-offset-4 hover:text-skin-accent"
>here</a
>.
Expand Down

0 comments on commit 8c93e47

Please sign in to comment.