-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notes
{# FAQ: Common practice but unused, and template is unnecessary long-term #} | ||
{# {% block page_type_class %}s-home{% endblock page_type_class %} #} |
There was a problem hiding this comment.
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.
@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"); |
There was a problem hiding this comment.
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).
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.css' %}"> | ||
<link rel="stylesheet" href="{% static 'frontera-cms/css/build/site.header.css' %}"> |
There was a problem hiding this comment.
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.
Dependencies
Overview
These are changes for the homepage that mostly rely on and accompany changes to Core.
Other Details
TACC/Core-CMS#187