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
import { NextResponse } from 'next/server' | |
import incrementalPaths from '@public/indices/incrementalPaths' | |
const proxyHost = process.env.LEADPAGES_BLOG_PROXY_HOST | |
const proxyPath = process.env.LEADPAGES_BLOG_PROXY_PATH | |
const patterns = incrementalPaths?.map( | |
(pathname) => new URLPattern({ pathname }) | |
) |
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
<?php | |
namespace App; | |
/** | |
* Custom Blade directives | |
*/ | |
add_action('after_setup_theme', function () { | |
/** | |
* Icon Blade directives | |
*/ |
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
{{-- /resources/views/partials/hero.blade.php --}} | |
<section class="hero"> | |
<div class="hero__images"> | |
<img class="hero__images-back" src="{{ $bg_image }}" /> | |
<img class="hero__images-front" src="{{ $front_image }}" /> | |
</div> | |
<div class="container"> | |
<h1>{{ $title }}</h1> | |
<p>{{ $sub_title }}</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
<?php | |
// app/controllers/App.php | |
namespace App; | |
use Sober\Controller\Controller; | |
class App extends Controller | |
{ | |
use Blocks; |