Skip to content

Commit

Permalink
Feature/changelog generator (#164)
Browse files Browse the repository at this point in the history
* Added view

* Added handler and route

* Assets recompiled for production
  • Loading branch information
l-alexandrov committed Apr 22, 2024
1 parent e9885a8 commit a238196
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 3 deletions.
9 changes: 9 additions & 0 deletions app/Http/Controllers/ToolsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,13 @@ public function responsiveImages(): Factory|View|Application
'keywords' => 'responsive images, image generator, image resonsive, image breakpoints, free, online generator, image tools, srcset, sm, xs, md, lg, 2xl, google lighthouse report'
]]);
}

public function keepALog(): Factory|\Illuminate\Foundation\Application|View|Application
{
return view('theme::tools.keep-a-log', ['seo' => [
'seo_title' => 'Keep a log',
'seo_description' => 'Keep a log of what has been changed in your product.',
'keywords' => 'keep a log, changelog, changelog generator, free, product tools, product management, what is new, added, removed, version, changed, versioning, markdown, md'
]]);
}
}
2 changes: 1 addition & 1 deletion public/themes/bimbala/css/app.css

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion public/themes/bimbala/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"/js/app.js": "/js/app.js?id=cdc47ef45ac39b055a6448dce1be561a",
"/css/app.css": "/css/app.css?id=ef9413ad947ce1f564d4b5bb948820ef"
"/css/app.css": "/css/app.css?id=4097f645a0ae313166773fd749aad553"
}
2 changes: 1 addition & 1 deletion resources/views/themes/bimbala/apps.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<div class="flex flex-col justify-center mt-5 mb-8 md:mt-0 sm:w-1/2 md:w-6/12 sm:pl-16">
<h2 class="my-4 text-2xl sm:text-left md:text-4xl">Mobile</h2>
<p class="mt-5 text-lg text-gray-700 text md:text-left">
<a href="https://github.com/Bimbalacom/Mobile/releases/latest">
<a href="https://play.google.com/store/apps/details?id=com.bimbala">
<button class="bg-gray-100 inline-flex py-3 px-5 rounded-lg items-center hover:bg-gray-200 focus:outline-none">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="w-6 h-6" viewBox="0 0 512 512">
<path d="M99.617 8.057a50.191 50.191 0 00-38.815-6.713l230.932 230.933 74.846-74.846L99.617 8.057zM32.139 20.116c-6.441 8.563-10.148 19.077-10.148 30.199v411.358c0 11.123 3.708 21.636 10.148 30.199l235.877-235.877L32.139 20.116zM464.261 212.087l-67.266-37.637-81.544 81.544 81.548 81.548 67.273-37.64c16.117-9.03 25.738-25.442 25.738-43.908s-9.621-34.877-25.749-43.907zM291.733 279.711L60.815 510.629c3.786.891 7.639 1.371 11.492 1.371a50.275 50.275 0 0027.31-8.07l266.965-149.372-74.849-74.847z"></path>
Expand Down
23 changes: 23 additions & 0 deletions resources/views/themes/bimbala/tools.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,29 @@ class="absolute inset-0 flex flex-col justify-between bg-gradient-to-b from-tran
</div>
</div>
</a>
<a
href="{{route('tools.keep-a-log')}}"
class="group aspect-h-10 aspect-w-16 relative overflow-hidden rounded-2xl bg-black/25 transition hover:ring-4 hover:ring-indigo-500/50 active:opacity-75 active:ring-indigo-500/25"
>
<img
class="object-cover rounded-b-3xl"
src="{{ asset('themes/bimbala/images/tools/keep-a-log.webp') }}"
alt="Generate a changelog"
width="100%"
height="100%"
/>
<div
class="absolute inset-0 flex flex-col justify-between bg-gradient-to-b from-transparent via-black/10 to-black"
>
<div class="flex flex-1 items-end justify-between gap-2 px-4 py-5">
<div class="space-y-1">
<h2 class="text-xl font-semibold text-white">
Keep a log - changelog generator
</h2>
</div>
</div>
</div>
</a>
<!-- END Tool -->
</nav>
</section>
Expand Down
10 changes: 10 additions & 0 deletions resources/views/themes/bimbala/tools/keep-a-log.blade.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@extends('theme::layouts.app')

@section('content')
<div class="bg-gray-100 h-screen overflow-hidden">
<div class="pt-12">
<p class="text-center text-xl prose-sm">Outline what has been changed in your product and we will convert it to a Markdown changelog. It would make the product management much easier.</p>
</div>
<iframe src="https://bimbalacom.github.io/keep-a-log" frameborder="0" loading="eager" class="overflow-hidden focus:outline-none md:mx-auto md:w-[70%] w-full h-full" scrolling="no" fetchpriority="high">Your browser doesn't support iframes.</iframe>
</div>
@endsection
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
Route::prefix('tools')->name('tools.')->group(function () {
Route::get('/', [ToolsController::class, 'index'])->name('index');
Route::get('responsive-images', [ToolsController::class, 'responsiveImages'])->name('responsive-images');
Route::get('keep-a-log', [ToolsController::class, 'keepALog'])->name('keep-a-log');
});
Route::redirect('/discord','https://discord.gg/tADx7aJusB');

Expand Down

0 comments on commit a238196

Please sign in to comment.