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

Summary page #5

Merged
merged 6 commits into from Apr 11, 2019

Conversation

Projects
None yet
2 participants
@marbaque
Copy link
Contributor

commented Apr 10, 2019

Added the button to home page and the summary page.

@gandalfar
Copy link
Member

left a comment

I like what you've done with the change. Minor suggestions on what can be improved.

margin-left: 36px;
height: 100%;
//margin-left: 36px;
//height: 100%;

This comment has been minimized.

Copy link
@gandalfar

gandalfar Apr 10, 2019

Member

Don't commit commented-out code.

&:after {
content: "";
position: absolute;
right: 0; top: 0;

This comment has been minimized.

Copy link
@gandalfar

gandalfar Apr 10, 2019

Member

Each css declaration on its own line.

height: 100%;
width: 48px;
background: url("svg/graph-icon.svg") no-repeat center center;
background-color: #158983;

This comment has been minimized.

Copy link
@gandalfar

gandalfar Apr 10, 2019

Member

You can rewrite it into proper shorthand: background: #158983 url("svg/graph-icon.svg") no-repeat center center;

<img src="assets/images/thanks-2019.svg" class="graphic--world"/>
</div>

<div class="medium-6 cell text-center">
<img src="assets/images/stats-2019.svg" class="graphic--world graphic--stats"/>
<div class="summary--button">
<a href="/page/summary">2019 Summary<br><span>Click to view full stats</span></a>

This comment has been minimized.

Copy link
@gandalfar

gandalfar Apr 10, 2019

Member

Because we're using Ember.js as SPA, this shloud be written as:

{{#link-to "page" "summary"}}
    2019 Summary<br/>
    <span>Click to view full stats</span>
{{/link-to}}

This way there is no full-page reload on click.

This comment has been minimized.

Copy link
@marbaque

marbaque Apr 10, 2019

Author Contributor

Thank you. This only replaces the link code, right?

@marbaque marbaque closed this Apr 10, 2019

@marbaque marbaque reopened this Apr 10, 2019

@gandalfar gandalfar merged commit 1abd09a into ocwc:master Apr 11, 2019

@gandalfar

This comment has been minimized.

Copy link
Member

commented Apr 11, 2019

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.