Skip to content
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

Adjust years to 2024 for current and 2023 for start of past, Arthur Ashe page #336

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe';
<b> Extended Deadline: February 16 </b>
</div>
<br/>-->
</marko-web-block>
</marko-web-block>

<marko-web-block name="roster">
<div align="center">
Expand Down Expand Up @@ -78,7 +78,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe';
name="website-section"
params={ alias, queryFragment: sectionWithChilderenFragment }
>
$ const year = 2023;
$ const year = 2024;
$ const [yearSection] = getAsArray(node, "children.edges").map(({ node }) => node).filter(({ name })=> parseInt(name) === year);
<if(yearSection)>
<div class="row">
Expand All @@ -102,7 +102,7 @@ $ const rootAlias = 'awards-honors/arthur-ashe';
name="website-section"
params={ alias: 'awards-honors/arthur-ashe', queryFragment: sectionWithChilderenFragment }
>
$ const year = 2022; //current/active year
$ const year = 2023; //current/active year
$ const children = getAsArray(node, "children.edges").map(({ node }) => node).filter(({ name })=> parseInt(name) <= year);
<marko-web-node-list>
<@nodes|{ nodes }| nodes=children modifiers=["flush-x"]>
Expand Down
Loading