Skip to content

Commit

Permalink
Merge pull request #328 from DFE-Digital/mab/Move-beta-banner
Browse files Browse the repository at this point in the history
Feat: Moved Beta Banner
  • Loading branch information
MartinBelton-gov authored Nov 20, 2023
2 parents a0e0a98 + b06f1c2 commit bd6750d
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 38 deletions.
16 changes: 16 additions & 0 deletions Childrens-Social-Care-CPD/Views/Shared/_BetaBanner.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<div class="dfe-width-container govuk-!-margin-bottom-6">
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<div class="govuk-phase-banner">
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">
BETA
</strong>
<span class="govuk-phase-banner__text">
This is a new service – your <a class="govuk-link" href="https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA">feedback</a> will help us to improve it
</span>
</p>
</div>
</div>
</div>
</div>
23 changes: 3 additions & 20 deletions Childrens-Social-Care-CPD/Views/Shared/_ErrorLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -97,26 +97,9 @@
</nav>
</header>

<div class="govuk-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<div class="govuk-phase-banner">
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">
BETA
</strong>
<span class="govuk-phase-banner__text">
This is a new service – your <a class="govuk-link" href="https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA">feedback</a> will help us to improve it
</span>
</p>
</div>

</div>
</div>
</div>

<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing" id="main-content" role="main">
<div class="govuk-width-container">
<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing govuk-!-padding-top-0" id="main-content" role="main">
<partial name="_BetaBanner" />
<div class="govuk-width-container ">
@RenderBody()
</div>
</main>
Expand Down
17 changes: 0 additions & 17 deletions Childrens-Social-Care-CPD/Views/Shared/_Header.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -68,20 +68,3 @@
</nav>
</header>

<div class="dfe-width-container">
<div class="govuk-grid-row">
<div class="govuk-grid-column-full">
<div class="govuk-phase-banner">
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">
BETA
</strong>
<span class="govuk-phase-banner__text">
This is a new service – your <a class="govuk-link" href="https://dferesearch.fra1.qualtrics.com/jfe/form/SV_bmcLDedq5wipeTA">feedback</a> will help us to improve it
</span>
</p>
</div>

</div>
</div>
</div>
4 changes: 3 additions & 1 deletion Childrens-Social-Care-CPD/Views/Shared/_SiteLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@
@await RenderSectionAsync("Head", required: false)

<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="~/assets/images/favicon.ico" type="image/x-icon">

</head>
<body class="govuk-template__body">
<partial name="_CookiesAndAnalyticsConsent" />
<a href="#main-content" class="govuk-skip-link" data-module="govuk-skip-link">Skip to main content</a>
<partial name="_Header" />
<partial name="_BackLink" model="@ViewBag.ContextModel?.BackLink" />

<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing govuk-!-padding-top-6" id="main-content" role="main">
<main class="govuk-main-wrapper govuk-main-wrapper--auto-spacing govuk-!-padding-top-0" id="main-content" role="main">
<partial name="_BetaBanner" />
@await RenderSectionAsync("PageBanner", required: false)
@RenderBody()
</main>
Expand Down

0 comments on commit bd6750d

Please sign in to comment.