+ Laravel's robust library of first-party tools and libraries, such as Forge, Vapor, Nova, Envoyer, and Herd help you take your projects to the next level. Pair them with powerful open source libraries like Cashier, Dusk, Echo, Horizon, Sanctum, Telescope, and more.
+
+
+
+
+
+
+
-
diff --git a/routes/console.php b/routes/console.php
index e05f4c9..eff2ed2 100644
--- a/routes/console.php
+++ b/routes/console.php
@@ -3,17 +3,6 @@
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
-/*
-|--------------------------------------------------------------------------
-| Console Routes
-|--------------------------------------------------------------------------
-|
-| This file is where you may define all of your Closure based console
-| commands. Each Closure is bound to a command instance allowing a
-| simple approach to interacting with each command's IO methods.
-|
-*/
-
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
-})->purpose('Display an inspiring quote');
+})->purpose('Display an inspiring quote')->hourly();
diff --git a/routes/web.php b/routes/web.php
index 4d7feb0..86a06c5 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,38 +1,7 @@
'App\Http\Controllers'], function()
-{
- /**
- * Auth Routes
- */
- Auth::routes();
-
- /**
- * Home Routes
- */
- Route::get('/', 'WelcomeController@index');
- Route::get('lang/{locale}', 'Settings\LocalizationController@index')->name('localization.change');
-
- //Translation settings
- Route::get('/translation/create', [TranslationController::class, 'create'])->name('language.create');
- Route::post('/translation/store', [TranslationController::class, 'store'])->name('language.store');
- Route::get('/translation', [TranslationController::class, 'index'])->name('translation.index');
- Route::get('/translation/edit/{lang}/{dir?}/{file?}', [TranslationController::class, 'edit'])->name('translation.edit');
- Route::post('/translation/save', [TranslationController::class, 'save'])->name('translation.save');
- Route::post('/translation/translate', [TranslationController::class, 'translate'])->name('translation.translate');
-
+Route::get('/', function () {
+ return view('welcome');
});
diff --git a/storage/app/.gitignore b/storage/app/.gitignore
index 8f4803c..fedb287 100644
--- a/storage/app/.gitignore
+++ b/storage/app/.gitignore
@@ -1,3 +1,4 @@
*
+!private/
!public/
!.gitignore
diff --git a/storage/app/private/.gitignore b/storage/app/private/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/storage/app/private/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/tailwind.config.js b/tailwind.config.js
new file mode 100644
index 0000000..ce0c57f
--- /dev/null
+++ b/tailwind.config.js
@@ -0,0 +1,20 @@
+import defaultTheme from 'tailwindcss/defaultTheme';
+
+/** @type {import('tailwindcss').Config} */
+export default {
+ content: [
+ './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
+ './storage/framework/views/*.php',
+ './resources/**/*.blade.php',
+ './resources/**/*.js',
+ './resources/**/*.vue',
+ ],
+ theme: {
+ extend: {
+ fontFamily: {
+ sans: ['Figtree', ...defaultTheme.fontFamily.sans],
+ },
+ },
+ },
+ plugins: [],
+};
diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php
index 78ccc21..8364a84 100644
--- a/tests/Feature/ExampleTest.php
+++ b/tests/Feature/ExampleTest.php
@@ -2,17 +2,15 @@
namespace Tests\Feature;
-use Illuminate\Foundation\Testing\RefreshDatabase;
+// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
- *
- * @return void
*/
- public function test_the_application_returns_a_successful_response()
+ public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
diff --git a/tests/TestCase.php b/tests/TestCase.php
index 2932d4a..fe1ffc2 100644
--- a/tests/TestCase.php
+++ b/tests/TestCase.php
@@ -6,5 +6,5 @@
abstract class TestCase extends BaseTestCase
{
- use CreatesApplication;
+ //
}
diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php
index e5c5fef..5773b0c 100644
--- a/tests/Unit/ExampleTest.php
+++ b/tests/Unit/ExampleTest.php
@@ -8,10 +8,8 @@ class ExampleTest extends TestCase
{
/**
* A basic test example.
- *
- * @return void
*/
- public function test_that_true_is_true()
+ public function test_that_true_is_true(): void
{
$this->assertTrue(true);
}
diff --git a/vite.config.js b/vite.config.js
new file mode 100644
index 0000000..421b569
--- /dev/null
+++ b/vite.config.js
@@ -0,0 +1,11 @@
+import { defineConfig } from 'vite';
+import laravel from 'laravel-vite-plugin';
+
+export default defineConfig({
+ plugins: [
+ laravel({
+ input: ['resources/css/app.css', 'resources/js/app.js'],
+ refresh: true,
+ }),
+ ],
+});