-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebuilt using alpinejs and removed unneccesary code to keep app smaller
- Loading branch information
michaelsboost
committed
Jul 12, 2024
1 parent
172e787
commit 6dd42e9
Showing
114 changed files
with
42,039 additions
and
18,080 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,91 +1,60 @@ | ||
<!-- | ||
Version: 0.0.1 | ||
Character Party, copyright (c) by Michael Schwartz and others | ||
Distributed under an MIT license: https://github.com/michaelsboost/Character-Party/blob/gh-pages/LICENSE | ||
This is Character Party (https://michaelsboost.github.io/Character-Party/), Created for those that need an idea for a character to make | ||
--> | ||
|
||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Character Party</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="initial-scale=1.0"> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, interactive-widget=resizes-content"> | ||
<meta name="description" content="Character Party was created for those that need an idea for a character to make."> | ||
<meta name="author" content="Michael Schwartz"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=9" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png"> | ||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png"> | ||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png"> | ||
<link rel="manifest" href="site.webmanifest"> | ||
<link rel="stylesheet" href="libraries/polyui/polyui.css"> | ||
<link rel="stylesheet" href="libraries/font-awesome/font-awesome.css"> | ||
<link rel="stylesheet" href="libraries/animateCSS/animate.min.css"> | ||
<link rel="stylesheet" href="css/polyrise.css"> | ||
<link rel="stylesheet" href="css/style.css"> | ||
<meta property="og:url" content="https://michaelsboost.com/characterparty" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="Character Party" /> | ||
<meta name="mobile-web-app-capable" content="yes"> | ||
<meta name="application-name" content="Character Party"> | ||
<meta name="theme-color" content="#13171f"> | ||
<meta name="apple-mobile-web-app-title" content="Character Party"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> | ||
<meta name="msapplication-starturl" content="./index.html"> | ||
<meta name="msapplication-navbutton-color" content="#13171f"> | ||
<meta property="og:url" content="https://michaelsboost.com/Character-Party" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="Character Party" /> | ||
<meta property="og:description" content="Character Party was created for those that need an idea for a character to make." /> | ||
<meta property="og:image" content="https://raw.githubusercontent.com/michaelsboost/Character-Party/gh-pages/screenshot.png" /> | ||
<meta property="og:image" content="https://raw.githubusercontent.com/michaelsboost/Character-Party/gh-pages/imgs/screenshot.png" /> | ||
<link rel="manifest" href="manifest.json"> | ||
<link rel="shortcut icon" type="image/x-icon" href="imgs/logo.svg"> | ||
<link rel="icon" type="image/svg+xml" href="imgs/logo.svg" /> | ||
<link rel="apple-touch-icon" href="imgs/logo.svg"> | ||
<link rel="stylesheet" href="dist/style.css"> | ||
</head> | ||
<body> | ||
<!-- backgrounds --> | ||
<div class="whitefill" style="display: none;"></div> | ||
<div class="bg-image"></div> | ||
|
||
<!-- play music --> | ||
<a id="music" class="animated slideInDown delay-2s whitetxt fr"> | ||
<i id="musicIcon" class="fa fa-volume-off"></i> | ||
<audio id="bgMusic" class="hide" src="https://michaelsboost.com/Character-Party/media/music.mp3" controls preload loop></audio> | ||
</a> | ||
|
||
<!-- display area --> | ||
<div id="grablog" class="header table bg-overlay3"> | ||
<div class="cell tc"> | ||
<div class="grid"> | ||
<div class="grid__col--12 nomar"> | ||
<div class="panel--centered centered grid__col--12"> | ||
<h1 id="character">Character Party Generator</h1><br> | ||
<h2 id="scenario"> | ||
<div class="tc"> | ||
Sorry for the error. <a class="whitetxt" href="javascript:location.reload(true)"><u>Please refresh</u></a>. | ||
</div> | ||
</h2> | ||
|
||
<div id="btnArea" style="margin-bottom: 4em;" data-html2canvas-ignore="true"> | ||
<a id="generate" class="btn--success bounceInUp bounceInUp3s"> | ||
<i class="fa fa-refresh" style="transform: scale(2);"></i> | ||
</a> | ||
<a class="btn--borderwhite bounceInUp bounceInUp3s" href="https://github.com/michaelsboost/Character-Party" target="_blank"> | ||
CONTRIBUTE | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="grid__col--12 tc whitetxt"> | ||
<div id="author"> | ||
Made with <span class="fa fa-heart" style="color: #f66;"></span> and <span class="fa fa-coffee" style="color: #D0C4A7;"></span> by <a class="whitetxt" href="http://michaelsboost.github.io/" target="_blank"><u>Michael</u></a> & others. | ||
</div> | ||
</div> | ||
<body class="absolute inset-0"> | ||
<main x-data="App()" x-init="generate()" class="h-full text-white text-center grid grid-cols-1 gap-2 items-center font-thin"> | ||
<div class="absolute inset-0 bg-gradient-to-r from-emerald-700 to-cyan-700"></div> | ||
<div class="relative m-auto container"> | ||
<header> | ||
<hgroup class="m-4 capitalize"> | ||
<h1 class="text-4xl mb-4" x-html="output.name"></h1> | ||
<h2 class="text-xl"> | ||
<div class="mb-2">Category: <span x-html="output.category"></span></div> | ||
<div><span x-html="output.profession"></span></div> | ||
</h2> | ||
</hgroup> | ||
</header> | ||
<div class="mb-4"> | ||
<button | ||
class="rounded-md border border-solid border-green-500 bg-green-500 py-[.85rem] px-12 mr-4" | ||
@click="generate()"> | ||
<span x-html="icons.share"></span> | ||
</button> | ||
<a class="uppercase rounded-md border border-solid border-blue-500 bg-blue-500 p-[1rem]" href="https://github.com/michaelsboost/Character-Party" target="_blank"> | ||
contribute | ||
</a> | ||
</div> | ||
<footer> | ||
Made with <i x-html="icons.heart" class="mx-1 relative -top-[.1rem] text-red-400"></i> by <a href="https://michaelsboost.com/" target="_blank" class="border-0 border-b border-solid pb-1">Michael Schwartz</a> | ||
</footer> | ||
</div> | ||
</div> | ||
|
||
<!-- download result --> | ||
<a id="download" class="animated slideInUp delay-2s whitetxt"> | ||
<i class="fa fa-camera"></i> | ||
</a> | ||
|
||
<script src="libraries/filesaver/Blob.js"></script> | ||
<script src="libraries/filesaver/FileSaver.js"></script> | ||
<script src="libraries/html2canvas/html2canvas.js"></script> | ||
<script src="libraries/jquery/jquery.js"></script> | ||
<script src="js/polyrise.js"></script> | ||
<script src="js/detecthttp.js"></script> | ||
<script src="js/script.js"></script> | ||
|
||
<script src="libraries/alpinejs/alpinejs.js" defer></script> | ||
<script src="App.js"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.