diff --git a/src/dev/components.tsx b/src/dev/components.tsx index a3368fa0..0a9f9b63 100644 --- a/src/dev/components.tsx +++ b/src/dev/components.tsx @@ -1,6 +1,8 @@ import { + checkCircledIcon, chevronLeftIcon, chevronRightIcon, + crossCircledIcon, externalLinkIcon, farcasterIcon, fileTextIcon, @@ -17,7 +19,7 @@ export type PreviewProps = { baseUrl: string contextHtml: string frame: FrameType - log: + request: | { type: 'initial' method: 'get' @@ -72,7 +74,7 @@ export type PreviewProps = { } export function Preview(props: PreviewProps) { - const { baseUrl, contextHtml, frame, log, routes, state } = props + const { baseUrl, contextHtml, frame, request, routes, state } = props return (
data = json).catch(console.error) else getFrame().then((json) => data = json).catch(console.error) `} @@ -602,23 +609,24 @@ function Button() { function Data() { return (
+
+ + +
@@ -655,38 +671,25 @@ function Data() { function Metrics() { return (
-
- {stopwatchIcon} -
-
- -
- {fileTextIcon} +
) } @@ -703,11 +706,18 @@ function Timeline() { @@ -1497,14 +1507,6 @@ export function Styles() { .border-t-0 { border-top-width: 0; } .cursor-pointer { cursor: pointer; } .display-block { display: block; } - .divide-y > * + * { - border-top-width: 1px; - border-bottom-width: 0px; - } - .divide-y-reverse > * + * { - border-top-width: 0px; - border-bottom-width: 1px; - } .font-normal { font-weight: 400; } .font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } @@ -1610,20 +1612,18 @@ export function Styles() { width: 1px; } - .md\\:divide-y-0 > * + * { - border-top-width: 0px; + .divide-y > *:not(template) + *:not(template) { + border-top-width: 1px; border-bottom-width: 0px; } - @media screen and (max-width: 768px) { - .md\\:divide-y-0 > * + * { - border-top-width: inherit; - } - } - - .divide-x > * + * { + .divide-x > *:not(template) + *:not(template) { border-right-width: 0; border-left-width: 1px; } + + .hover\\:bg-gray-200 { + &:hover { background-color: var(--gray-200) !important; } + } ` // biome-ignore lint/security/noDangerouslySetInnerHtml: return