Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
gershon authored and github-actions[bot] committed Sep 16, 2024
1 parent 568e05c commit a65ef72
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions apps/docs/src/components/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function CopyButton({ code }: { code: string }) {
className={clsx(
'group/button absolute right-4 top-3.5 overflow-hidden rounded-full py-1 pl-2 pr-3 text-2xs font-medium opacity-0 backdrop-blur transition focus:opacity-100 group-hover:opacity-100',
copied
? 'bg-space-blue-400/10 ring-space-blue-400/20 ring-1 ring-inset'
? 'bg-space-blue-400/10 ring-1 ring-inset ring-space-blue-400/20'
: 'bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5',
)}
onClick={() => {
Expand All @@ -99,7 +99,7 @@ function CopyButton({ code }: { code: string }) {
<span
aria-hidden={!copied}
className={clsx(
'text-space-blue-400 pointer-events-none absolute inset-0 flex items-center justify-center transition duration-300',
'pointer-events-none absolute inset-0 flex items-center justify-center text-space-blue-400 transition duration-300',
!copied && 'translate-y-1.5 opacity-0',
)}
>
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/components/Feedback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const FeedbackThanks = forwardRef<React.ElementRef<'div'>>(
ref={ref}
className="absolute inset-0 flex justify-center md:justify-start"
>
<div className="bg-space-blue-50/50 text-space-blue-900 ring-space-blue-500/20 dark:bg-space-blue-500/5 dark:text-space-blue-200 dark:ring-space-blue-500/30 flex items-center gap-3 rounded-full py-1 pl-1.5 pr-3 text-sm ring-1 ring-inset">
<CheckIcon className="fill-space-blue-500 dark:fill-space-blue-200/20 dark:stroke-space-blue-200 h-5 w-5 flex-none stroke-white" />
<div className="flex items-center gap-3 rounded-full bg-space-blue-50/50 py-1 pl-1.5 pr-3 text-sm text-space-blue-900 ring-1 ring-inset ring-space-blue-500/20 dark:bg-space-blue-500/5 dark:text-space-blue-200 dark:ring-space-blue-500/30">
<CheckIcon className="h-5 w-5 flex-none fill-space-blue-500 stroke-white dark:fill-space-blue-200/20 dark:stroke-space-blue-200" />
Thanks for your feedback!
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/components/Resources.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function ResourcePattern({
return (
<div className="pointer-events-none">
<motion.div
className="dark:from-space-blue-800 dark:to-space-blue-900 from-space-blue-50 to-space-blue-100 absolute inset-0 rounded-2xl bg-gradient-to-r opacity-0 transition duration-300 group-hover:opacity-100"
className="absolute inset-0 rounded-2xl bg-gradient-to-r from-space-blue-50 to-space-blue-100 opacity-0 transition duration-300 group-hover:opacity-100 dark:from-space-blue-800 dark:to-space-blue-900"
style={style}
/>
</div>
Expand Down
58 changes: 29 additions & 29 deletions apps/docs/src/fonts/index.ts
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
import localFont from "next/font/local";
import localFont from 'next/font/local'

export const arkProjectFont = localFont({
src: [
{
path: "./ArkProject-Light.woff2",
weight: "400",
style: "normal",
path: './ArkProject-Light.woff2',
weight: '400',
style: 'normal',
},
{
path: "./ArkProject-Regular.woff2",
weight: "500",
style: "normal",
path: './ArkProject-Regular.woff2',
weight: '500',
style: 'normal',
},
{
path: "./ArkProject-Medium.woff2",
weight: "600",
style: "normal",
path: './ArkProject-Medium.woff2',
weight: '600',
style: 'normal',
},
{
path: "./ArkProject-Bold.woff2",
weight: "700",
style: "normal",
path: './ArkProject-Bold.woff2',
weight: '700',
style: 'normal',
},
{
path: "./ArkProject-ExtraBold.woff2",
weight: "800",
style: "normal",
path: './ArkProject-ExtraBold.woff2',
weight: '800',
style: 'normal',
},
],
variable: "--font-ark-project",
});
variable: '--font-ark-project',
})

export const styreneAFont = localFont({
src: [
{
path: "./StyreneA-Regular-Web.woff2",
weight: "500",
style: "normal",
path: './StyreneA-Regular-Web.woff2',
weight: '500',
style: 'normal',
},
{
path: "./StyreneA-RegularItalic-Web.woff2",
weight: "500",
style: "italic",
path: './StyreneA-RegularItalic-Web.woff2',
weight: '500',
style: 'italic',
},
{
path: "./StyreneA-Bold-Web.woff2",
weight: "700",
style: "normal",
path: './StyreneA-Bold-Web.woff2',
weight: '700',
style: 'normal',
},
],
variable: "--font-styrene-a",
});
variable: '--font-styrene-a',
})
2 changes: 1 addition & 1 deletion packages/core/src/contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export const MAINNET_CONTRACTS = {
"0x57d45cc46de463f7ae63b74ce9b6b6b496a1178b02e7ad04d7c307caa698b7b",
executor: "0x7b42945bc47001db92fe1b9739d753925263f2f1036c2ae1f87536c916ee6a",
orderbook: "0x5add3084bb8664eb2a641cf26a28f60588c3ccd63af0632aafefcbb2332c345"
};
};

0 comments on commit a65ef72

Please sign in to comment.