mirror of
https://github.com/vercel/commerce.git
synced 2025-08-15 21:31:23 +00:00
.github
.vscode
@
app
components
cart
grid
icons
layout
product
store
carousel.tsx
combox.tsx
label.tsx
loading-dots.tsx
logo-square.tsx
logo-type.tsx
opengraph-image.tsx
price.tsx
prose.tsx
constants
fonts
lib
public
.env.example
.eslintrc.js
.gitignore
.nvmrc
.prettierignore
README.md
components.json
license.md
next.config.js
package.json
pnpm-lock.yaml
postcss.config.js
prettier.config.js
tailwind.config.js
tsconfig.json
29 lines
881 B
TypeScript
29 lines
881 B
TypeScript
// import clsx from 'clsx';
|
|
|
|
// export default function LogoType({ size }: { size?: 'sm' | undefined }) {
|
|
// return (
|
|
// <div
|
|
// className={clsx(
|
|
// 'flex flex-none items-center justify-center border border-neutral-200 bg-white dark:border-neutral-700 dark:bg-black',
|
|
// {
|
|
// 'h-[40px] w-[40px] rounded-xl': !size,
|
|
// 'h-[30px] w-[30px] rounded-lg': size === 'sm'
|
|
// }
|
|
// )}
|
|
// >
|
|
// {/* <LogoIcon
|
|
// className={clsx({
|
|
// 'h-[16px] w-[16px]': !size,
|
|
// 'h-[10px] w-[10px]': size === 'sm'
|
|
// })}
|
|
// /> */}
|
|
// <img src="/logo-white" alt="scape squared typographic logo" />
|
|
// </div>
|
|
// );
|
|
// }
|
|
|
|
export default function LogoType(props: React.ComponentProps<'img'>) {
|
|
return (
|
|
<img src="/logo-white.png" alt="scape squared logo" className="w-24"/>
|
|
);
|
|
} |