@@ -5,56 +5,76 @@ import { h } from "../deps.ts";
55 */
66export default function Hero ( { title, subtitle, children } ) {
77 // Default values
8- title = title || "Safe and compliant real-world transactions on any public blockchain" ;
9- subtitle = subtitle || "Crypto's first private decentralized payment messaging protocol for VASPs financial institutions, DeFi, and Self-hosted wallets" ;
8+ title =
9+ title ||
10+ "Safe and compliant real-world transactions on any public blockchain" ;
11+ subtitle =
12+ subtitle ||
13+ "Crypto's first private decentralized payment messaging protocol for VASPs financial institutions, DeFi, and Self-hosted wallets" ;
1014 children = children || null ;
11-
15+
1216 return (
1317 < div class = "py-8 sm:py-16" >
1418 < div class = "relative isolate" >
1519 < div
1620 class = "absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80"
1721 aria-hidden = "true"
1822 >
19- < div
20- class = "relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-primary-foreground opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]"
21- />
23+ < div class = "relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-primary to-primary-foreground opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" />
2224 </ div >
23-
25+
2426 < div class = "mx-auto max-w-2xl py-8 sm:py-12 lg:py-14" >
2527 < div class = "text-center" >
2628 < h1 class = "text-4xl font-bold tracking-tight font-heading text-text-primary sm:text-6xl" >
2729 { title }
2830 </ h1 >
29- < p class = "mt-6 text-lg leading-8 text-text-muted" >
30- { subtitle }
31- </ p >
31+ < p class = "mt-6 text-lg leading-8 text-text-muted" > { subtitle } </ p >
3232 < div class = "mt-8 flex items-center justify-center gap-x-6" >
33- < a href = "https://docs.google.com/document/d/1z16nPRjiCFGsnMqr7GiBRMCMMPBG6laaS337s4oJrEw/edit#heading=h.qhpcmvla2cvr#" class = "btn-secondary" >
34- Read the TAP Whitepaper < span aria-hidden = "true" class = "ml-1" > →</ span >
33+ < a href = "https://hubs.ly/Q03BPp1k0" class = "btn-secondary" >
34+ Read the TAP Whitepaper{ " " }
35+ < span aria-hidden = "true" class = "ml-1" >
36+ →
37+ </ span >
3538 </ a >
3639 < a href = "https://taips.tap.rsvp" class = "btn-secondary" >
37- Read the standards < span aria-hidden = "true" class = "ml-1" > →</ span >
40+ Read the standards{ " " }
41+ < span aria-hidden = "true" class = "ml-1" >
42+ →
43+ </ span >
3844 </ a >
3945 </ div >
40-
46+
4147 < div class = "mt-8 px-12 text-sm bg-secondary text-secondary-foreground py-4 rounded-lg" >
42- < div class = "font-bold text-md text-center mb-2 font-heading" > Ready to build with TAP?</ div >
48+ < div class = "font-bold text-md text-center mb-2 font-heading" >
49+ Ready to build with TAP?
50+ </ div >
4351 < p >
44- Join the < a href = "https://t.me/+ciHTo8DedQY2ZDU5" class = "text-primary hover:underline" > Telegram group</ a > to connect with the development community. Or check out the < a href = "https://github.com/TransactionAuthorizationProtocol/protocol" class = "text-primary hover:underline" > protocol repo</ a > to get started.
52+ Join the{ " " }
53+ < a
54+ href = "https://t.me/+ciHTo8DedQY2ZDU5"
55+ class = "text-primary hover:underline"
56+ >
57+ Telegram group
58+ </ a > { " " }
59+ to connect with the development community. Or check out the{ " " }
60+ < a
61+ href = "https://github.com/TransactionAuthorizationProtocol/protocol"
62+ class = "text-primary hover:underline"
63+ >
64+ protocol repo
65+ </ a > { " " }
66+ to get started.
4567 </ p >
4668 </ div >
4769 { children }
4870 </ div >
4971 </ div >
50-
72+
5173 < div
5274 class = "absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]"
5375 aria-hidden = "true"
5476 >
55- < div
56- class = "relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-primary to-primary-foreground opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]"
57- />
77+ < div class = "relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-primary to-primary-foreground opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]" />
5878 </ div >
5979 </ div >
6080 </ div >
0 commit comments