refactor(episode): define reusable episode atoms to prepare for up-next #22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request, a symphony of deconstruction and reconstruction, refines the episode components within the client project, enhancing their modularity and maintainability. Witness the elegant transformation of code into a harmonious ensemble.
Component Refactoring:
Episode
component, once a sprawling mansion of code, has been carefully dismantled and reborn as a collection of smaller, more manageable dwellings. Its styles, once entangled in a web of dependencies, have been liberated and refined.EpisodeCard.svelte
component emerges, providing a sturdy foundation for the episode's presentation.EpisodeCover.svelte
component, adorned with tags and imagery, captures the essence of the episode's visual identity.EpisodeFooter.svelte
component, a repository of essential details, completes the episode's presentation with concise clarity.Tag Components:
EpisodeFinaleTag.svelte
component, a herald of endings, marks the culmination of a narrative arc.EpisodePremiereTag.svelte
component, a beacon of beginnings, announces the dawn of a new chapter.EpisodeTimeTag.svelte
component, a chronometer of the ephemeral, captures the fleeting nature of time within the episode's context.EpisodeTagContent.svelte
component, a versatile vessel, provides a common structure for the diverse array of tags.Upcoming Episodes:
UpcomingEpisode.svelte
component, a harbinger of anticipation, presents episodes yet to unfold, utilizing the newly forged card, cover, and tag components.UpcomingSchedule.svelte
component, a chronicle of future events, has been updated to embrace theUpcomingEpisode
component, discarding the remnants of the bygoneEpisode
component.Style Updates:
app.css
grimoire has been inscribed with a temporary.ellipsis
incantation, a spell to tame unruly text and maintain visual harmony.Minor Adjustments:
AuthGuard.svelte
component, a vigilant guardian, has undergone a simplification of itsAuthGuardProps
type definition, streamlining its form and function.This meticulous refactoring, a testament to the pursuit of elegance and efficiency, paves the way for a more maintainable and adaptable codebase. The episode components, now liberated from their monolithic constraints, stand ready to face the future with renewed vigor and versatility.