Skip to content

Commit

Permalink
New build
Browse files Browse the repository at this point in the history
  • Loading branch information
joelface committed Aug 12, 2024
0 parents commit a665803
Show file tree
Hide file tree
Showing 15 changed files with 812 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
quote_type = single
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
tsconfig.tsbuildinfo
.*
30 changes: 30 additions & 0 deletions autoloader.user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// ==UserScript==
// @name BG1 Autoloader
// @namespace https://joelface.github.io/bg1/
// @version 0.3
// @description Automatically loads the BG1 interface
// @author Joel Bruick
// @match https://joelface.github.io/bg1/start.html
// @match https://disneyworld.disney.go.com/vas/
// @match https://disneyworld.disney.go.com/*/vas/
// @match https://disneyland.disney.go.com/vas/
// @match https://disneyland.disney.go.com/*/vas/
// @match https://vqguest-svc-wdw.wdprapps.disney.com/application/v1/guest/getQueues
// @match https://vqguest-svc.wdprapps.disney.com/application/v1/guest/getQueues
// @grant none
// ==/UserScript==
'use strict';

const bg1Url = 'https://joelface.github.io/bg1/';
if (window.location.href === bg1Url + 'start.html') {
document.body.classList.add('autoload');
} else {
document.open();
document.write(
`<!doctype html><link rel=stylesheet href="${bg1Url}bg1.css"><body>`
);
const script = document.createElement('script');
script.type = 'module';
script.src = bg1Url + 'bg1.js';
document.head.appendChild(script);
}
1 change: 1 addition & 0 deletions bg1.css

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions bg1.js

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions contact.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<!doctype html>
<html lang="en-US">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About BG1</title>
<link rel="icon" href="icon.png">
<link rel="apple-touch-icon" href="icon.png">
<link rel="stylesheet" href="index.css">
<style>
.plsnospam:after {
content: attr(data-a1) attr(data-a2);
}
</style>

<header>
<h1><img src="icon.png" alt=""> About BG1</h1>
</header>

<main>
<p>Hi, I'm Joel! I've been a Disney theme park fan since my very first trip to Walt Disney World as a kid.</p>

<p>I created BG1 after reading endless complaints online from people who lost out on a chance to ride the groundbreaking new Rise of the Resistance attraction because of <a href="https://forums.wdwmagic.com/threads/star-wars-rise-of-the-resistance-opening-reports-and-using-boarding-groups-at-disneys-hollywood-studios.962202/post-9099618">seemingly random technical issues with Disney's app</a>. Many of the enhancements introduced by BG1 were later implemented in the official app, creating a less frustrating experience for the millions of guests who visit Disney's parks every year.</p>

<p>Since then, I've updated BG1 to help guests get the most out of the Genie+ service, with a more user-friendly, streamlined interface for finding and booking the best Lightning Lanes.</p>

<h2 id="donate">Show Your Support</h2>

<p>If my work has helped make your Disney vacation extra magical, I would greatly appreciate your support using either <b>PayPal</b> (no account required) or <b>Venmo (@joelbruick)</b>. Thanks in advance for your generosity!</p>

<div class="buttons"><a href="https://www.paypal.com/donate/?hosted_button_id=H8532XA99VVTA" class="button">Donate via PayPal</a></div>

<h2 id="contact">Contact Me</h2>

<p>If you'd like to get in touch, feel free to email me:</p>

<div class="buttons"><button type="button" data-a1="joel&#x40;joel" data-a2="face&#x2e;com" onclick="location.href = 'mailto:' + this.dataset.a1 + this.dataset.a2" class="plsnospam"></button></div>
</main>

<footer>
<ul>
<li><a href=".">Setup</a></li>
<li><a href="start.html">BG1 Start</a></li>
<li><a href="https://github.com/joelface/bg1">GitHub</a></li>
</ul>
</footer>
22 changes: 22 additions & 0 deletions diu.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dlr.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions googled2b01c0baf4461ef.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: googled2b01c0baf4461ef.html
Binary file added icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
199 changes: 199 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
:root {
--blue: #5271ff;
--light-blue: #d9e0ff;
--white: #f8f8f8;
}

* {
box-sizing: border-box;
}

html {
height: 100%;
font: 62.5%/1.5 -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
background: var(--white);
color: #000;
}

body {
display: flex;
flex-direction: column;
max-width: 75rem;
height: 100%;
margin: 0 auto;
padding: 0 1.2rem;
font-size: 1.7rem;
}

h1,
h2,
h3,
h4 {
font-weight: 600;
line-height: 1.3;
}

h1 {
margin: 0;
font-size: 2.2rem;
}

h2 {
font-size: 2rem;
}

h3 {
font-size: 1.7rem;
}

h4 {
font-size: 1.6rem;
}

p {
margin: 1em 0;
}

ol,
ul {
padding-left: 1.5em;
}

li + li {
margin-top: .5em;
}

dt {
margin-top: 1em;
font-weight: 600;
}

dd {
margin-left: .8em;
}

a {
color: var(--blue);
font-weight: 600;
}

button,
.button,
.buttons a {
display: inline-block;
min-width: 25rem;
margin: 0;
border: 0;
border-radius: 8px;
padding: .7em 1em;
background: var(--blue);
color: #fff;
font: inherit;
font-weight: 600;
text-decoration: none;
cursor: pointer;
}

input[type='checkbox'] {
width: 20px;
height: 20px;
}

label > * {
vertical-align: middle;
}

code {
padding: 1px 2px;
font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
background: #e8e8e8;
}

b,
kbd {
font-family: inherit;
font-weight: 600;
}

header,
footer {
margin: 0 -1.2rem;
background: var(--blue);
color: var(--white);
}

header {
padding: .5rem 1rem;
}

header,
header h1 {
display: flex;
align-items: center;
column-gap: .4em;
}

header img {
height: 2em;
}

footer {
padding: 1em .5em;
}

footer ul {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: .3em 1.5em;
margin: 0;
padding-left: 0;
}

footer li {
list-style: none;
margin-top: 0;
white-space: nowrap;
}

footer a {
color: white;
}

main {
flex: 1;
padding-bottom: 1em;
}

strong {
text-transform: uppercase;
}

.buttons {
list-style: none;
margin: 1.5em 0;
padding: 0;
text-align: center;
}

.buttons li {
margin-top: 1em;
}

.warning {
margin: .8em 0;
padding: .01em 1em;
background: #dc2626;
color: #f8f8f8;
font-weight: 600;
}

.warning a {
color: #f8f8f8;
}

.notice {
margin: .8em 0;
padding: .01em 1em;
background: var(--light-blue);
}
Loading

0 comments on commit a665803

Please sign in to comment.