Skip to content
This repository was archived by the owner on Jun 2, 2020. It is now read-only.

Re-build the theme/layout #80

Merged
merged 14 commits into from
Jul 26, 2018
Merged

Re-build the theme/layout #80

merged 14 commits into from
Jul 26, 2018

Conversation

Mr0grog
Copy link
Collaborator

@Mr0grog Mr0grog commented Jul 10, 2018

Work-in-progress; DO NOT MERGE! (UPDATE: this is mergeable now)

We are removing the old theme (which was broken in a number of ways) and rewriting a very minimal and simple version. A future PR will focus on an actual redesign, but here we're just making it shippable.

MUCH ❤️to @eocarragain for help here!

Fixes #77

Mr0grog added 10 commits July 10, 2018 12:45
The `static-build` folder (where all the generated JS and CSS code winds up) is now `build` (Hugo had some confusing issues with folder that have dashes in the name).

Still lots to recreate in the style and layout, but this covers high-level bits and the header.

License: MIT
Signed-off-by: Rob Brackett <[email protected]>
For now, we are keeping font-awesome, but may want to remove it when we fully redesign, since we have/are building our own icon set for IPFS projects (ipfs-shipyard/ipfs-css).
This moves the footer from stretching across the full screen bottom to simply being at the end of the content -- handling the way the old footer worked requires some JS that doesn't seem especially necessary. We can re-examine this in the full redesign.
This is kinda ugly and contains a lot of copy/pasted CSS code from the previous version. It cleans up the CSS and the HTML classes a *little,* but largely keeps the same layout and look.
This used to dynamically flip between showing only the site title or page title, depending on whether the `<h1>` of the main content was still on screen or scrolled away. We might want to bring that back, but for short-term simplicity's sake, we just keep this static and insert a dash.
@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Jul 21, 2018

I still need to redo the small screen menu, but that should mostly be all that’s left at this point.

@Mr0grog Mr0grog changed the title WIP: Re-build the theme/layout Re-build the theme/layout Jul 25, 2018
@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Jul 25, 2018

OK, this should be ready to merge. Again, this is just supposed to be a minimal reproduction of what we previously had with less JS and with readable code. There are a few minor layout/design tweaks (the footer has moved, the menu has some better accessibility features), but it’s not meant to be too special and is likely something we’ll just throw away in a later redesign.

Care to review at all, @lgierth, @kyledrake, @olizilla? (I’ll merge after one of you 👍)

Once this is merged, this site should be ready to push live! (Still lots to improve on it, but it’s at least usable.)

@Mr0grog Mr0grog requested review from a user and kyledrake July 25, 2018 21:20
@ghost
Copy link

ghost commented Jul 26, 2018

This looks great :):):)

@Mr0grog
Copy link
Collaborator Author

Mr0grog commented Jul 26, 2018

MERGIFYING

@Mr0grog Mr0grog merged commit ab798cd into master Jul 26, 2018
@Mr0grog Mr0grog deleted the cleanup-layout branch July 26, 2018 16:09
@Mr0grog Mr0grog mentioned this pull request Aug 24, 2018
5 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant