This is my personal website

remove unused Button component

-12
-12
components/Button.tsx
··· 1 - import { JSX } from "preact"; 2 - import { IS_BROWSER } from "$fresh/runtime.ts"; 3 - 4 - export function Button(props: JSX.HTMLAttributes<HTMLButtonElement>) { 5 - return ( 6 - <button 7 - {...props} 8 - disabled={!IS_BROWSER || props.disabled} 9 - class="px-2 py-1 border-gray-500 border-2 rounded bg-white hover:bg-gray-200 transition-colors" 10 - /> 11 - ); 12 - }