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

Task/gh 35 redesign home page #39

Merged
merged 33 commits into from
Apr 16, 2021
Merged

Conversation

wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Apr 12, 2021

Dependencies

Overview

These are changes for the homepage that mostly rely on and accompany changes to Core.

  • Add homepage template & styles.
  • Update System Monitor styles.

Other Details

TACC/Core-CMS#187

On prod snippet-based deploy, this must be loaded _before_ site CSS.

So, we break it out here ot make that clear when "deploy"-ing.
Copy link
Member Author

@wesleyboar wesleyboar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notes

Comment on lines +23 to +24
{# FAQ: Common practice but unused, and template is unnecessary long-term #}
{# {% block page_type_class %}s-home{% endblock page_type_class %} #}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why Unnecessary Logn-Term?
Because the homepage will eventually be build with TACC plugins available for any page. Right now, the homepage is built with Django and Bootstrap plugins that have TACC class names tacked on.

Comment on lines +11 to +12
@import url("../../../../../../taccsite_cms/static/site_cms/css/src/_imports/trumps/s-article-list.css");
@import url("../../../../../../taccsite_cms/static/site_cms/css/src/_imports/trumps/s-article-preview.css");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Short-Term vs. Long-Term

  • Now, these styles depend on HTML tags from markup built with Django plugins (thus they are "scope" a.k.a. s- styles, which makes them "trumps" that overwrite any existing styles).
  • Later, these styles would depend on markup class names only from markup built with TACC plugins (thus they will be "component" a.k.a. c- styles, which makes them more easily re-usable).

Comment on lines +5 to +6
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.css' %}">
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.header.css' %}">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why Not Make fullwidth.html Use These?
Because the rest of Frontera's pages are not ready for the redesign changes these bring.

@wesleyboar wesleyboar merged commit 36404c9 into master Apr 16, 2021
@wesleyboar wesleyboar deleted the task/GH-35-redesign-home-page branch April 16, 2021 19:51
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.

Frontera Quickie Homepage Update System Monitor Quick Redesign
1 participant