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

Feature/refactor 2 #688

Merged
merged 14 commits into from
Jan 23, 2024
Merged

Feature/refactor 2 #688

merged 14 commits into from
Jan 23, 2024

Conversation

breakdancingcat
Copy link
Member

@breakdancingcat breakdancingcat commented Jan 22, 2024

  • Updating component descriptions from the content team, including what happens to under-menu buttons on mobile
  • Modified the full-width template to set the groundwork for fully custom homepages
  • Removed 'contained' hero in favor of the wull-width skinny/banner
  • Using TW's "zinc" for grays; we were already using most that palette with a few exceptions, but this is basically an unnoticable change, removing a couple warmer grays that didn't fit
  • Alt text when a video url is used is unavailable, using the title until we have a way to add it
  • Added ability to move page content to placement of a page field

@coveralls
Copy link

coveralls commented Jan 22, 2024

Coverage Status

coverage: 100.0%. remained the same
when pulling e4077db on feature/refactor-2
into 6da6f42 on develop.

Copy link
Member

@nickdenardis nickdenardis left a comment

Choose a reason for hiding this comment

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

A few inline thoughts.

--}}

@foreach ($data as $heading)
<h2 class="mt-0 -mb-3">{{ $heading['title'] }}</h2>
Copy link
Member

Choose a reason for hiding this comment

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

Since this is not the page heading, but more of a section heading, what do you think about using the label "section-heading" or "section-header"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Should I make all modular headings section headings?

Copy link
Member

Choose a reason for hiding this comment

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

No need to go overboard with using this partial, I was only commenting on the naming. Didn't want a sub-heading within a page to be confused by the primary page heading. (which should be the only H1 on the page)

Copy link
Member Author

@breakdancingcat breakdancingcat Jan 22, 2024

Choose a reason for hiding this comment

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

@nickdenardis this would be used to span two columns over a featured event image and an events list, so the heading would be "Events" which we've never labelled

@@ -12,7 +12,7 @@
@if(!empty($item['relative_url']))
@image($item['relative_url'], $item['filename_alt_text'], "w-full lazy")
@else
@image('//i.wayne.edu/youtube/'.$item['youtube_id'].'/max', $item['filename_alt_text'], "w-full lazy")
Copy link
Member

Choose a reason for hiding this comment

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

Only as an FYI. We will shortly here have the ability to write alt text for a promotion item that doesn't have an image uploaded. TP3 #175511

<li><strong>Examples:</strong> "Apply now," "Request information," "Speak with an advisor," etc.
<li><strong>Placement:</strong> CTAs are most effective on landing pages and frequently visited sections with important information.
</ul>
<h3 class="text-lg my-0">Under-menu button column</h3>
Copy link
Member

Choose a reason for hiding this comment

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

We may want to reference the automatic insertion of under-menu CTA buttons after the first paragraph that happens automatically on small screens:
https://github.com/waynestate/base-site/blob/master/resources/js/modules/under-menu.js

@breakdancingcat
Copy link
Member Author

I will add coverages for what i introduced after I make sure it's how I want it to be formatted

@breakdancingcat breakdancingcat merged commit ea52c58 into develop Jan 23, 2024
2 checks passed
@breakdancingcat breakdancingcat deleted the feature/refactor-2 branch January 30, 2024 16:18
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.

None yet

3 participants