-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
starter library detail page design changes #8568
starter library detail page design changes #8568
Conversation
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.
Looks good to my eyes! Nice work :)
www/src/views/starter/meta.js
Outdated
@@ -0,0 +1,174 @@ | |||
import presets, { colors } from "../../utils/presets" | |||
import { /*typography, */ rhythm, options } from "../../utils/typography" |
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.
remove the comment?
|
||
function showDate(dt) { | ||
const date = new Date(dt) | ||
return date.toLocaleDateString(`en-US`, { |
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.
Can we use the graphql
date format function here and pass this in? Or not possible?
(not a big deal either way, just asking!)
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.
Possible! I haven't looked into why this was done this way, I just relocated what was already there for now. Good thought.
@@ -5,6 +5,7 @@ import ReactJSIcon from "./react.svg" | |||
import SegmentIcon from "./segment.svg" | |||
import FormidableIcon from "./formidable.svg" | |||
import FabricIcon from "./fabric.svg" | |||
import NetlifyIcon from "./netlify.svg" |
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.
Completely unrelated to this PR, but we should look into making these React components (where SVG is valid) instead of this!
cc @fk
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, just pushed a few minor changes!
Thank you Amberley and sorry for slacking yesterday!
* import React * remove unused imports
95dc3da
to
6bc250d
Compare
Closes #7731.
Starter detail page design changes a la #6710. Also includes some rearranging to make it more readable/easier for others to contribute (split into components, prompted by handling the ordering).
@fk some things to be aware of