Skip to content

Commit

Permalink
Fix title typos for error pages
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-ritti committed Apr 15, 2022
1 parent eae5572 commit c34c2e8
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 66 deletions.
52 changes: 30 additions & 22 deletions templates/bundles/TwigBundle/Exception/error.html.twig
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
{% extends 'base.html.twig' %}

{% block title %}
Oops :(
{% endblock %}

{% block content %}
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
Oops :(
</h1>
</div>
</section>
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
Oops :(
</h1>
</div>
</section>

<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.</b><br>
Checkout for any URL misspelling or <a href="/" class="link">return to the homepage</a>.
</p>
</div>
</div>
</div>
</section>
<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">
THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
</b><br />
Checkout for any URL misspelling or <a href="/" class="link">
return to the homepage
</a>.
</p>
</div>
</div>
</div>
</section>
</section>
</div>
</section>
{% endblock %}
52 changes: 30 additions & 22 deletions templates/bundles/TwigBundle/Exception/error404.html.twig
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
{% extends 'base.html.twig' %}

{% block title %}
Page not found
{% endblock %}

{% block content %}
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
Page not found
</h1>
</div>
</section>
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
Page not found
</h1>
</div>
</section>

<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.</b><br>
Checkout for any URL misspelling or <a href="/" class="link">return to the homepage</a>.
</p>
</div>
</div>
</div>
</section>
<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">
THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
</b><br />
Checkout for any URL misspelling or <a href="/" class="link">
return to the homepage
</a>.
</p>
</div>
</div>
</div>
</section>
</section>
</div>
</section>
{% endblock %}
52 changes: 30 additions & 22 deletions templates/bundles/TwigBundle/Exception/error500.html.twig
Original file line number Diff line number Diff line change
@@ -1,28 +1,36 @@
{% extends 'base.html.twig' %}

{% block title %}
Internal server error
{% endblock %}

{% block content %}
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
INTERNAL SERVER ERROR
</h1>
</div>
</section>
<section class="hero">
<div class="hero__inner">
<h1 data-animate="title" class="text-center uppercase">
Internal server error
</h1>
</div>
</section>

<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.</b><br>
Checkout for any URL misspelling or <a href="/" class="link">return to the homepage</a>.
</p>
</div>
</div>
</div>
</section>
<section class="page-content__wrapper">
<div class="page-content__inner">
<section>
<div class="max-w-3xl">
<div class="mx-auto space-y-16 text-lg text-left">
<div class="space-y-8">
<p class="text-base text-center font-light text-waterloo dark:text-santa md:mt-5">
<b class="inline-block mb-4">
THE PAGE YOU WERE LOOKING FOR DOESN'T EXIST.
</b><br />
Checkout for any URL misspelling or <a href="/" class="link">
return to the homepage
</a>.
</p>
</div>
</div>
</div>
</section>
</section>
</div>
</section>
{% endblock %}

0 comments on commit c34c2e8

Please sign in to comment.