-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Main site components #104
Main site components #104
Conversation
… out into own page
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 is a great start and overall looks fine. Can you pull in the latest changes for highlight.js? (We might need to update the docs as well for the new Leaf changes)
Main issue is we need CI to go green to be able to check out the changes
311cd8e
to
1d1909f
Compare
1d1909f
to
9a1ac69
Compare
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 this is really awesome! I have a few requests, mainly around the use of rgba()
with hardcoded rgb values instead of SASS variables.
Finally, there are a couple of things we need to fix.
- As the nabber for the homepage will be fixed (and likely on other pages) we should add a new CSS class for
fixed-navbar
that sets the Z value so it sits on top of everything and set the background correctly (see below)
- Second, the hero image on the blog page has changed. It should be different on the main page and the same on all the other pages IIRC. See below
Finally, we have a few fixes for mobile to do.
- Sponsors section needs mobile design added
- Spacing throughout can be tightened up, e.g.
Finally, these should be centered:
Awesome work though!
src/scss/vapor/main-site.scss
Outdated
} | ||
|
||
.blurry-background { | ||
background: linear-gradient(230.51deg, rgba(35, 172, 240, 0.25) 27.41%, rgba(223, 62, 251, 0.25) 67%, rgba(112, 25, 128, 0.25) 80.12%); |
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.
I have been extracting out these rgba values into our colours so they look something like rgba($grey-100, 0.25)
, would be great if you could do that here where you're using RGBA unless they don't line up with any hex values we have
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.
IMO this specific one is fine as it is because it's a gradient, the colours inside are specific to create this gradient and unlikely to be reused
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.
Actually the background image for the blog is still different
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.
I have a couple of things I'd like to improve but they can be done in a separate PR - I'll create issues for those to track
No description provided.