APK and beta

This commit is contained in:
2020-08-24 10:25:08 +05:00
parent a98f666ba0
commit 60a9ff3f16
3 changed files with 16 additions and 8 deletions

BIN
public/app/karudhaas.apk Normal file

Binary file not shown.

View File

@@ -265,6 +265,11 @@
<!--Left Col-->
<div class="flex flex-col w-full xl:w-2/5 justify-center lg:items-start overflow-y-hidden">
<div class="w-16 bg-red-600 rounded-full py-1 px-4 font-bold text-white">
Beta
</div>
<div class="my-4 slide-in-bottom-h1 flex justify-center">
<img src="/images/karudhaas.png" class="w-64">
</div>

View File

@@ -21,23 +21,27 @@ use App\Topic;
|
*/
Route::get('/', function(){
Route::get('/', function () {
return view('home');
});
Route::get('/preview', function(){
Route::get('/preview', function () {
return view('pages.preview');
});
Route::get('/article/{article:id}', [ArticlesController::class,'show'])->name('articles.show');
Route::get('/topic/{topic:slug}', [TopicsController::class,'show'])->name('topics.show');
Route::get('/source/{source:slug}', [SourcesController::class,'show'])->name('sources.show');
Route::get('/download/android', function () {
return response()->download(public_path('app/karudhaas.apk'));
});
Route::get('/article/{article:id}', [ArticlesController::class, 'show'])->name('articles.show');
Route::get('/topic/{topic:slug}', [TopicsController::class, 'show'])->name('topics.show');
Route::get('/source/{source:slug}', [SourcesController::class, 'show'])->name('sources.show');
Route::get('/mylist', [MylistController::class, 'index'])->name('mylist.index');
Route::post('/mylist/{article:id}', [MylistController::class, 'store'])->name('mylist.store');
Route::get('/about', function(){
Route::get('/about', function () {
return view('pages.about', [
'sources' => Source::all(),
'total_topics' => Topic::count(),
@@ -45,10 +49,9 @@ Route::get('/about', function(){
]);
});
Route::get('/ogimage', function(Request $request) {
Route::get('/ogimage', function (Request $request) {
$article = Article::findOrFail($request->query('id'));
return view('ogimage', ['article' => $article]);
});