-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Gitcoin: Issue #174 #207
Gitcoin: Issue #174 #207
Conversation
Pointed ios url to ios template
Still work to do. Can we add a |
@Elaniobro let me know when it's done, i'll help review ^_^ I've got some time to spare |
Thanks @thelostone-mc feel free to pull down and let me know your thoughts so far. The CSS has been a little bit of a battle, lots of |
@thelostone-mc have you had a chance to take a gander? |
@Elaniobro ah sorry got held up with some work! Checking it now |
app/assets/v2/css/gitcoin.css
Outdated
@@ -315,3 +315,161 @@ div.button-pink { | |||
/* IE 10+ */ | |||
color: lightgray; | |||
} | |||
|
|||
.ios { |
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.
Worth moving this to it's own file rather than keeping it in gitcoin.css
?
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.
Yup, was thinking this as well.
Moved all the ios into its own file.
app/dashboard/templates/ios.html
Outdated
<div class="row"> | ||
<div class="col-md-4" style=""> | ||
<div class="text-center"> | ||
<div class="flat-card"> |
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.
We already have cards set up here. Consider reusing them, we could improve them as well ? Just a thought
|
(Also not relevant here but @owocki the navbar has different heights on different page ). |
Still need the video asset as well as logo asset and href values. |
If we change the font to Open Sans the text would stay within the card ( @algae12 has to confirm the font ) Other than that rest looks good 👍 ^_^ |
@thelostone-mc odd, thought I had corrected that with Thank you for reviewing, if the font is wrong, lets get confirmation on the font to use and I will address both at the same time. |
just got back from my vacation.. and i got say "holy progress batman!". awesome! lmk if anything needed from me on this :) |
Codecov Report
@@ Coverage Diff @@
## master #207 +/- ##
=========================================
Coverage ? 11.74%
=========================================
Files ? 69
Lines ? 3423
Branches ? 370
=========================================
Hits ? 402
Misses ? 3021
Partials ? 0
Continue to review full report at Codecov.
|
@owocki added in the Thanks @thelostone-mc for the peer review. 🥂 |
reviewing now.. |
my first thought upon pulling up |
page looks good in tablet, desktop, and mobile dimensions |
some margin between these two buttons would be nice http://bits.owocki.com/3T172r242p0X/Screen%20Shot%202018-01-09%20at%209.31.59%20PM.png |
on second thought... i dont really see any need for the 'mobile' button in the nav |
just finished looking at the LP. reviewing code now |
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.
some very minor comments... otherwise... very happy with the state of things so ffar!
``` | ||
Navigate to `http://0.0.0.0:8000/`. |
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.
LGTM... althought not necessarily related to this PR
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.
If its ok with you, I'll leave it in. I think this PR will be ready to merge 🌐 in soon.
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.
ok w me
@@ -28,6 +28,7 @@ def items(self): | |||
'whitepaper', | |||
'whitepaper_access', | |||
'_leaderboard', | |||
'ios', |
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.
good catch :)
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.
Danke Shoen! 🎩
app/assets/v2/css/ios.css
Outdated
} | ||
|
||
.ios .video { | ||
width: 100%; |
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.
inconsistent indentation
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.
fd67299 fixes this issue.
@@ -18,7 +18,7 @@ | |||
|
|||
<nav class="navbar navbar-expand-md navbar-dark"> | |||
<a class="navbar-brand pt-0 pb-0" href="/"> | |||
<img id="logo" src="/static/v2/images/logo_large.png" data-hover="/static/v2/images/logo_large_hover.gif" width="150" height="50" /> | |||
<img id="logo" src="{% if request.path == '/ios' %}/static/v2/images/ios/gitcoin.svg{%else%}/static/v2/images/logo_large.png{% endif %}" data-hover="{% if request.path == '/ios' %}/static/v2/images/ios/gitcoin_hover.gif{%else%}/static/v2/images/logo_large_hover.gif{% endif %}" {% if not request.path == '/ios' %}width="150"{%endif%} height="50" /> |
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.
this line is hard to maintain from my perspective... id rather wrap the whole <img>
block inside of the {% if request.path == '/ios' %}
block
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.
72c4d59 resolves this.
@@ -31,7 +31,7 @@ | |||
"ansi-styles": { |
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.
should this file be .gitignore
'd?
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.
Could we leave it here ?
package-lock ensures that installing modules from the same package.json never results in two different installs for different users!
The node community kinda encourages folks to not ignore it
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.
@owocki I made comments on your comments, feel free to leave more comments :)
i think i will merge this in soon... and just comment out the URL route for now... when apple finally approves the app and we have a release date.. i can uncomment it. any other changes needed @Elaniobro @thelostone-mc ? |
Hey @owocki which URL do you want commented out specifically? Are we talking |
yes! |
Yup LGTM !! |
@thelostone-mc how can I? I don't think I can hit the |
Ah didn't notice the merge commit 😓 You could always cherry-picks the commits before merge individually into a new branch but bleh too much of grunt work |
6a75ad8
to
3397864
Compare
@owocki this has been squashed, worked with @thelostone-mc to do so. 👍 |
Description
Coding the design for the iOS landing page as provided in #137
ios
itunes
itunes
Commits that need to be added to this PR:
nav.html
andnav_internal.html
/ios
specific css markupios
template markuphref
update app store button urlsChecklist
npm run stylelint
produces a slew of indentation errors on top of valid stylelint errors. These will not be fixed as part of this PR.Affected core subsystem(s)
ui
Refers/Fixes
#137
#174