This commit is contained in:
Doar Mihai
2026-03-29 15:16:37 +03:00
parent 8ee836ddfa
commit 7be6af781b
8 changed files with 486 additions and 0 deletions
+2
View File
@@ -32,6 +32,8 @@
{{ $desc }}
@endsection
@section('canonical', route('books.show', $book))
@section('content')
<article class="bg-white rounded-lg shadow overflow-hidden">
<div class="md:flex">
+14
View File
@@ -20,6 +20,8 @@
<title>@yield('page_title', config('app.name', 'OpenTextSummaries'))</title>
<meta name="description" content="@yield('meta_description', 'OpenTextSummaries provides free, concise book summaries, key insights, and community reviews to help you learn faster.')">
<link rel="canonical" href="@yield('canonical', url()->current())">
<meta name="robots" content="@yield('robots', 'index,follow')">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">
@@ -32,8 +34,20 @@
@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot')))
@vite(['resources/css/app.css', 'resources/js/app.js'])
@endif
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KPMMW9SG');</script>
<!-- End Google Tag Manager -->
</head>
<body class="bg-gray-50 text-gray-900 min-h-screen">
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KPMMW9SG"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="app" class="flex flex-col min-h-screen">
<!-- Header -->
<header class="bg-white/80 backdrop-blur border-b border-gray-100">
+2
View File
@@ -8,6 +8,8 @@
Learn about OpenTextSummaries — our mission is to make knowledge accessible with concise, readable book summaries and key insights.
@endsection
@section('canonical', url()->current())
@section('content')
<div class="max-w-3xl mx-auto">
<h1 class="text-3xl font-bold text-indigo-700 mb-4">About</h1>
+2
View File
@@ -8,6 +8,8 @@
Get in touch with the OpenTextSummaries team — questions, feedback, or partnership inquiries.
@endsection
@section('canonical', url()->current())
@section('content')
<div class="max-w-xl mx-auto">
<h1 class="text-3xl font-bold text-indigo-700 mb-4">Contact</h1>
+2
View File
@@ -8,6 +8,8 @@
Read the OpenTextSummaries Privacy Policy — what data we collect, how we use it, and your choices.
@endsection
@section('canonical', url()->current())
@section('content')
<div class="max-w-3xl mx-auto">
<h1 class="text-3xl font-bold text-indigo-700 mb-4">Privacy Policy</h1>
+2
View File
@@ -8,6 +8,8 @@
Review the OpenTextSummaries Terms of Service — your responsibilities and the rules for using the site.
@endsection
@section('canonical', url()->current())
@section('content')
<div class="max-w-3xl mx-auto">
<h1 class="text-3xl font-bold text-indigo-700 mb-4">Terms of Service</h1>
+1
View File
@@ -17,6 +17,7 @@
<title>{{ config('app.name', 'Open Text Summaries') }}</title>
<meta name="description" content="OpenTextSummaries offers free, concise book summaries and key insights to help you learn faster and discover great books.">
<link rel="canonical" href="{{ url('/') }}">
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.bunny.net">