Skip to content
This repository was archived by the owner on Jan 6, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 34 additions & 34 deletions error.hbs
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
{{!< default}}

<section class="w-full max-w-screen-xl mx-auto my-0">
<section class="gh-error-content">
<h1 class="gh-error-code">
<section class="prose text-center max-w-screen-sm mx-auto">
<h1 class="text-8xl mx-0 my-0">
{{statusCode}}
</h1>
<p class="gh-error-description">
<p class="text-xl mx-0 my-0">
{{message}}
</p>
<p class="gh-error-link">
<p class="text-base mx-0 my-3">
<a href="{{@site.url}}">
Go to the front page →
</a>
</p>

{{#if errorDetails}}
<section class="gh-error-stack">
<h4>
Theme errors:
</h4>
<ul class="gh-error-stack-list">
{{#foreach errorDetails}}
<li>
<h5 class="gh-error-stack-function">
{{{rule}}}
</h5>

{{#foreach failures}}
<span class="gh-error-stack-file">
<strong>
Ref:
</strong>
{{ref}}
</span>
<br />
<span class="gh-error-stack-file">
<strong>
Message:
</strong>
{{message}}
</span>
{{/foreach}}
</li>
{{/foreach}}
</ul>
</section>
<section class="text-left py-4">
<h4>
Theme errors:
</h4>
<ul class="text-sm mt-2">
{{#foreach errorDetails}}
<li class="px-0 py-5 m-0">
<h5 class="mb-0.5 border-t border-gray-300">
{{{rule}}}
</h5>
{{#foreach failures}}
<span>
<strong>
Ref:
</strong>
{{ref}}
</span>
<br />
<span>
<strong>
Message:
</strong>
{{message}}
</span>
{{/foreach}}
</li>
{{/foreach}}
</ul>
</section>
{{/if}}
</section>
</section>
2 changes: 1 addition & 1 deletion home.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{!< default}}

<div class="w-full max-w-screen-xl mx-auto my-0 max-w-none">
<div class="w-full max-w-screen-xl mx-auto my-0 max-w-none prose">
<h2 class="text-center m-4">
Featured Stories
</h2>
Expand Down
6 changes: 3 additions & 3 deletions page-stories.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div class="w-full max-w-screen-xl mx-auto my-0">
<article class="stories-description gh-canvas mb-4 prose lg:prose-xl max-w-none">
<header>
<h1 class="gh-header">Stories</h1>
<h1>Stories</h1>
</header>
<h3 class="gh-header">Types of Stories</h3>
<h3>Types of Stories</h3>
<p>With our <strong>Conversations, Insights and Reflections</strong> series, Advisory hopes to provide a platform through which youths can learn about various professions.</p>
<div class="d-flex justify-content-center">
<div class="p-4">
Expand All @@ -28,7 +28,7 @@
</ol>
</article>
<div class="filter p-4">
<h3 class="gh-header">Tags</h3>
<span class="prose lg:prose-xl"><h3>Tags</h3></span>
<div class="col-xs-12 col-md-10 col-lg-8 offset-md-1 offset-lg-2 pt-4">
<div class="row">
<div class="col-xs-12 col-md-6 pb-4">
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
important: true,
mode: "jit",
purge: [
"*.hbs",
Expand Down