Skip to content

Commit

Permalink
fixing alignment in NavHeading, linking Education in NasDesktopEdu to…
Browse files Browse the repository at this point in the history
… education homepage
  • Loading branch information
stephiescastle committed Aug 7, 2024
1 parent d2840e6 commit 96c1636
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
12 changes: 2 additions & 10 deletions packages/vue/src/components/NavDesktopEdu/NavDesktopEdu.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,8 @@ export const NavDesktopDropdownContentData = {
description: 'Lorem ipsum dolor sit amet.',
title: 'About'
},
{
...MenuLinkColumnWithHeaderData,
heading: null,
headingPage: null
},
{
...MenuLinkColumnWithHeaderData,
heading: null,
headingPage: null
}
MenuLinkColumnWithHeaderData,
MenuLinkColumnWithHeaderData
]
}
// combined dropdown data for "more" menu
Expand Down
9 changes: 8 additions & 1 deletion packages/vue/src/components/NavDesktopEdu/NavDesktopEdu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@
</NavLogoLinks>
<!-- site title -->
<div class="ml-2 pl-3 xl:ml-3 xl:pl-5 border-l border-white border-opacity-30 z-20">
<span class="text-white font-bold text-2xl xl:text-3xl">Education</span>
<BaseLink
class="text-white font-bold text-2xl xl:text-3xl"
to="/edu/"
link-class="py-2"
variant="none"
>
Education
</BaseLink>
</div>
<!-- main nav with dropdowns -->
<nav
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/src/components/NavHeading/NavHeading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<BaseLink
variant="none"
class="text-subtitle text-jpl-blue-lighter edu:text-primary-lighter inline-block mb-4"
link-class="p-2"
link-class="px-2 block"
:to="data.headingPage.url"
>
{{ data.heading }}
Expand Down

0 comments on commit 96c1636

Please sign in to comment.