-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve button styling and container structure
- Update container to use Coursera's classes and attributes - Refine button styling with correct padding and rounded corners - Remove unnecessary tab wrapper classes - Adjust transition timing to match Coursera's design
- Loading branch information
Showing
3 changed files
with
32 additions
and
37 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
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,7 @@ | ||
export const isLecturePage = (url: string): boolean => { | ||
return url.includes('/learn/') && url.includes('/lecture/'); | ||
}; | ||
|
||
export const shouldInitialize = (url: string): boolean => { | ||
return isLecturePage(url); | ||
}; |