-
Notifications
You must be signed in to change notification settings - Fork 0
Fix UI and UX experience issues in main branch #86
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -7,3 +7,5 @@ public/ | |
| resources/ | ||
| .DS_Store | ||
| .cache/ | ||
| hugo_stats.json | ||
| tmp-screenshots/ | ||
This file contains hidden or 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 +1,93 @@ | ||
| // Put your custom SCSS code here | ||
|
|
||
| // Fix word-breaking in definition lists | ||
| dl.row { | ||
| dt { | ||
| word-break: normal; | ||
| hyphens: none; | ||
| overflow-wrap: normal; | ||
| } | ||
|
|
||
| dd { | ||
| word-break: normal; | ||
| hyphens: none; | ||
| overflow-wrap: break-word; | ||
| } | ||
| } | ||
|
|
||
| // Ensure proper spacing in card bodies | ||
| .card-body { | ||
| dl { | ||
| dt, dd { | ||
| word-break: normal; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // Improve responsive spacing | ||
| .section { | ||
| padding-top: 2rem; | ||
| padding-bottom: 2rem; | ||
|
|
||
| @media (min-width: 768px) { | ||
| padding-top: 3rem; | ||
| padding-bottom: 3rem; | ||
| } | ||
| } | ||
|
|
||
| // Better card spacing and hover effects | ||
| .card { | ||
| transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; | ||
|
|
||
| &:hover { | ||
| transform: translateY(-2px); | ||
| box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; | ||
| } | ||
| } | ||
|
|
||
| // Improve heading spacing | ||
| h1, h2, h3, h4, h5, h6 { | ||
| margin-top: 1.5rem; | ||
| margin-bottom: 1rem; | ||
| } | ||
|
|
||
| // Better list group styling | ||
| .list-group-item { | ||
| border-left: 3px solid transparent; | ||
| transition: border-color 0.2s ease-in-out; | ||
|
|
||
| &:hover { | ||
| border-left-color: var(--bs-primary); | ||
| } | ||
| } | ||
|
|
||
| // Improve button spacing | ||
| .btn { | ||
| margin-right: 0.5rem; | ||
| margin-bottom: 0.5rem; | ||
|
|
||
| &:last-child { | ||
| margin-right: 0; | ||
| } | ||
| } | ||
|
|
||
| // Better badge styling | ||
| .badge { | ||
| margin-right: 0.25rem; | ||
| margin-bottom: 0.25rem; | ||
| padding: 0.35rem 0.65rem; | ||
| font-weight: 500; | ||
|
|
||
| &:last-child { | ||
| margin-right: 0; | ||
| } | ||
| } | ||
|
|
||
| // Improve responsive navigation | ||
| @media (max-width: 767px) { | ||
| .navbar-nav { | ||
| .nav-item { | ||
| margin-bottom: 0.5rem; | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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,6 +1,6 @@ | ||
| [[main]] | ||
| name = "Courses" | ||
| url = "/" | ||
| url = "/en/" | ||
| weight = 10 | ||
|
|
||
| [[footer]] | ||
|
|
||
This file contains hidden or 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,6 +1,6 @@ | ||
| [[main]] | ||
| name = "Cursos" | ||
| url = "/" | ||
| url = "/es/" | ||
| weight = 10 | ||
|
|
||
| [[footer]] | ||
|
|
||
This file contains hidden or 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,6 +1,6 @@ | ||
| [[main]] | ||
| name = "Cours" | ||
| url = "/" | ||
| url = "/fr/" | ||
| weight = 10 | ||
|
|
||
| [[footer]] | ||
|
|
||
This file contains hidden or 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,6 +1,6 @@ | ||
| [[main]] | ||
| name = "Cursos" | ||
| url = "/" | ||
| url = "/pt/" | ||
| weight = 10 | ||
|
|
||
| [[footer]] | ||
|
|
||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -117,7 +117,6 @@ | |
| "mt-1", | ||
| "mx-2", | ||
| "mx-auto", | ||
| "my-3", | ||
| "nav-item", | ||
| "nav-link", | ||
| "navbar", | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the permalink rule from
courses = "/courses/:sections[1:]/"tocourse = "/courses/:slug/"removes the course code from generated URLs. For content bundles undercontent/pt/courses/<code>/<plan>/index.mdHugo now emits/courses/<plan>/by default, so two different courses that share a plan version will collide and later builds will override or shadow pages unless every file defines a manualurl. The previous rule automatically included both nested sections (LESTI/2024-2025) and avoided clashes. Consider keeping the hierarchical sections in the permalink pattern or adding the course code to the template to prevent duplicate URLs when new courses are added.Useful? React with 👍 / 👎.