diff --git a/public/images/logomark.png b/public/images/logomark.png
new file mode 100644
index 0000000..39b8407
Binary files /dev/null and b/public/images/logomark.png differ
diff --git a/public/images/logomark.svg b/public/images/logomark.svg
new file mode 100644
index 0000000..43928a1
--- /dev/null
+++ b/public/images/logomark.svg
@@ -0,0 +1,14 @@
+
diff --git a/src/components/Button.tsx b/src/components/Button.tsx
index 30c4aaf..7e2279c 100644
--- a/src/components/Button.tsx
+++ b/src/components/Button.tsx
@@ -5,7 +5,7 @@ const baseStyles = {
solid:
'inline-flex justify-center rounded-lg py-2 px-3 text-sm font-semibold transition-colors',
outline:
- 'inline-flex justify-center rounded-lg border py-[calc(--spacing(2)-1px)] px-[calc(--spacing(3)-1px)] text-sm transition-colors',
+ 'inline-flex justify-center rounded-lg border py-[calc(theme(spacing.2)-1px)] px-[calc(theme(spacing.3)-1px)] text-sm transition-colors',
}
const variantStyles = {
@@ -16,7 +16,8 @@ const variantStyles = {
gray: 'bg-gray-800 text-white hover:bg-gray-900 active:bg-gray-800 active:text-white/80',
},
outline: {
- gray: 'border-gray-300 text-gray-200 hover:border-gray-400 active:bg-gray-100 active:text-white',
+ gray: 'border-gray-300 text-gray-700 hover:border-gray-400 active:bg-gray-100 active:text-gray-700/80',
+ white: 'border-gray-300 text-white hover:border-gray-400 active:bg-gray-100 active:text-white/80',
},
}
diff --git a/src/components/CallToAction.tsx b/src/components/CallToAction.tsx
index 09d0152..8b106f5 100644
--- a/src/components/CallToAction.tsx
+++ b/src/components/CallToAction.tsx
@@ -17,7 +17,7 @@ export function CallToAction() {
>
Mycelium's groundbreaking technology provides dedicated, performance-validated GPUs for your AI workloads.
-- {React.createElement(getReviewIcon(title), { className: "h-6 w-6 text-[#2F3178] mb-2" })} + {React.createElement(getReviewIcon(title), { className: "h-6 w-6 text-white mb-2" })}{title} diff --git a/src/components/ui/Button.tsx b/src/components/ui/Button.tsx deleted file mode 100644 index 9817766..0000000 --- a/src/components/ui/Button.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import Link from 'next/link' -import clsx from 'clsx' - -const baseStyles = { - solid: - 'inline-flex justify-center rounded-lg py-2 px-3 text-sm font-semibold transition-colors', - outline: - 'inline-flex justify-center rounded-lg border py-[calc(theme(spacing.2)-1px)] px-[calc(theme(spacing.3)-1px)] text-sm transition-colors', -} - -const variantStyles = { - solid: { - primary: 'bg-[#005eff] text-white hover:bg-[#005eff]/90 active:bg-[#005eff]/80', - white: 'bg-white text-black hover:bg-white/90 active:bg-white/90 active:text-gray-400', - gray: 'bg-gray-800 text-white hover:bg-gray-900 active:bg-gray-800 active:text-white/80', - }, - outline: { - primary: 'border-[#005eff] text-[#005eff] hover:border-[#005eff]/80 hover:text-[#005eff]/80 active:bg-gray-100 active:text-[#005eff]/70', - gray: 'border-gray-300 text-gray-700 hover:border-gray-400 active:bg-gray-100 active:text-gray-700/80', - }, -} - -type ButtonProps = ( - | { variant?: 'solid'; color?: keyof typeof variantStyles.solid } - | { variant: 'outline'; color?: keyof typeof variantStyles.outline } - ) & ( - | Omit, 'color'> - | (Omit , 'color'> & { - href?: undefined - }) - ) - -export function Button({ className, ...props }: ButtonProps) { - props.variant ??= 'solid' - if (props.variant === 'solid') { - props.color ??= 'primary' - } else { - props.color ??= 'gray' - } - - let variantClass: string | undefined; - if (props.variant === 'outline') { - variantClass = variantStyles.outline[props.color as keyof typeof variantStyles.outline]; - } else if (props.variant === 'solid') { - variantClass = variantStyles.solid[props.color as keyof typeof variantStyles.solid]; - } - - className = clsx( - baseStyles[props.variant], - variantClass, - className, - ) - - return typeof props.href === 'undefined' ? ( - - ) : ( - - ) -}