-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1219 from hydephp/compatible-view-cleanups
Format Blade HTML
- Loading branch information
Showing
33 changed files
with
246 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ | |
class="text-indigo-500 hover:underline font-medium"> | ||
Read post</a> | ||
</footer> | ||
</article> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
@endforeach | ||
</ol> | ||
</nav> | ||
@endif | ||
@endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ | |
@include('hyde::components.docs.sidebar-toggle-button') | ||
</li> | ||
</ul> | ||
</nav> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
packages/framework/resources/views/components/docs/sidebar-brand.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div id="sidebar-brand" class="flex items-center justify-between h-16 py-4 px-2"> | ||
<strong class="px-2"> | ||
@if(DocumentationPage::home()) | ||
<a href="{{ DocumentationPage::home() }}"> | ||
{{ config('docs.sidebar.header', 'Documentation') }} | ||
</a> | ||
@else | ||
{{ config('docs.sidebar.header', 'Documentation') }} | ||
@endif | ||
</strong> | ||
<x-hyde::navigation.theme-toggle-button class="opacity-75 hover:opacity-100"/> | ||
<strong class="px-2"> | ||
@if(DocumentationPage::home()) | ||
<a href="{{ DocumentationPage::home() }}"> | ||
{{ config('docs.sidebar.header', 'Documentation') }} | ||
</a> | ||
@else | ||
{{ config('docs.sidebar.header', 'Documentation') }} | ||
@endif | ||
</strong> | ||
<x-hyde::navigation.theme-toggle-button class="opacity-75 hover:opacity-100"/> | ||
</div> |
2 changes: 1 addition & 1 deletion
2
packages/framework/resources/views/components/docs/sidebar-footer-text.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p> | ||
<a href="{{ Hyde::relativeLink('index.html') }}">Back to home page</a> | ||
<a href="{{ Hyde::relativeLink('index.html') }}">Back to home page</a> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<a {{ $attributes->merge(['href' => $href]) }}>{!! $slot !!}</a> | ||
<a {{ $attributes->merge(['href' => $href]) }}>{!! $slot !!}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ | |
@endif | ||
</ul> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
packages/framework/resources/views/components/post/author.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
by author | ||
<address itemprop="author" itemscope itemtype="https://schema.org/Person" aria-label="The post author" style="display: inline;"> | ||
@if($page->author->website) | ||
<a href="{{ $page->author->website }}" rel="author" itemprop="url" aria-label="The author's website"> | ||
@endif | ||
<span itemprop="name" aria-label="The author's name" {{ ($page->author->username && ($page->author->username !== $page->author->name)) ? 'title=@'. urlencode($page->author->username) .'' : '' }}>{{ $page->author->name ?? $page->author->username }}</span> | ||
@if($page->author->website) | ||
</a> | ||
@endif | ||
</address> | ||
<address itemprop="author" itemscope itemtype="https://schema.org/Person" aria-label="The post author" style="display: inline;"> | ||
@if($page->author->website) | ||
<a href="{{ $page->author->website }}" rel="author" itemprop="url" aria-label="The author's website"> | ||
@endif | ||
<span itemprop="name" aria-label="The author's name" {{ ($page->author->username && ($page->author->username !== $page->author->name)) ? 'title=@'. urlencode($page->author->username) .'' : '' }}>{{ $page->author->name ?? $page->author->username }}</span> | ||
@if($page->author->website) | ||
</a> | ||
@endif | ||
</address> |
2 changes: 1 addition & 1 deletion
2
packages/framework/resources/views/components/post/category.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
in the category "{{ $page->category }}" | ||
in the category "{{ $page->category }}" |
2 changes: 1 addition & 1 deletion
2
packages/framework/resources/views/components/post/date.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Posted <time itemprop="dateCreated datePublished" datetime="{{ $page->date->datetime }}" title="{{ $page->date->sentence }}">{{ $page->date->short }}</time> | ||
Posted <time itemprop="dateCreated datePublished" datetime="{{ $page->date->datetime }}" title="{{ $page->date->sentence }}">{{ $page->date->short }}</time> |
2 changes: 1 addition & 1 deletion
2
packages/framework/resources/views/components/post/description.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<p itemprop="abstract"> | ||
{{ $page->matter['description'] }} | ||
{{ $page->matter['description'] }} | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
@extends('hyde::layouts.app') | ||
@section('content') | ||
|
||
<main id="content" class="mx-auto max-w-7xl py-16 px-8"> | ||
<h1 class="text-center text-3xl font-bold">Hello World!</h1> | ||
</main> | ||
<main id="content" class="mx-auto max-w-7xl py-16 px-8"> | ||
<h1 class="text-center text-3xl font-bold">Hello World!</h1> | ||
</main> | ||
|
||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.