-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from bzr-sys/tweaks
Add some visual touches to the home page, and tidy a few other small items
- Loading branch information
Showing
9 changed files
with
66 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,32 @@ | ||
<div class="hero"> | ||
<div class="hero-overlay"></div> | ||
<div class="hero-content py-28 text-center text-neutral-content"> | ||
--- | ||
import poweredByBazaar from "../images/powered-by-bazaar.png"; | ||
--- | ||
|
||
<div | ||
class="hero-bg hero relative" | ||
style={`background-image: url(${poweredByBazaar.src})`} | ||
> | ||
<div class="hero-content pb-40 pt-28 text-center text-neutral-content"> | ||
<div class="max-w-md"> | ||
<h1 class="mb-5 text-5xl font-bold">Build With Ease, Run Cost-Free</h1> | ||
<p class="mb-5"> | ||
Bring your apps to life with zero running-costs. Bazaar provides | ||
authentication, document-orientated databases with realtime | ||
capabilities, a powerful Sharing API, and more. | ||
capabilities, a powerful permissions API, and more. | ||
</p> | ||
<a href="/docs/start-here/getting-started/" class="btn btn-primary" | ||
>Get Started</a | ||
> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<style> | ||
.hero-bg { | ||
background: no-repeat bottom center; | ||
background-size: 100%; | ||
} | ||
|
||
@media (min-width: 853px) { | ||
.hero-bg { | ||
background-size: auto; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
interface Props { | ||
/** Set a width with any unit. e.g. 100px or 2rem */ | ||
width: string; | ||
} | ||
const { width } = Astro.props; | ||
--- | ||
|
||
<svg | ||
style={`width: ${width}`} | ||
xmlns="http://www.w3.org/2000/svg" | ||
viewBox="0 0 525 525" | ||
aria-hidden="true" | ||
> | ||
<path | ||
fill="transparent" | ||
stroke="#414551" | ||
stroke-width="3" | ||
d="M434.890,397.655 L260.977,397.655 L260.977,226.829 C260.977,212.972 249.744,201.738 235.887,201.738 L211.783,201.738 L211.783,149.596 C211.783,136.574 222.340,126.017 235.363,126.017 L434.890,126.017 C447.913,126.017 458.470,136.574 458.470,149.596 L458.470,374.076 C458.470,387.098 447.913,397.655 434.890,397.655 Z" | ||
></path> | ||
<path | ||
fill="transparent" | ||
stroke="#414551" | ||
stroke-width="3" | ||
d="M211.783,397.655 L90.151,397.655 C76.294,397.655 65.061,386.421 65.061,372.564 L65.061,226.829 C65.061,212.972 76.294,201.738 90.151,201.738 L211.783,201.738 L211.783,397.655 Z" | ||
></path> | ||
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters