diff --git a/app/Http/Controllers/MangaController.php b/app/Http/Controllers/MangaController.php new file mode 100644 index 0000000..b240061 --- /dev/null +++ b/app/Http/Controllers/MangaController.php @@ -0,0 +1,66 @@ + + */ + public function rules(): array + { + return [ + // + ]; + } +} diff --git a/app/Http/Requests/UpdateMangaRequest.php b/app/Http/Requests/UpdateMangaRequest.php new file mode 100644 index 0000000..79a29e3 --- /dev/null +++ b/app/Http/Requests/UpdateMangaRequest.php @@ -0,0 +1,28 @@ + + */ + public function rules(): array + { + return [ + // + ]; + } +} diff --git a/app/Models/Manga.php b/app/Models/Manga.php new file mode 100644 index 0000000..bc732e5 --- /dev/null +++ b/app/Models/Manga.php @@ -0,0 +1,11 @@ + + */ +class MangaFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + // + ]; + } +} diff --git a/database/migrations/2023_08_23_114850_create_mangas_table.php b/database/migrations/2023_08_23_114850_create_mangas_table.php new file mode 100644 index 0000000..9144c6a --- /dev/null +++ b/database/migrations/2023_08_23_114850_create_mangas_table.php @@ -0,0 +1,27 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('mangas'); + } +}; diff --git a/database/seeders/MangaSeeder.php b/database/seeders/MangaSeeder.php new file mode 100644 index 0000000..760b087 --- /dev/null +++ b/database/seeders/MangaSeeder.php @@ -0,0 +1,17 @@ +=3.0.0 <4.0.0", @@ -808,7 +826,7 @@ "sass": "sass.js" }, "engines": { - "node": ">=14.0.0" + "node": ">=12.0.0" } }, "node_modules/source-map-js": { diff --git a/package.json b/package.json index 2796b73..424edca 100644 --- a/package.json +++ b/package.json @@ -7,10 +7,13 @@ }, "devDependencies": { "@popperjs/core": "^2.11.6", - "axios": "^1.1.2", - "bootstrap": "^5.2.3", + "axios": "^1.4.0", + "bootstrap": "^5.3.1", "laravel-vite-plugin": "^0.8.0", "sass": "^1.56.1", "vite": "^4.0.0" + }, + "dependencies": { + "bootstrap-icons": "^1.10.5" } } diff --git a/public/img/sample.jpg b/public/img/sample.jpg new file mode 100644 index 0000000..44368c0 Binary files /dev/null and b/public/img/sample.jpg differ diff --git a/resources/sass/_variables.scss b/resources/sass/_variables.scss index 172daaa..35d16b9 100644 --- a/resources/sass/_variables.scss +++ b/resources/sass/_variables.scss @@ -5,3 +5,4 @@ $body-bg: #f8fafc; $font-family-sans-serif: 'Nunito', sans-serif; $font-size-base: 0.9rem; $line-height-base: 1.6; + diff --git a/resources/sass/app.scss b/resources/sass/app.scss index 1026a0b..5c5a5bd 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -4,5 +4,37 @@ // Variables @import 'variables'; +@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;800&display=swap'); + + * { + font-family: 'Poppins', sans-serif; + } + + // Bootstrap Icons + @import url('bootstrap-icons'); + + // Variables +// @import 'variables'; + // Bootstrap @import 'bootstrap/scss/bootstrap'; +@import "../../node_modules/bootstrap/scss/functions"; + + +// Required +@import "../../node_modules/bootstrap/scss/variables"; +@import "../node_modules/bootstrap/scss/variables-dark"; +@import "../node_modules/bootstrap/scss/maps"; +@import "../node_modules/bootstrap/scss/mixins"; +@import "../node_modules/bootstrap/scss/root"; + + + + +$custom-colors:( + 'lightGrey' : #ebebeb, + 'grey' : #7b7b7b +); + +// Merge the maps +$theme-colors : map-merge($theme-colors, $custom-colors); diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php new file mode 100644 index 0000000..b691421 --- /dev/null +++ b/resources/views/index.blade.php @@ -0,0 +1,82 @@ +@extends('layouts.master') + + +@section('content') +
+
+
+
+
+
+ img +
+
+
The Villainous Desciple
+
+ Chapter + 5 + 5 mins ago +
+
+ Chapter + 4 + 4 mins ago +
+
+
+
+
+
+
+ img +
+
+
The Villainous Desciple
+
+ Chapter + 5 + 5 mins ago +
+
+ Chapter + 4 + 4 mins ago +
+
+
+
+
dfg
+
gdfg
+
+
+
+

Manga Hot

+
+
+
+ img +
+

The Villainous Desciple

+
+ Chapter + 5 + 5 mins ago +
+
+ Chapter + 4 + 4 mins ago +
+
+
+
+
+
+
+@endsection diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php new file mode 100644 index 0000000..2d38f08 --- /dev/null +++ b/resources/views/layouts/master.blade.php @@ -0,0 +1,27 @@ + + + + + + + + {{ config('app.name', 'MangaDex') }} + + + @vite(['resources/sass/app.scss', 'resources/js/app.js']) + + + + + @include('partials.nav') + + +
+ @yield('content') +
+ + + + + + diff --git a/resources/views/partials/nav.blade.php b/resources/views/partials/nav.blade.php new file mode 100644 index 0000000..462c0bd --- /dev/null +++ b/resources/views/partials/nav.blade.php @@ -0,0 +1,28 @@ + diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php deleted file mode 100644 index 638ec96..0000000 --- a/resources/views/welcome.blade.php +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - - Laravel - - - - - - - - - -
- @if (Route::has('login')) -
- @auth - Home - @else - Log in - - @if (Route::has('register')) - Register - @endif - @endauth -
- @endif - - -
- - diff --git a/routes/web.php b/routes/web.php index 3b126a0..6ba38c9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,5 +1,6 @@ name('home'); +