M0: Laravel 12 + Filament 5.7 脚手架,安装 spatie 全家桶/workerman/yansongda/pay,基础配置
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
@import 'tailwindcss';
|
||||
|
||||
@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
|
||||
@source '../../storage/framework/views/*.php';
|
||||
@source '../**/*.blade.php';
|
||||
@source '../**/*.js';
|
||||
|
||||
@theme {
|
||||
--font-sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
||||
'Segoe UI Symbol', 'Noto Color Emoji';
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
import './bootstrap';
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
import axios from 'axios';
|
||||
window.axios = axios;
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
@@ -0,0 +1 @@
|
||||
<img{!! $attributeString !!}@if($loadingAttributeValue) loading="{{ $loadingAttributeValue }}"@endif src="{{ $media->getUrl($conversion) }}" alt="{{ $media->name }}">
|
||||
@@ -0,0 +1,6 @@
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" x="0"
|
||||
y="0" viewBox="0 0 {{ $originalImageWidth }} {{ $originalImageHeight }}">
|
||||
<image width="{{ $originalImageWidth }}" height="{{ $originalImageHeight }}" xlink:href="{{ $tinyImageBase64 }}">
|
||||
</image>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 429 B |
@@ -0,0 +1 @@
|
||||
<img{!! $attributeString !!}@if($loadingAttributeValue) loading="{{ $loadingAttributeValue }}"@endif srcset="{{ $media->getSrcset($conversion) }}" src="{{ $media->getUrl($conversion) }}" width="{{ $width }}" height="{{ $height }}" alt="{{ $media->name }}">
|
||||
@@ -0,0 +1 @@
|
||||
<img{!! $attributeString !!} @if($loadingAttributeValue) loading="{{ $loadingAttributeValue }}"@endif srcset="{{ $media->getSrcset($conversion) }}" onload="window.requestAnimationFrame(function(){if(!(size=getBoundingClientRect().width))return;onload=null;sizes=Math.ceil(size/window.innerWidth*100)+'vw';});" sizes="1px" src="{{ $media->getUrl($conversion) }}" width="{{ $width }}" height="{{ $height }}" alt="{{ $media->name }}">
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
<image:image>
|
||||
@if (! empty($image->url))
|
||||
<image:loc>{{ url($image->url) }}</image:loc>
|
||||
@endif
|
||||
@if (! empty($image->caption))
|
||||
<image:caption>{{ $image->caption }}</image:caption>
|
||||
@endif
|
||||
@if (! empty($image->geo_location))
|
||||
<image:geo_location>{{ $image->geo_location }}</image:geo_location>
|
||||
@endif
|
||||
@if (! empty($image->title))
|
||||
<image:title>{{ $image->title }}</image:title>
|
||||
@endif
|
||||
@if (! empty($image->license))
|
||||
<image:license>{{ $image->license }}</image:license>
|
||||
@endif
|
||||
</image:image>
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<news:news>
|
||||
<news:publication>
|
||||
<news:name>{{ $news->name }}</news:name>
|
||||
<news:language>{{ $news->language }}</news:language>
|
||||
</news:publication>
|
||||
<news:title>{{ $news->title }}</news:title>
|
||||
<news:publication_date>{{ $news->publicationDate->toW3cString() }}</news:publication_date>
|
||||
@foreach($news->options as $tag => $value)
|
||||
<news:{{$tag}}>{{$value}}</news:{{$tag}}>
|
||||
@endforeach
|
||||
</news:news>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?= '<'.'?'.'xml version="1.0" encoding="UTF-8"?>'."\n"; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
|
||||
@foreach($tags as $tag)
|
||||
@include('sitemap::' . $tag->getType())
|
||||
@endforeach
|
||||
</urlset>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?= '<'.'?'.'xml version="1.0" encoding="UTF-8"?>'."\n" ?>
|
||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
@foreach($tags as $tag)
|
||||
@include('sitemap::sitemapIndex/' . $tag->getType())
|
||||
@endforeach
|
||||
</sitemapindex>
|
||||
@@ -0,0 +1,8 @@
|
||||
<sitemap>
|
||||
@if (! empty($tag->url))
|
||||
<loc>{{ url($tag->url) }}</loc>
|
||||
@endif
|
||||
@if (! empty($tag->lastModificationDate))
|
||||
<lastmod>{{ $tag->lastModificationDate->format(DateTime::ATOM) }}</lastmod>
|
||||
@endif
|
||||
</sitemap>
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
<url>
|
||||
@if (! empty($tag->url))
|
||||
<loc>{{ url($tag->url) }}</loc>
|
||||
@endif
|
||||
@if (count($tag->alternates))
|
||||
@foreach ($tag->alternates as $alternate)
|
||||
<xhtml:link rel="alternate" hreflang="{{ $alternate->locale }}" href="{{ url($alternate->url) }}" />
|
||||
@endforeach
|
||||
@endif
|
||||
@if (! is_null($tag->lastModificationDate))
|
||||
<lastmod>{{ $tag->lastModificationDate->format(DateTime::ATOM) }}</lastmod>
|
||||
@endif
|
||||
@if (! is_null($tag->changeFrequency))
|
||||
<changefreq>{{ $tag->changeFrequency }}</changefreq>
|
||||
@endif
|
||||
@if (! is_null($tag->priority))
|
||||
<priority>{{ number_format($tag->priority, 1) }}</priority>
|
||||
@endif
|
||||
@each('sitemap::image', $tag->images, 'image')
|
||||
@each('sitemap::video', $tag->videos, 'video')
|
||||
@each('sitemap::news', $tag->news, 'news')
|
||||
</url>
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
<video:video>
|
||||
<video:thumbnail_loc>{{ $video->thumbnailLoc }}</video:thumbnail_loc>
|
||||
<video:title>{{ $video->title }}</video:title>
|
||||
<video:description>{{ $video->description }}</video:description>
|
||||
@if ($video->contentLoc)
|
||||
<video:content_loc>{{ $video->contentLoc }}</video:content_loc>
|
||||
@endif
|
||||
@if ($video->playerLoc)
|
||||
<video:player_loc>{{ $video->playerLoc }}</video:player_loc>
|
||||
@endif
|
||||
@foreach($video->options as $tag => $value)
|
||||
<video:{{$tag}}>{{$value}}</video:{{$tag}}>
|
||||
@endforeach
|
||||
@foreach($video->allow as $tag => $value)
|
||||
<video:{{$tag}} relationship="allow">{{$value}}</video:{{$tag}}>
|
||||
@endforeach
|
||||
@foreach($video->deny as $tag => $value)
|
||||
<video:{{$tag}} relationship="deny">{{$value}}</video:{{$tag}}>
|
||||
@endforeach
|
||||
@foreach($video->tags as $tag)
|
||||
<video:tag>{{ $tag }}</video:tag>
|
||||
@endforeach
|
||||
</video:video>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user