Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo authored and cor committed Jan 25, 2024
1 parent 7a774fd commit 3c73f6a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions site/src/components/graphs/AppleGraphContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<div class="grid grid-cols-1 gap-4">
<div class="flex flex-col items-center text-accent text-semibold">
<div class="text-4xl sm:text-6xl">60x</div>
<div class="text-2xl sm:text-3xl -mt-2">faster</div>
<div class="text-2xl sm:text-3xl text-gray-200 -mt-2">faster</div>
</div>
<div class="flex flex-col items-center text-accent-900 text-semibold">
<div class="text-4xl sm:text-6xl">150x</div>
<div class="text-2xl sm:text-3xl -mt-2">cheaper</div>
<div class="text-2xl sm:text-3xl text-gray-200 -mt-2">cheaper</div>
</div>
</div>
</div>
Expand Down
40 changes: 24 additions & 16 deletions site/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ publishedBlogPosts.reverse()
>
<div
id='code-snippets'
class='antialiased bg-[#050505] text-left font-monospace text-[15px] w-full sm:w-1/2'
class='antialiased bg-black text-left font-monospace text-[15px] w-full sm:w-1/2'
>
<Tabs>
{
Expand All @@ -121,9 +121,12 @@ publishedBlogPosts.reverse()
}
</Tabs>
</div>
<div class='flex flex-col gap-4 sm:p-8 p-4 sm:gap-8 items-center justify-center text-xl md:text-2xl font-normal text-gray-400 w-full sm:w-1/2'>
<div
class='antialiased bg-[#1f1f1f] hidden md:show md:h-px'
>
</div>
<div class='flex flex-col gap-4 sm:p-8 p-4 sm:gap-8 items-center justify-center text-xl md:text-2xl font-normal text-gray-400 w-full sm:w-1/2 md:border-b-2'>
<p><span class="text-white">Union</span> is the only interoperability layer that solves the <span class="text-white">sovereign bridging trilemma.</span></p>

<p><span class="text-accent">Trustless</span>: Union implements proper <span class="text-white">consensus-verification</span> and does not compromise on IBC's security guarantees.</p>
<p><span class="text-accent">Decentralized</span>: Through CometBLS' hyper-efficient prover, <span class="text-white">proofs can be generated by anyone</span> rather than relying on large institutions.</p>
<p><span class="text-accent">Permissionless</span>: Union's infrastructure allows for anyone to set up <span class="text-white">sovereign connections</span> to new networks.</p>
Expand Down Expand Up @@ -287,10 +290,10 @@ publishedBlogPosts.reverse()

<style lang="postcss" is:inline>

[data-line-numbers] {
/* display: none !important; */
}
ul[role='tablist'] {
[data-line-numbers] {
/* display: none !important; */
}
ul[role='tablist'] {
border-bottom-color: transparent;
font-family: monospace !important;
width: 100%;
Expand All @@ -299,27 +302,31 @@ ul[role='tablist'] {
}
}

li[role="presentation"]{
width: 100%;
}
ul[role='tablist'] > li:first-child > a {
border-left: none !important;
}

li[role="presentation"]{
width: 100%;
}

a[role='tab'] {
border-color: transparent !important;
border-color: transparent !important;
padding-bottom: 5px !important;
padding-top: 5px !important;
text-align: center;
width: 100% !important;
border-left: 2px solid #0f0f0f !important;
border-left: 1px solid #1f1f1f !important;
border-right: none !important;
}

a[role="tab"][tabIndex='-1'] {
padding-bottom: 5px !important;
border-bottom-color: #0f0f0f !important;
border-bottom: 1px solid #1f1f1f !important;
border-left: none !important;
/* border-right: 2px solid #1f1f1f !important; */
border-left: none !important;
/* border-right: 2px solid #0f0f0f !important; */
border-left: none !important;
border-left: 2px solid #0f0f0f !important;
border-left: 1px solid #1f1f1f !important;
}

a[role='tab']::before {
Expand All @@ -328,6 +335,7 @@ border-left: none !important;
height: 7px;
filter: invert(1);
}

.main-text {
max-width: 72rem;
font-size: 26px;
Expand Down

0 comments on commit 3c73f6a

Please sign in to comment.