diff --git a/.prettierrc b/.prettierrc index 57b161e..66e2302 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,36 +1,36 @@ { - "overrides": [ - { - "files": ".prettierrc", - "options": { "parser": "json" } - }, - { - "files": "*.scss", - "options": { - "tabWidth": 4, - "semi": false, - "singleQuote": true, - "printWidth": 90 - } - }, - { - "files": "*.js", - "options": { - "arrowParens": "avoid", - "bracketSpacing": true, - "htmlWhitespaceSensitivity": "css", - "insertPragma": false, - "bracketSameLine": false, - "jsxSingleQuote": true, - "proseWrap": "preserve", - "requirePragma": false, - "semi": true, - "singleQuote": true, - "trailingComma": "none", - "useTabs": true, - "tabWidth": 4, - "printWidth": 90 - } - } - ] + "overrides": [ + { + "files": ".prettierrc", + "options": { "parser": "json" } + }, + { + "files": "*.css", + "options": { + "tabWidth": 2, + "semi": false, + "singleQuote": true, + "printWidth": 90 + } + }, + { + "files": "*.js", + "options": { + "arrowParens": "avoid", + "bracketSpacing": true, + "htmlWhitespaceSensitivity": "css", + "insertPragma": false, + "bracketSameLine": false, + "jsxSingleQuote": true, + "proseWrap": "preserve", + "requirePragma": false, + "semi": true, + "singleQuote": true, + "trailingComma": "none", + "useTabs": true, + "tabWidth": 4, + "printWidth": 90 + } + } + ] } diff --git a/app/Http/Controllers/FrontIndexController.php b/app/Http/Controllers/FrontIndexController.php new file mode 100644 index 0000000..8b7399d --- /dev/null +++ b/app/Http/Controllers/FrontIndexController.php @@ -0,0 +1,16 @@ + $count]); + } +} diff --git a/app/Http/Controllers/LocationController.php b/app/Http/Controllers/LocationController.php new file mode 100644 index 0000000..6f75150 --- /dev/null +++ b/app/Http/Controllers/LocationController.php @@ -0,0 +1,10 @@ + - <title>App Name - @yield('title') + @yield('title') diff --git a/resources/views/front/index.blade.php b/resources/views/front/index.blade.php index ce2a7bf..adcaec7 100644 --- a/resources/views/front/index.blade.php +++ b/resources/views/front/index.blade.php @@ -6,4 +6,5 @@ @parent

This is where we start

+ {{ $count }} @endsection diff --git a/routes/web.php b/routes/web.php index 893ed05..a8edffa 100644 --- a/routes/web.php +++ b/routes/web.php @@ -1,6 +1,7 @@