-
Notifications
You must be signed in to change notification settings - Fork 4
983 new external page design implementation WIP #1022
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
Changes from 8 commits
86773e9
fdaf03b
6e4cdca
5e3b6d3
ee1681c
94d5952
0c83655
d27398b
e8907ff
d5dd311
a900869
16ebf3d
e3a28aa
c08c489
b462fb0
9c88f8d
7ddd66a
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,8 @@ | ||||||
<div class="circle-card {{if @horizontal "horizontal" "vertical"}}"> | ||||||
<img class="card-image" src={{@imgurl}} alt=""> | ||||||
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. Add meaningful alt text for accessibility. The empty Consider passing alt text as a prop: - <img class="card-image" src={{@imgurl}} alt="">
+ <img class="card-image" src={{@imgurl}} alt={{@altText}}> Then update all usages to provide meaningful alt text describing the image content. 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
<div class="content"> | ||||||
<h2 class="card-title">{{@title}}</h2> | ||||||
<h3 class="card-subtitle">{{@subtitle}}</h3> | ||||||
<p class="card-text">{{@text}}</p> | ||||||
</div> | ||||||
</div> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class PublicBoardRoute extends Route {} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class PublicFluxRoute extends Route {} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class PublicIdentityRoute extends Route {} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class PublicPartnersRoute extends Route {} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
.circle-card { | ||
display: flex; | ||
|
||
&.vertical { | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
.content { | ||
align-items: center; // center titles and text | ||
text-align: center; | ||
} | ||
} | ||
|
||
&.horizontal { | ||
flex-direction: row; | ||
align-items: flex-start; | ||
|
||
.card-image { | ||
margin-right: 2rem; // space between image and content | ||
} | ||
|
||
.content { | ||
align-items: flex-start; // align left | ||
text-align: left; | ||
|
||
.card-title { | ||
margin-top: 0; | ||
} | ||
} | ||
} | ||
|
||
.card-image { | ||
width: 100%; | ||
clip-path: circle(); | ||
object-fit: cover; | ||
max-width: 25rem; | ||
} | ||
|
||
.content { | ||
display: flex; | ||
flex-direction: column; | ||
|
||
.card-title { | ||
margin-top: 1rem; | ||
color: $brand-secondary; | ||
font-family: "Libre Franklin", sans-serif; | ||
} | ||
|
||
.card-subtitle { | ||
margin-top: 0.3rem; | ||
color: $brand-secondary; | ||
font-family: "Libre Franklin", sans-serif; | ||
} | ||
|
||
.card-text { | ||
margin-top: 1rem; | ||
text-align: justify; | ||
font-size: 1.5rem; | ||
} | ||
} | ||
} | ||
|
||
/* Responsive: horizontal becomes vertical on small screens */ | ||
@media (width <= 768px) { | ||
.circle-card.horizontal { | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
.card-image { | ||
margin-right: 0; | ||
margin-bottom: 1.5rem; | ||
} | ||
|
||
.content { | ||
align-items: center; | ||
text-align: center; | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.board{ | ||
.members{ | ||
.member{ | ||
margin: 2rem 0; | ||
padding: 0 5%; | ||
} | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,77 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="public"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Public::Header | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@imageUrl="/images/public/board/banner.jpeg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@title="{{t 'template.public.board.header'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="board row my-4 d-flex flex-column align-items-center"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h1 class="public-title">{{t 'template.public.board.senaat'}}</h1> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<hr class="public-title-border border border-secondary bg-secondary border-3 opacity-100" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<p class="mt-3 text-center public-text">{{t 'template.public.board.intro'}}</p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<p class="text-center public-text"><i>{{t 'template.public.board.slogan'}}</i></p> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="members row"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="member col-12 col-md-6" > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Public::Card | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@imgurl="/images/public/board/Stefan.jpg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@title="{{t 'template.public.board.chair'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@subtitle="{{t 'template.public.board.chair-name'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@text="{{t 'template.public.board.chair-story'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="member col-12 col-md-6"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Public::Card | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@imgurl="/images/public/board/Jesse.jpg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@title="{{t 'template.public.board.secretary'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@subtitle="{{t 'template.public.board.secretary-name'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@text="{{t 'template.public.board.secretary-story'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="member col-12 col-md-6"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Public::Card | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@imgurl="/images/public/board/Niels.jpg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@title="{{t 'template.public.board.treasurer'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@subtitle="{{t 'template.public.board.treasurer-name'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@text="{{t 'template.public.board.treasurer-story'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="member col-12 col-md-6"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<Public::Card | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@imgurl="/images/public/board/Alina.jpg" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@title="{{t 'template.public.board.assessor1'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@subtitle="{{t 'template.public.board.assessor1-name'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
@text="{{t 'template.public.board.assessor1-story'}}" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
/> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<a class="text-center" href="{{t 'template.public.board.photographer-url'}}">{{t 'template.public.board.photographer'}}</a> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="red-container row d-flex flex-column align-items-center"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h1 class="public-title">{{t 'template.public.board.previous-boards'}}</h1> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<hr class="public-title-border border border-primary bg-primary border-3 opacity-100" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-boards row px-10"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board1'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XLIV.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board2'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XLIII.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board3'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XLII.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board4'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XLI.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board5'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XL.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<div class="previous-board col-12 col-sm-6 col-md-4 p-3"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board6'}}</h3> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<img src="/images/public/board/XXXIX.jpeg"> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+53
to
+73
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. Add alt attributes to all images for accessibility. All six previous board images are missing Apply this diff to add descriptive alt text: <div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board1'}}</h3>
- <img src="/images/public/board/XLIV.jpeg">
+ <img src="/images/public/board/XLIV.jpeg" alt="{{t 'template.public.board.old-boards.board1'}}">
</div>
<div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board2'}}</h3>
- <img src="/images/public/board/XLIII.jpeg">
+ <img src="/images/public/board/XLIII.jpeg" alt="{{t 'template.public.board.old-boards.board2'}}">
</div>
<div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board3'}}</h3>
- <img src="/images/public/board/XLII.jpeg">
+ <img src="/images/public/board/XLII.jpeg" alt="{{t 'template.public.board.old-boards.board3'}}">
</div>
<div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board4'}}</h3>
- <img src="/images/public/board/XLI.jpeg">
+ <img src="/images/public/board/XLI.jpeg" alt="{{t 'template.public.board.old-boards.board4'}}">
</div>
<div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board5'}}</h3>
- <img src="/images/public/board/XL.jpeg">
+ <img src="/images/public/board/XL.jpeg" alt="{{t 'template.public.board.old-boards.board5'}}">
</div>
<div class="previous-board col-12 col-sm-6 col-md-4 p-3">
<h3 class="public-title-smaller text-center">{{t 'template.public.board.old-boards.board6'}}</h3>
- <img src="/images/public/board/XXXIX.jpeg">
+ <img src="/images/public/board/XXXIX.jpeg" alt="{{t 'template.public.board.old-boards.board6'}}">
</div> 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
</div> |
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.
🛠️ Refactor suggestion | 🟠 Major
Remove WIP comment before merging.
The comment "put links to other pages here" indicates this is still work in progress. Remove this comment before finalizing the PR.
- {{! put links to other pages here }}
📝 Committable suggestion
🤖 Prompt for AI Agents