-
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.
- Loading branch information
michaelsboost
committed
Feb 16, 2025
1 parent
2460469
commit af206c2
Showing
22 changed files
with
214 additions
and
134 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,20 +18,19 @@ | |
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="Character Party" /> | ||
<meta property="og:description" content="Character Party is a tool for generating unique character ideas by combining various moods, job titles, and categories. Explore endless combinations and discover inspiration for your next creative project!" /> | ||
<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/bundle.css"> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Grandstander:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="dist/bundle.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/mithril.min.js"></script> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/mithril.min.js"></script> | ||
<script src="dist/script.js" type="module"></script> | ||
<script src="https://storage.googleapis.com/workbox-cdn/releases/6.4.1/workbox-sw.js"></script> | ||
<script> | ||
|
Large diffs are not rendered by default.
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
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,12 +1,12 @@ | ||
module.exports = { | ||
plugins: [ | ||
require('postcss-import'), | ||
require('tailwindcss'), | ||
require('autoprefixer'), | ||
require('tailwindcss'), | ||
require('cssnano')({ | ||
preset: ['default', { | ||
discardComments: { removeAll: true }, // Remove all comments | ||
}], | ||
}), | ||
], | ||
}; | ||
}; |
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 |
---|---|---|
|
@@ -8,6 +8,8 @@ export default { | |
name: 'characterparty' | ||
}, | ||
plugins: [ | ||
|
||
|
||
terser() // minifies the JavaScript | ||
] | ||
}; |
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,59 +1 @@ | ||
<main class="absolute inset-0 text-black text-center grid grid-cols-1 gap-2 items-center font-thin"> | ||
<div class="background"> | ||
<!-- Background Elements --> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
</div> | ||
<div class="relative m-auto container"> | ||
<header> | ||
<hgroup class="m-4 capitalize"> | ||
<h1 class="text-5xl mb-4" id="nameTarget"></h1> | ||
<h2 class="text-xl"> | ||
<div class="my-3">Category: <span id="categoryTarget"></span></div> | ||
<div id="professionTarget"></div> | ||
</h2> | ||
</hgroup> | ||
</header> | ||
<div class="flex mb-4"> | ||
<div class="flex items-center gap-4 m-auto"> | ||
<button | ||
aria-label="generate a character idea" | ||
name="generate a character idea" | ||
class="rounded-md text-white border border-solid border-[#27b159] bg-[#27b159] py-[1.15rem] px-12" | ||
onclick="generate()"> | ||
<svg class="h-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | ||
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 13.5A7.5 7.5 0 1 1 11.5 6H20m0 0l-3-3m3 3l-3 3"></path> | ||
</svg> | ||
</button> | ||
<a class="uppercase rounded-md text-white border border-solid border-[#306ed3] bg-[#306ed3] p-[1rem]" href="https://github.com/michaelsboost/Character-Party" target="_blank"> | ||
Contribute | ||
</a> | ||
</div> | ||
</div> | ||
<footer> | ||
Made with | ||
<svg class="inline-block h-5 mx-1 text-red-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> | ||
<path fill="currentColor" d="M6.979 3.074a6 6 0 0 1 4.988 1.425l.037.033l.034-.03a6 6 0 0 1 4.733-1.44l.246.036a6 6 0 0 1 3.364 10.008l-.18.185l-.048.041l-7.45 7.379a1 1 0 0 1-1.313.082l-.094-.082l-7.493-7.422A6 6 0 0 1 6.979 3.074"/> | ||
</svg> | ||
by <a href="https://michaelsboost.com/" target="_blank" class="border-0 border-b border-solid border-black pb-1">Michael Schwartz</a> | ||
</footer> | ||
</div> | ||
</main> | ||
<div id="root"></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
Oops, something went wrong.