SSR Switch
This commit is contained in:
5
resources/views/articles/show.blade.php
Normal file
5
resources/views/articles/show.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
@endsection
|
||||
11
resources/views/home.blade.php
Normal file
11
resources/views/home.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('content')
|
||||
<todays-pick></todays-pick>
|
||||
|
||||
<discover-topics></discover-topics>
|
||||
|
||||
<available-sources></available-sources>
|
||||
|
||||
<recent-stories></recent-stories>
|
||||
@endsection
|
||||
@@ -44,7 +44,7 @@
|
||||
@include('partials.header')
|
||||
|
||||
<main class="mt-12">
|
||||
<router-view></router-view>
|
||||
@yield('content')
|
||||
</main>
|
||||
|
||||
@include('partials.footer')
|
||||
@@ -3,8 +3,8 @@
|
||||
class="flex flex-col max-w-screen-xl px-4 mx-auto md:items-center md:justify-between md:flex-row md:px-6 lg:px-8">
|
||||
|
||||
<div class="p-4 flex flex-row items-center justify-between">
|
||||
<router-link to="/"
|
||||
class="text-lg font-semibold tracking-widest text-gray-900 uppercase rounded-lg dark-mode:text-white focus:outline-none focus:shadow-outline">Baraveli News</router-link>
|
||||
<a href="/"
|
||||
class="text-lg font-semibold tracking-widest text-gray-900 uppercase rounded-lg dark-mode:text-white focus:outline-none focus:shadow-outline">Baraveli News</a>
|
||||
</div>
|
||||
|
||||
<nav class="flex-col flex-grow pb-4 md:pb-0 hidden md:flex md:justify-end md:flex-row">
|
||||
|
||||
Reference in New Issue
Block a user