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

Main site components #104

Merged
merged 50 commits into from
May 13, 2024
Merged

Main site components #104

merged 50 commits into from
May 13, 2024

Conversation

ptoffy
Copy link
Member

@ptoffy ptoffy commented Jul 23, 2023

No description provided.

@ptoffy ptoffy requested a review from 0xTim July 25, 2023 14:58
Copy link
Member

@0xTim 0xTim left a 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

@gwynne gwynne force-pushed the main-site-components branch 3 times, most recently from 311cd8e to 1d1909f Compare August 7, 2023 03:46
Copy link
Member

@0xTim 0xTim left a 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.

  1. 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)
Screenshot 2023-08-07 at 14 37 59
  1. 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
Screenshot 2023-08-07 at 14 39 20

Finally, we have a few fixes for mobile to do.

  1. Sponsors section needs mobile design added
Screenshot 2023-08-07 at 14 49 09
  1. Spacing throughout can be tightened up, e.g.
Screenshot 2023-08-07 at 14 48 49

Finally, these should be centered:
Screenshot 2023-08-07 at 14 49 02

Awesome work though!

stack.yml Outdated Show resolved Hide resolved
Sources/DesignSite/DesignTheme.swift Outdated Show resolved Hide resolved
Sources/DesignSite/DesignTheme.swift Outdated Show resolved Hide resolved
static/js/mainSiteScrollNavbar.js Outdated Show resolved Hide resolved
}

.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%);
Copy link
Member

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

Copy link
Member Author

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

src/scss/vapor/main-site.scss Outdated Show resolved Hide resolved
src/scss/vapor/main-site.scss Outdated Show resolved Hide resolved
src/scss/vapor/main-site.scss Outdated Show resolved Hide resolved
src/scss/vapor/main-site.scss Outdated Show resolved Hide resolved
src/scss/vapor/main-site.scss Outdated Show resolved Hide resolved
@ptoffy ptoffy requested a review from 0xTim March 31, 2024 13:55
Copy link
Member

@0xTim 0xTim left a 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

@ptoffy ptoffy requested a review from 0xTim April 8, 2024 16:31
Copy link
Member

@0xTim 0xTim left a 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

@0xTim 0xTim merged commit 76e0153 into main May 13, 2024
1 check passed
@0xTim 0xTim deleted the main-site-components branch May 13, 2024 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants