cynkra / cynkrablog

Source of the cynkra blog
https://cynkra.com/blog
0 stars 1 forks source link

Review Pat #36

Closed pat-s closed 7 months ago

pat-s commented 9 months ago

@maelle Thanks for your work so far! I've noted down some of my observations while looking at the new site. They are mainly cosmetic details, and I am not responsible for these (@christophsax is) but maybe they are still helpful...

ToDos

Further questions

maelle commented 8 months ago

how to stay in sync with changes in cynkraweb? Can we use the cynkraweb navbar in cynkrablog dynamically?

The last time the cynkraweb navbar was updated, I noticed thanks to lychee! I'd say it's enough automation for now?

maelle commented 8 months ago

The dark theme is really a work in progress, maybe it should be removed completely as long as #18 isn't finished.

pat-s commented 8 months ago

The last time the cynkraweb navbar was updated, I noticed thanks to lychee! I'd say it's enough automation for now?

Hmm, but nobody will notice/know that changes are needed in cynkrablog when changes are applied in cynkraweb. And then the blog is out of sync for quite some time, I guess. This is a detail but looks quite unprofessional when it happens.

I didn't look into the code but why not implement a scrape action which automatically syncs this HTML code part from cynkraweb? (in case it's pure HTML)

pat-s commented 8 months ago

The dark theme is really a work in progress, maybe it should be removed completely as long as https://github.com/cynkra/cynkrablog/pull/18 isn't finished.

IMO we should rather invest time in getting it working as it's quite disturbing when everything is dark but the blog becomes light, especially during winter time when the "dark theme time" is quite long.

maelle commented 8 months ago

I don't think there's anything built-in Quarto yet. https://github.com/quarto-dev/quarto-cli/issues/4669

maelle commented 8 months ago

Align link color in posts with blue used in cynkraweb

But that blue #5582FD doesn't provide enough contrast according to this contrast checker.

We use this darker blue in cynkratemplate too: https://github.com/cynkra/cynkratemplate/blob/b1d918735185d7f4d1bf90c042510e5d8b2729de/inst/pkgdown/_pkgdown.yml#L9

maelle commented 8 months ago

@pat-s how is the navbar configured in cynkraweb?

maelle commented 8 months ago

Align button colors (e.g. page buttons) of both dark and light theme with cynkraweb colors

I don't understand what those buttons are.

maelle commented 8 months ago

one incomplete idea for buttons if they are the things at the right of the navbar.

// button

a i.bi, button {
  color: rgb(24, 79, 169) !important;
}
christophsax commented 8 months ago

@maelle, to me, what we have on https://blog.cynkra.com certainly looks good enough. I would prefer to make this the actual blog linked from the website asap. We can iterate on the other points (such as dark mode) as we move along (and write blogs again!).

maelle commented 8 months ago

@pat-s how is the navbar configured in cynkraweb?