-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Refactor authentication module, update installation instruc…
…tions
- Loading branch information
Showing
13 changed files
with
178 additions
and
90 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,11 +1,9 @@ | ||
// ======================================== | ||
// Authentication and channel - Required | ||
// Before you start modifying these settings, | ||
// get your oauth token from https://twitchapps.com/tmi | ||
// oAuth access token and channel info - Required | ||
// ======================================== | ||
/** @type {AuthConfig} */ | ||
const _authConfig = { | ||
twitch_oauth: "OAUTHTOKEN", // Replace OAUTHTOKEN with your Twitch oauth token | ||
twitch_channel: "CHANNEL", // Replace CHANNEL with a Twitch channel name | ||
twitch_username: "USERNAME", // Replace USERNAME with your Twitch username | ||
}; | ||
twitch_oauth: "OAUTHTOKEN", | ||
twitch_channel: "CHANNEL", | ||
twitch_username: "USERNAME", | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,9 @@ | ||
export function openModal() { | ||
document.getElementById("modal").classList.remove("hidden"); | ||
document.getElementById("modal").classList.add("flex"); | ||
} | ||
|
||
export function closeModal() { | ||
document.getElementById("modal").classList.remove("flex"); | ||
document.getElementById("modal").classList.add("hidden"); | ||
} |
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,3 +1,4 @@ | ||
@import url("./variables.css"); | ||
@import url("./utility.css"); | ||
@import url("./modal.css"); | ||
@import url("./app.css"); |
Oops, something went wrong.