diff --git a/bun.lockb b/bun.lockb index d1a98da..7886ecb 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/src/layouts/default/components/footer.astro b/src/layouts/default/components/footer.astro index 60be424..ef5d6af 100644 --- a/src/layouts/default/components/footer.astro +++ b/src/layouts/default/components/footer.astro @@ -1,6 +1,7 @@ --- -import { GithubIcon, LinkedinIcon, MailIcon, TwitterIcon } from "astro-feather"; +import { GithubIcon, LinkedinIcon, MailIcon } from "astro-feather"; import AnchorIcon from "~/ui/components/anchor-icon.astro"; +import XIcon from "~/ui/icons/x.astro"; import { cn } from "~/utils/cn"; const { class: className, ...otherProps } = Astro.props; @@ -19,9 +20,9 @@ const contacts: Contact[] = [ href: "https://github.com/rqbazan", }, { - icon: TwitterIcon, - network: "twitter", - href: "https://twitter.com/rqbazan", + icon: XIcon, + network: "x", + href: "https://x.com/rqbazan", }, { icon: LinkedinIcon, diff --git a/src/pages/projects/index.astro b/src/pages/projects/index.astro index 2e5e3dc..5d1267f 100644 --- a/src/pages/projects/index.astro +++ b/src/pages/projects/index.astro @@ -208,7 +208,7 @@ import ProjectPost from "./_components/project-post.astro"; The Quest for the Perfect Dark Mode {" "} by{" "} - Josh Comeau + Josh Comeau , I've created a reusable solution for the dark-mode-flick-problem. My own website use this solution. diff --git a/src/ui/icons/layout.astro b/src/ui/icons/layout.astro new file mode 100644 index 0000000..0066041 --- /dev/null +++ b/src/ui/icons/layout.astro @@ -0,0 +1,18 @@ +--- +export interface Props extends astroHTML.JSX.SVGAttributes { + size?: number; +} + +const { size, ...otherProps } = Astro.props; +--- + + + + diff --git a/src/ui/icons/x.astro b/src/ui/icons/x.astro new file mode 100644 index 0000000..0711ed5 --- /dev/null +++ b/src/ui/icons/x.astro @@ -0,0 +1,13 @@ +--- +import Layout from "./layout.astro"; + +export interface Props extends astroHTML.JSX.SVGAttributes { + size?: number; +} +--- + + + X +