Skip to content

Commit 64d0eb7

Browse files
sanity fixes
1 parent 0dec558 commit 64d0eb7

4 files changed

Lines changed: 65 additions & 136 deletions

File tree

app/begin-and-explore/wallet-setup/page.tsx

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,6 @@ Follow these steps to set up Leap Wallet:
4141
4242
✨ **Get started with Leap Wallet** [Visit Leap Wallet's website](https://leapwallet.io) and follow the instructions to dive into the Persistence ecosystem.
4343
44-
45-
<Box
46-
as={Link}
47-
href="https://www.leapwallet.io/support/how-to-set-up-leap-wallet"
48-
isExternal
49-
display="block"
50-
mb={4}
51-
border="1px solid"
52-
borderColor={themeColors.borderColor}
53-
borderRadius="md"
54-
p={4}
55-
_hover={{
56-
borderColor: themeColors.accent.primary,
57-
bg: themeColors.sidebar.hover,
58-
textDecoration: 'none'}}
59-
transition="all 0.2s"
60-
>
61-
<HStack spacing={4} align="center">
62-
<Box
63-
boxSize="40px"
64-
borderRadius="md"
65-
bg={themeColors.accent.primary}
66-
display="flex"
67-
alignItems="center"
68-
justifyContent="center"
69-
flexShrink={0}
70-
>
71-
<Text color={themeColors.button.primaryTextColor} fontWeight="bold" fontSize="xl">L</Text>
72-
</Box>
73-
<Box flex="1">
74-
<Text fontWeight="medium" color={themeColors.text[700]} mb={1}>
75-
Leap Wallet Guide
76-
</Text>
77-
<Text fontSize="sm" color={themeColors.text[500]}>
78-
leapwallet.io
79-
</Text>
80-
</Box>
81-
<ChevronRightIcon color={themeColors.text[500]} boxSize={5} flexShrink={0} />
82-
</HStack>
83-
</Box>
8444
`
8545
const hideFirstHeading = true
8646
const pathname = usePathname()
@@ -104,6 +64,47 @@ Follow these steps to set up Leap Wallet:
10464

10565
<MarkdownContent content={content} hideFirstHeading={hideFirstHeading} />
10666

67+
<Box
68+
as={Link}
69+
href="https://www.leapwallet.io/support/how-to-set-up-leap-wallet"
70+
isExternal
71+
display="block"
72+
mb={4}
73+
border="1px solid"
74+
borderColor={themeColors.borderColor}
75+
borderRadius="md"
76+
p={4}
77+
_hover={{
78+
borderColor: themeColors.accent.primary,
79+
bg: themeColors.sidebar.hover,
80+
textDecoration: 'none'
81+
}}
82+
transition="all 0.2s"
83+
>
84+
<HStack spacing={4} align="center">
85+
<Box
86+
boxSize="40px"
87+
borderRadius="md"
88+
bg={themeColors.accent.primary}
89+
display="flex"
90+
alignItems="center"
91+
justifyContent="center"
92+
flexShrink={0}
93+
>
94+
<Text color={themeColors.button.primaryTextColor} fontWeight="bold" fontSize="xl">L</Text>
95+
</Box>
96+
<Box flex="1">
97+
<Text fontWeight="medium" color={themeColors.text[700]} mb={1}>
98+
Leap Wallet Guide
99+
</Text>
100+
<Text fontSize="sm" color={themeColors.text[500]}>
101+
leapwallet.io
102+
</Text>
103+
</Box>
104+
<ChevronRightIcon color={themeColors.text[500]} boxSize={5} flexShrink={0} />
105+
</HStack>
106+
</Box>
107+
107108
<PageNavigation />
108109
</Container>
109110
</Box>

app/products/bitcoin-cross-chain-swaps-v2/introduction/page.tsx

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,29 @@ Persistence One aims to become the primary gateway for cross-chain BTC swaps, fo
3939
4040
This comprehensive guide walks you through the process of performing cross-chain BTC swaps using the Persistence One testnet.
4141
42+
`
43+
const hideFirstHeading = true
44+
const pathname = usePathname()
45+
const [headings, setHeadings] = useState<HeadingItem[]>([])
46+
47+
useEffect(() => {
48+
const extracted = extractHeadings(content)
49+
setHeadings(extracted)
50+
}, [content])
4251

52+
53+
return (
54+
<Box display="flex" flex="1" overflow="hidden" flexDirection={{ base: "column", xl: "row" }}>
55+
<Box flex="1" bg={themeColors.body.bg} overflowY="auto" overflowX="hidden" data-scroll-container>
56+
<Container maxW="5xl" py={{ base: 4, md: 8 }} px={{ base: 4, md: 7 }}>
57+
{hideFirstHeading && (
58+
<Link as={NextLink} href={pathname} _hover={{ textDecoration: 'none' }}><ChakraHeading as="h1" size={{ base: "xl", md: "2xl" }} mb={4} color={themeColors.text[700]}>
59+
Introduction
60+
</ChakraHeading></Link>
61+
)}
62+
63+
<MarkdownContent content={content} hideFirstHeading={hideFirstHeading} />
64+
4365
<Box
4466
as={Link}
4567
href="https://blog.persistence.one/2024/11/15/how-to-use-the-persistence-one-btc-interoperability-testnet-for-cross-chain-btc-swaps-guide/"
@@ -53,7 +75,8 @@ This comprehensive guide walks you through the process of performing cross-chain
5375
_hover={{
5476
borderColor: themeColors.accent.primary,
5577
bg: themeColors.sidebar.hover,
56-
textDecoration: 'none'}}
78+
textDecoration: 'none'
79+
}}
5780
transition="all 0.2s"
5881
>
5982
<HStack spacing={4} align="center">
@@ -79,31 +102,6 @@ This comprehensive guide walks you through the process of performing cross-chain
79102
<ChevronRightIcon color={themeColors.text[500]} boxSize={5} flexShrink={0} />
80103
</HStack>
81104
</Box>
82-
83-
84-
85-
`
86-
const hideFirstHeading = true
87-
const pathname = usePathname()
88-
const [headings, setHeadings] = useState<HeadingItem[]>([])
89-
90-
useEffect(() => {
91-
const extracted = extractHeadings(content)
92-
setHeadings(extracted)
93-
}, [content])
94-
95-
96-
return (
97-
<Box display="flex" flex="1" overflow="hidden" flexDirection={{ base: "column", xl: "row" }}>
98-
<Box flex="1" bg={themeColors.body.bg} overflowY="auto" overflowX="hidden" data-scroll-container>
99-
<Container maxW="5xl" py={{ base: 4, md: 8 }} px={{ base: 4, md: 7 }}>
100-
{hideFirstHeading && (
101-
<Link as={NextLink} href={pathname} _hover={{ textDecoration: 'none' }}><ChakraHeading as="h1" size={{ base: "xl", md: "2xl" }} mb={4}>
102-
Introduction
103-
</ChakraHeading></Link>
104-
)}
105-
106-
<MarkdownContent content={content} hideFirstHeading={hideFirstHeading} />
107105

108106
<PageNavigation />
109107
</Container>

app/products/bitcoin-cross-chain-swaps-v2/traditional-bridges-vs.-intent-based-swaps/layout.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/products/bitcoin-cross-chain-swaps-v2/traditional-bridges-vs.-intent-based-swaps/page.tsx

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)