This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 656
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sebastian McKenzie
committed
May 4, 2021
1 parent
37f7557
commit 3684eae
Showing
27 changed files
with
1,754 additions
and
258 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,7 @@ | ||
<div class="color-scheme-switch-container"> | ||
<button aria-label="Toggle theme" title="Toggle theme" role="switch" aria-checked="true" class="color-scheme-switch"> | ||
<div class="selector"></div> | ||
{% include svg/moon.svg %} | ||
{% include svg/sun.svg %} | ||
</button> | ||
</div> |
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 |
---|---|---|
|
@@ -21,125 +21,5 @@ layout: layouts/base.liquid | |
{{ content | safe }} | ||
</main> | ||
|
||
<div class="modal-container funding-modal" hidden> | ||
<div class="modal-inner"> | ||
<div class="modal content"> | ||
<div class="modal-close"></div> | ||
|
||
<ul class="form-steps"> | ||
<li class="complete">Select your tier</li> | ||
<li class="details">Details</li> | ||
<li class="review">Review</li> | ||
<li>Checkout via Stripe</li> | ||
</ul> | ||
|
||
<form class="details"> | ||
<h2>Contact details</h2> | ||
|
||
<p>Used to receive order updates and surveys. <a href="#what-is-my-email-used-for">What is my email used for?</a></p> | ||
|
||
<div class="form-row"> | ||
<label for="email">Email (required)</label> | ||
<div class="form-row-input"> | ||
<input name="email" type="email" placeholder="eg. [email protected]" required> | ||
</div> | ||
</div> | ||
|
||
<h2>Reward details</h2> | ||
|
||
<p>Accounts for tier reward allocation. <a href="#why-do-you-need-my-usernames">Why do you need my usernames?</a></p> | ||
|
||
<div class="form-row"> | ||
<label for="twitter">Twitter username</label> | ||
<div class="form-row-input"> | ||
<input name="twitter" type="text" placeholder="eg. @rometools"> | ||
</div> | ||
</div> | ||
|
||
<div class="form-row"> | ||
<label for="github">GitHub username</label> | ||
<div class="form-row-input"> | ||
<input name="github" type="text" placeholder="eg. @sebmck"> | ||
</div> | ||
</div> | ||
|
||
<div class="form-row"> | ||
<label for="discord">Discord username</label> | ||
<div class="form-row-input"> | ||
<input name="discord" type="text" placeholder="eg. sebmck#6578"> | ||
</div> | ||
</div> | ||
|
||
<h2>Contribution details</h2> | ||
|
||
<div class="form-row"> | ||
<label for="public">Make public?</label> | ||
<div class="form-row-input"> | ||
<div> | ||
<input name="public" type="checkbox" checked> | ||
</div> | ||
<div class="hint">Would you like to include your contribution in "recent contributions"?</div> | ||
</div> | ||
</div> | ||
|
||
<div class="form-row public-hide"> | ||
<label for="public-name">Display name (optional)</label> | ||
<div class="form-row-input"> | ||
<input name="public-name" type="text" maxlength="100" placeholder="Display name to attribute your contribution to"> | ||
</div> | ||
</div> | ||
|
||
<div class="form-row public-hide"> | ||
<label for="public">Comment (optional)</label> | ||
<div class="form-row-input"> | ||
<textarea name="public-comment" maxlength="500" placeholder="Add a comment that will appear alongside your contribution"></textarea> | ||
</div> | ||
</div> | ||
|
||
<hr> | ||
|
||
<div class="form-row"> | ||
<div class="form-row-input"> | ||
<input type="submit" value="Continue"> | ||
</div> | ||
</div> | ||
</form> | ||
|
||
<form class="review"> | ||
<p>Prices are in USD and include sales tax and international shipping. <a href="#what-do-tier-prices-include">What do tier prices include?</a></p> | ||
|
||
<h2>Selected tier</h2> | ||
|
||
<h2 class="summary-heading">Summary</h2> | ||
|
||
<div class="form-row"> | ||
<label for="public">Additional donation</label> | ||
<div class="form-row-input"> | ||
<ul class="button-group add-donation-buttons"></ul> | ||
<div class="currency-input add-donation-container" hidden> | ||
<input name="add-donation" type="number" min="0" placeholder="0" step="any"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="form-row"> | ||
<label>Total</label> | ||
<div class="form-row-input"> | ||
<span class="checkout-total"></span> | ||
</div> | ||
</div> | ||
|
||
<hr> | ||
|
||
<div class="form-row"> | ||
<div class="form-row-input"> | ||
<input class="stripe-checkout primary" type="submit" value="Checkout via Stripe"> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% capture script %}{% include scripts/funding.js %}{% endcapture %} | ||
<script>{{ script | jsmin | safe }}</script> | ||
<script>{{ script | jsmin | safe }}</script> |
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,55 @@ | ||
--- | ||
simple-sidebar: true | ||
social-image: social-logo-universe.png | ||
layout: layouts/base.liquid | ||
no-sidebar: true | ||
body-class: inc force-light | ||
--- | ||
|
||
<div id="inc-color-scheme"> | ||
{% include color-scheme-switcher %} | ||
</div> | ||
|
||
<div class="inc-bg"></div> | ||
|
||
<div class="inc-bg-padding" aria-hidden="true"> | ||
<a href="/">Rome</a> | ||
</div> | ||
|
||
<div class="hero hero-inc"> | ||
<h1>Announcing Rome Tools, Inc.</h1> | ||
</div> | ||
|
||
<main id="main-content" class="content single inc"> | ||
{{ content | safe }} | ||
</main> | ||
|
||
<script> | ||
(function() { | ||
const bg = document.querySelector(".inc-bg"); | ||
let lastTop = undefined; | ||
let disabled; | ||
document.addEventListener("scroll", (e) => { | ||
if (disabled === undefined) { | ||
disabled = matchMedia("(max-width: 768px)").matches || matchMedia("(prefers-reduced-motion)").matches; | ||
} | ||
if (disabled) { | ||
return; | ||
} | ||
if (document.scrollingElement.scrollTop > 450) { | ||
return; | ||
} | ||
const top = document.scrollingElement.scrollTop / 2; | ||
if (lastTop === top) { | ||
return; | ||
} | ||
lastTop = top; | ||
bg.style.transform = `translateY(${top}px)`; | ||
}); | ||
})(); | ||
</script> |
Oops, something went wrong.