diff --git a/web/app/Http/Controllers/Web/ShopController.php b/web/app/Http/Controllers/Web/ShopController.php new file mode 100644 index 0000000..a1b5656 --- /dev/null +++ b/web/app/Http/Controllers/Web/ShopController.php @@ -0,0 +1,14 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('assets'); + } +}; diff --git a/web/public/images/item-image-vignette.png b/web/public/images/item-image-vignette.png new file mode 100644 index 0000000..9eacd75 Binary files /dev/null and b/web/public/images/item-image-vignette.png differ diff --git a/web/resources/sass/Graphictoria.scss b/web/resources/sass/Graphictoria.scss index bb837ec..bebcca5 100644 --- a/web/resources/sass/Graphictoria.scss +++ b/web/resources/sass/Graphictoria.scss @@ -32,6 +32,53 @@ img.twemoji { //vertical-align: -0.1em; } +// Shop + +.graphictoria-item-card { + text-decoration: none!important; + font-weight: 400!important; + display: inline-block; + padding: 0; + + flex: 0 0 auto; + width: 33.33333333%; + + @media (min-width: 768px) { + flex: 0 0 auto; + width: 25%; + } + + @media (min-width: 992px) { + flex: 0 0 auto; + width: 16.66666667%; + } + + @media (min-width: 1400px) { + flex: 0 0 auto; + width: 11.1111111%; + } +} + +.graphictoria-item-card > span > img { + background: url("/Images/Item-Image-Vignette.png"); + background-size: cover; +} + +.graphictoria-catalog-overlay { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + display: flex; + background: rgb(40 40 40 / 12%); + z-index: 10; +} + +.graphictoria-catalog-overlay > .gtoria-loader { + margin: auto; +} + // Maintenance .gtoria-maintenance-background { diff --git a/web/resources/views/web/shop/index.blade.php b/web/resources/views/web/shop/index.blade.php new file mode 100644 index 0000000..72b53c1 --- /dev/null +++ b/web/resources/views/web/shop/index.blade.php @@ -0,0 +1,36 @@ +@extends('layouts.app') + +@section('title', 'Shop') + +@section('content') +
+
+
+

Shop

+
+
+ +
+ + +
+
+
+
+
+ +
+
+ + + +
+

Test hat

+

Free

+
+
+
+
+
+
+@endsection \ No newline at end of file diff --git a/web/routes/web.php b/web/routes/web.php index 1cc88cf..0e3974e 100644 --- a/web/routes/web.php +++ b/web/routes/web.php @@ -5,6 +5,10 @@ Route::group(['as' => 'home.'], function() { Route::get('/my/dashboard', 'HomeController@dashboard')->name('dashboard')->middleware('auth'); }); +Route::group(['as' => 'shop.', 'prefix' => 'shop'], function() { + Route::get('/', 'ShopController@index')->name('index'); +}); + Route::group(['as' => 'auth.', 'namespace' => 'Auth'], function() { Route::group(['as' => 'protection.', 'prefix' => 'request-blocked'], function() { Route::get('/', 'DoubleSessionBlockController@index')->name('index');