---

import { profileConfig } from "../config";

const COMMIT_HASH = import.meta.env.COMMIT_HASH;
const COMMIT_HASH_URL = COMMIT_HASH
  ? `https://github.com/CompeyDev/blog.devcomp.xyz/commit/${COMMIT_HASH}`
  : null;
---

<div class="card-base max-w-[var(--page-width)] min-h-[4.5rem] rounded-b-none mx-auto flex items-center px-6">
    <div class="transition text-50 text-sm">
        © 2024 {profileConfig.name}. All Rights Reserved.
        <br>
        Powered by <a class="link text-[var(--primary)] font-medium" target="_blank" href="https://github.com/saicaca/fuwari">Fuwari</a> - <a class="link text-[var(--primary)] font-medium" target="_blank" href={COMMIT_HASH_URL}>{COMMIT_HASH ?? "dev"}</a>
    </div>
</div>
