Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Dynamic logic of spaces page component #78

Merged
merged 5 commits into from
Feb 12, 2019
Merged

Dynamic logic of spaces page component #78

merged 5 commits into from
Feb 12, 2019

Conversation

cappadona
Copy link
Contributor

Remove most of the hard coded logic from initial implementation of Mann reservable study rooms (#73) in prep for:

To ensure layout consistency across locations regardless of whether a
URL is defined, since we're using css-grid and expecting 3 children.
All thanks to combo of Vue & Sass:

* repeat function inspired by native CSS repeat [1] & incomparable
  Miriam Suzanne [2]
* currently support up to 4 columns/spaces but this will be revisited

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/repeat
[2] https://oddbird.net/susy/docs/config.html#function--susy-repeat
Add capacity key to schema and toggle <i> and applicable class based
on value.
@cappadona cappadona self-assigned this Feb 12, 2019
@cappadona cappadona merged commit c31048d into master Feb 12, 2019
@cappadona cappadona deleted the abstraction branch February 12, 2019 20:22
This was referenced Feb 13, 2019
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