Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single page application #63

Merged
merged 15 commits into from
Jan 23, 2024
Merged

Single page application #63

merged 15 commits into from
Jan 23, 2024

Conversation

tdameros
Copy link
Owner

The purpose of this pull request is to remove the old component system and introduce the new single page application.

@tdameros tdameros self-assigned this Jan 21, 2024
@tdameros tdameros linked an issue Jan 21, 2024 that may be closed by this pull request

--------------------------------------------------------------------------------

# Redefined Methods
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe change to "Methods to redefine when implemnting" or smth like that


## style

Returns the CSS content to be rendered inside the component.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returns the CSS content to be rendered inside the component. -> Returns the specific CSS content to be rendered inside the component.

Copy link
Collaborator

@EthanDelage EthanDelage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very good documentation, makes it easy to review the PR.

let cookies = document.cookie.split(';');
for (let i = 0; i < cookies.length; i++) {
let c = cookies[i].trim();
if (c.indexOf(name) === 0) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing important, but consider using c.startsWith(name) as it will avoid iterating through the whole string for no reason

@tdameros tdameros merged commit bc8295f into main Jan 23, 2024
3 checks passed
@tdameros tdameros deleted the single-page-application branch January 23, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix dark mode
4 participants