-
Notifications
You must be signed in to change notification settings - Fork 29
feat: Implement dynamic content loading for news sections #135
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
Open
bipulsikder
wants to merge
10
commits into
eclipse-sw360:main
Choose a base branch
from
bipulsikder:feature/dynamic-news-sections
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
328b882
feat: Implement dynamic content loading for news sections
bipulsikder dc72b4e
fix: Update news section layouts and styling
bipulsikder c7ee31f
refactor: remove unnecessary Bootstrap files
bipulsikder 567dad4
refactor: reorganize news sections and remove duplicates
bipulsikder 1854750
refactor: remove static menu entries from config.toml as per mentor f…
bipulsikder 589914d
refactor: remove bootstrap dependency
bipulsikder 2300f67
refactor: remove bootstrap dependenca
bipulsikder 10fc754
refactor: remove bootstrap dependenca
bipulsikder 0b04e85
feat: update news section content and structure
bipulsikder bf11370
Merge branch 'main' into feature/dynamic-news-sections
bipulsikder 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 |
|---|---|---|
| @@ -0,0 +1,238 @@ | ||
| // Custom styles for events | ||
| .featured-events { | ||
| .featured-card { | ||
| border: none; | ||
| background: linear-gradient(to right bottom, #ffffff, #f8f9fa); | ||
| transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
|
|
||
| &:hover { | ||
| transform: translateY(-5px); | ||
| box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .year-section { | ||
| .year-header { | ||
| background-color: #e8f5f3; | ||
| border-radius: 8px; | ||
| transition: all 0.3s ease; | ||
|
|
||
| h2 { | ||
| font-weight: 600; | ||
| color: #2c3e50; | ||
| } | ||
|
|
||
| .event-count { | ||
| background: rgba(255,255,255,0.9); | ||
| padding: 0.5rem 1rem; | ||
| border-radius: 20px; | ||
| font-weight: 500; | ||
| color: #34495e; | ||
| } | ||
| } | ||
|
|
||
| .event-card { | ||
| transition: transform 0.3s ease, box-shadow 0.3s ease; | ||
| border: none; | ||
|
|
||
| &:hover { | ||
| transform: translateY(-5px); | ||
| box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important; | ||
| } | ||
|
|
||
| .card-title { | ||
| color: #2c3e50; | ||
| font-weight: 600; | ||
| } | ||
|
|
||
| .card-text { | ||
| color: #6c757d; | ||
| } | ||
|
|
||
| .event-type-badge { | ||
| display: inline-block; | ||
| padding: 0.25rem 0.75rem; | ||
| background-color: #e8f5f3; | ||
| color: #34495e; | ||
| border-radius: 15px; | ||
| font-size: 0.875rem; | ||
| font-weight: 500; | ||
| } | ||
|
|
||
| .event-meta { | ||
| font-size: 0.9rem; | ||
| color: #6c757d; | ||
|
|
||
| i { | ||
| color: #34495e; | ||
| } | ||
| } | ||
|
|
||
| .event-tags { | ||
| .badge { | ||
| background-color: #f8f9fa; | ||
| color: #34495e; | ||
| font-weight: 500; | ||
| padding: 0.5rem 0.75rem; | ||
| border-radius: 15px; | ||
| border: 1px solid #e9ecef; | ||
| } | ||
| } | ||
|
|
||
| .btn-primary { | ||
| background-color: #34495e; | ||
| border-color: #34495e; | ||
| transition: all 0.3s ease; | ||
| border-radius: 6px; | ||
| padding: 0.5rem 1.5rem; | ||
|
|
||
| &:hover { | ||
| background-color: #2c3e50; | ||
| border-color: #2c3e50; | ||
| transform: translateY(-1px); | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // Event detail page styles | ||
| .event-article { | ||
| .display-4 { | ||
| color: #2c3e50; | ||
| font-weight: 600; | ||
| } | ||
|
|
||
| .event-meta, .event-location { | ||
| i { | ||
| color: #34495e; | ||
| } | ||
| } | ||
|
|
||
| .speaker-card { | ||
| transition: transform 0.3s ease; | ||
| background: #ffffff; | ||
| border: 1px solid #e9ecef; | ||
|
|
||
| &:hover { | ||
| transform: translateY(-3px); | ||
| border-color: #34495e; | ||
| } | ||
|
|
||
| img { | ||
| border: 2px solid #e8f5f3; | ||
| } | ||
| } | ||
|
|
||
| .resources-section { | ||
| .list-group-item { | ||
| transition: all 0.3s ease; | ||
| border: 1px solid #e9ecef; | ||
| margin-bottom: 0.5rem; | ||
| border-radius: 6px; | ||
|
|
||
| &:hover { | ||
| background-color: #f8f9fa; | ||
| color: #34495e; | ||
| border-color: #34495e; | ||
| } | ||
|
|
||
| i { | ||
| color: #34495e; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // Responsive adjustments | ||
| @media (max-width: 768px) { | ||
| .year-section { | ||
| .year-header { | ||
| .display-4 { | ||
| font-size: 2rem; | ||
| } | ||
|
|
||
| .event-count { | ||
| font-size: 0.875rem; | ||
| } | ||
| } | ||
|
|
||
| .card { | ||
| margin-bottom: 1rem; | ||
| } | ||
| } | ||
|
|
||
| .featured-events { | ||
| .featured-card { | ||
| margin-bottom: 1.5rem; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| // Custom styles for news sections | ||
| .news-sidebar { | ||
| position: sticky; | ||
| top: 2rem; | ||
| max-height: calc(100vh - 4rem); | ||
| overflow-y: auto; | ||
|
|
||
| .list-group-item { | ||
| border: none; | ||
| border-radius: 6px; | ||
| margin-bottom: 0.5rem; | ||
| transition: all 0.3s ease; | ||
|
|
||
| &:hover { | ||
| background-color: #f8f9fa; | ||
| transform: translateX(5px); | ||
| } | ||
|
|
||
| &.active { | ||
| background-color: #e8f5f3; | ||
| color: #34495e; | ||
| border-color: #34495e; | ||
| } | ||
|
|
||
| small { | ||
| font-size: 0.875rem; | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .news-article { | ||
| .display-4 { | ||
| color: #2c3e50; | ||
| font-weight: 600; | ||
| } | ||
|
|
||
| .news-meta { | ||
| i { | ||
| color: #34495e; | ||
| } | ||
| } | ||
|
|
||
| .news-tags { | ||
| .badge { | ||
| background-color: #f8f9fa; | ||
| color: #34495e; | ||
| font-weight: 500; | ||
| padding: 0.5rem 0.75rem; | ||
| border-radius: 15px; | ||
| border: 1px solid #e9ecef; | ||
|
|
||
| &:hover { | ||
| background-color: #e8f5f3; | ||
| border-color: #34495e; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| #news-content { | ||
| min-height: 400px; | ||
| transition: opacity 0.3s ease; | ||
|
|
||
| &.loading { | ||
| opacity: 0.6; | ||
| } | ||
| } |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
Why you forced static menu ?
This is done dinamically. please don't touch the menu in this way