<div class="app-side">
  <div class="app-side__actions">

    <%= link_to "Publish", coronavirus_page_publish_path(@coronavirus_page.slug), method: :post, class: "govuk-button" %>

    <%= render "govuk_publishing_components/components/button", {
      text: "Preview",
      href: draft_govuk_url(@coronavirus_page.base_path),
      target: "_blank",
      secondary: true
    } %>
    
    <%= link_to 'Discard changes', "#",class: %w(govuk-link govuk-link--no-visited-state app-link--destructive) %>

    <hr class="govuk-section-break govuk-section-break--m govuk-section-break--visible" />
    <%= link_to "View on GOV.UK", "#", target: "_blank", class: "govuk-link govuk-link--no-visited-state" %>
  </div>
</div>

<div class="app-side">
  <div class="app-side__actions">
    <%= form_with(url: coronavirus_page_publish_path(coronavirus_page_slug: @coronavirus_page.slug), local: true) do %>
      <%= render "govuk_publishing_components/components/button", { text: "Publish" } %>
    <% end %>
    <%= render "govuk_publishing_components/components/button", {
      text: "Preview",
      href: draft_govuk_url(@coronavirus_page.base_path),
      target: "_blank",
      secondary: true
    } %>

    <%= link_to 'Discard changes', "#",class: %w(govuk-link govuk-link--no-visited-state app-link--destructive) %>

    <hr class="govuk-section-break govuk-section-break--m govuk-section-break--visible" />
    <%= link_to "View on GOV.UK", published_url(@coronavirus_page.base_path.delete_prefix("/")), target: "_blank", class: "govuk-link govuk-link--no-visited-state" %>
  </div>
</div>

Use govuk-publishing component button - replace link_to with publishing component - wire up the check live link
Use govuk-publishing component button
- replace link_to with publishing component
- wire up the check live link
