Skip to content

Full Toolkit for Next-Level Domain Analysis

1.2 KB
Raw Blame
import Image from 'next/image';
import type { FC, HTMLAttributes } from 'react';

import { cn } from '@/lib/utils';

type AuthorSectionProps = HTMLAttributes<HTMLElement>;

export const AuthorSection: FC<AuthorSectionProps> = ({
  className,
  ...props
}) => (
  <section
    className={cn(
      'flex items-center justify-center gap-4 font-medium',
      className,
    )}
    {...props}
  >
    <Image
      width={48}
      height={48}
      className="size-12 rounded-full"
      src="https://static.wsky.dev/branding/photo.jpg"
      alt="Felix Wotschofsky, creator of Domain Digger"
    />
    <div>
      <p>Hey there, I am Felix, the creator of Domain Digger. πŸ‘‹</p>
      <p>
        You can{' '}
        <a
          className="underline decoration-dotted underline-offset-4"
          href="https://x.com/wotschofsky"
          target="_blank"
        >
          follow me on X
        </a>{' '}
        and{' '}
        <a
          className="underline decoration-dotted underline-offset-4"
          href="https://wotschofsky.com/"
          target="_blank"
        >
          check out my other projects
        </a>
        .
      </p>
    </div>
  </section>
);