-
Notifications
You must be signed in to change notification settings - Fork 5
Create Team page with modular card layout (#60) #98
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| --- | ||
| layout: page | ||
| title: Team | ||
| permalink: /team/ | ||
| --- | ||
|
|
||
| <div class="team-grid"> | ||
| {% for member in site.team %} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| <div class="team-card"> | ||
| <img src="{{ member.avatar }}" alt="{{ member.name }}" class="team-avatar"> | ||
| <h3>{{ member.name }}</h3> | ||
| <p class="role">{{ member.role }}</p> | ||
| <p class="bio">{{ member.bio }}</p> | ||
| <div class="links"> | ||
| {% if member.github %}<a href="{{ member.github }}">GitHub</a>{% endif %} | ||
| {% if member.twitter %}<a href="{{ member.twitter }}">Twitter</a>{% endif %} | ||
| </div> | ||
| </div> | ||
| {% endfor %} | ||
| </div> | ||
|
|
||
| <style> | ||
| .team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; padding: 2rem; } | ||
| .team-card { background: var(--card-bg); border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s; } | ||
| .team-card:hover { transform: translateY(-4px); } | ||
| .team-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; } | ||
| .team-card h3 { margin: 0.5rem 0; color: var(--heading-color); } | ||
| .role { color: var(--accent-color); font-weight: 600; font-size: 0.9rem; margin: 0.5rem 0; } | ||
| .bio { color: var(--text-muted); font-size: 0.85rem; line-height: 1.5; } | ||
| .links a { margin: 0 0.5rem; color: var(--link-color); text-decoration: none; } | ||
|
Comment on lines
+23
to
+30
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The CSS uses several variables (e.g., |
||
| </style> | ||
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.
According to the repository style guide (lines 50 and 78), every change must be accompanied by an update to the
site_versionin_config.ymland a new entry inCHANGELOG.md. These updates are missing from this pull request.References