Skip to content

Commit

Permalink
Merge branch 'main' into news-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhluongo authored Aug 23, 2024
2 parents a62b251 + b169a32 commit d61c318
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
14 changes: 11 additions & 3 deletions src/css/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,30 @@
display: flex;
padding: 0;
align-items: center;
flex-direction: column;
justify-content: center;
gap: 20px;

flex-direction: row;

li {
display: flex-item;
list-style: none;
margin: var(--baseline-grid-height) 0;
}

a:first-child {
@extend %black-button-link;
a {
@extend %button-link;
margin-top: 0;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
}

li:first-child a {
@extend %black-button-link;
margin-top: 0;
}

@media (min-width: #{$bp-small}) {
a {
min-width: 342px;
Expand Down
2 changes: 1 addition & 1 deletion src/header/announcement.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
template: announcement
title: Stakedrop Announcement
---
tBTC is live! Join the Discord to get involved. [Here](https://discord.com/invite/threshold?ref=tbtc.network)

11 changes: 7 additions & 4 deletions src/pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ path: /
title: Home
hero:
buttons:
- text: Start Minting
- text: Deposit BTC
url: https://dapp.tbtc.network/
subtitle: Deposit and redeem BTC in DeFi without intermediaries.
title: The safe way to earn with your Bitcoin.
- text: Explore
url: https://tbtcscan.com/
type: secondary
title: Bitcoin, everywhere.
subtitle: Deposit and use BTC across DeFi without intermediaries.
image:
alt: Mint using the tBTC dApp
image: /img/dapp.svg
Expand Down Expand Up @@ -39,7 +42,7 @@ spotlight_2:
alt: Integrate tBTC icon
image: /img/spotlight-2-bg.png
label: For Developers
title: Integrate tBTC to add Bitcoin to your dApp
title: Build your app and chain on Bitcoin with tBTC
integrations_section:
title: Integrations
---
2 changes: 1 addition & 1 deletion src/templates/home-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const HomePageTemplate = ({
<ul className="quick-links">
{hero.buttons &&
hero.buttons.map((button, i) => (
<li key={`hero-button-${i}`}>
<li key={`hero-button-${i}`} className={button.type}>
<Link to={button.url}>{button.text}</Link>
</li>
))}
Expand Down

0 comments on commit d61c318

Please sign in to comment.