Skip to content

Commit 44a5571

Browse files
committed
refactor(multi): updated all pages & assets as per new design
1 parent 3e226a6 commit 44a5571

File tree

217 files changed

+10063
-30873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+10063
-30873
lines changed

.env

Lines changed: 27 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@ APP_NAME=Laravel
22
APP_ENV=local
33
APP_KEY=base64:mln1keRjYJYz06TPXJg8SZhJ7JN+oToy08vrPQhoq78=
44
APP_DEBUG=true
5+
APP_TIMEZONE=UTC
56
APP_URL=http://localhost
67

8+
APP_LOCALE=en
9+
APP_FALLBACK_LOCALE=en
10+
APP_FAKER_LOCALE=en_US
11+
12+
APP_MAINTENANCE_DRIVER=file
13+
APP_MAINTENANCE_STORE=database
14+
15+
BCRYPT_ROUNDS=12
16+
717
LOG_CHANNEL=stack
18+
LOG_STACK=single
819
LOG_DEPRECATIONS_CHANNEL=null
920
LOG_LEVEL=debug
1021

@@ -15,22 +26,29 @@ DB_DATABASE=laravel
1526
DB_USERNAME=root
1627
DB_PASSWORD=
1728

18-
BROADCAST_DRIVER=log
19-
CACHE_DRIVER=file
20-
FILESYSTEM_DISK=local
21-
QUEUE_CONNECTION=sync
22-
SESSION_DRIVER=file
29+
SESSION_DRIVER=database
2330
SESSION_LIFETIME=120
31+
SESSION_ENCRYPT=false
32+
SESSION_PATH=/
33+
SESSION_DOMAIN=null
34+
35+
BROADCAST_CONNECTION=log
36+
FILESYSTEM_DISK=local
37+
QUEUE_CONNECTION=database
38+
39+
CACHE_STORE=database
40+
CACHE_PREFIX=
2441

2542
MEMCACHED_HOST=127.0.0.1
2643

44+
REDIS_CLIENT=phpredis
2745
REDIS_HOST=127.0.0.1
2846
REDIS_PASSWORD=null
2947
REDIS_PORT=6379
3048

31-
MAIL_MAILER=smtp
32-
MAIL_HOST=mailpit
33-
MAIL_PORT=1025
49+
MAIL_MAILER=log
50+
MAIL_HOST=127.0.0.1
51+
MAIL_PORT=2525
3452
MAIL_USERNAME=null
3553
MAIL_PASSWORD=null
3654
MAIL_ENCRYPTION=null
@@ -43,13 +61,4 @@ AWS_DEFAULT_REGION=us-east-1
4361
AWS_BUCKET=
4462
AWS_USE_PATH_STYLE_ENDPOINT=false
4563

46-
PUSHER_APP_ID=
47-
PUSHER_APP_KEY=
48-
PUSHER_APP_SECRET=
49-
PUSHER_HOST=
50-
PUSHER_PORT=443
51-
PUSHER_SCHEME=https
52-
PUSHER_APP_CLUSTER=mt1
53-
54-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
55-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
64+
VITE_APP_NAME="${APP_NAME}"

.env.example

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,53 @@ APP_NAME=Laravel
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=true
5+
APP_TIMEZONE=UTC
56
APP_URL=http://localhost
67

8+
APP_LOCALE=en
9+
APP_FALLBACK_LOCALE=en
10+
APP_FAKER_LOCALE=en_US
11+
12+
APP_MAINTENANCE_DRIVER=file
13+
APP_MAINTENANCE_STORE=database
14+
15+
BCRYPT_ROUNDS=12
16+
717
LOG_CHANNEL=stack
18+
LOG_STACK=single
819
LOG_DEPRECATIONS_CHANNEL=null
920
LOG_LEVEL=debug
1021

11-
DB_CONNECTION=mysql
12-
DB_HOST=127.0.0.1
13-
DB_PORT=3306
14-
DB_DATABASE=laravel
15-
DB_USERNAME=root
16-
DB_PASSWORD=
22+
DB_CONNECTION=sqlite
23+
# DB_HOST=127.0.0.1
24+
# DB_PORT=3306
25+
# DB_DATABASE=laravel
26+
# DB_USERNAME=root
27+
# DB_PASSWORD=
1728

18-
BROADCAST_DRIVER=log
19-
CACHE_DRIVER=file
20-
FILESYSTEM_DISK=local
21-
QUEUE_CONNECTION=sync
22-
SESSION_DRIVER=file
29+
SESSION_DRIVER=database
2330
SESSION_LIFETIME=120
31+
SESSION_ENCRYPT=false
32+
SESSION_PATH=/
33+
SESSION_DOMAIN=null
34+
35+
BROADCAST_CONNECTION=log
36+
FILESYSTEM_DISK=local
37+
QUEUE_CONNECTION=database
38+
39+
CACHE_STORE=database
40+
CACHE_PREFIX=
2441

2542
MEMCACHED_HOST=127.0.0.1
2643

44+
REDIS_CLIENT=phpredis
2745
REDIS_HOST=127.0.0.1
2846
REDIS_PASSWORD=null
2947
REDIS_PORT=6379
3048

31-
MAIL_MAILER=smtp
32-
MAIL_HOST=mailpit
33-
MAIL_PORT=1025
49+
MAIL_MAILER=log
50+
MAIL_HOST=127.0.0.1
51+
MAIL_PORT=2525
3452
MAIL_USERNAME=null
3553
MAIL_PASSWORD=null
3654
MAIL_ENCRYPTION=null
@@ -43,13 +61,4 @@ AWS_DEFAULT_REGION=us-east-1
4361
AWS_BUCKET=
4462
AWS_USE_PATH_STYLE_ENDPOINT=false
4563

46-
PUSHER_APP_ID=
47-
PUSHER_APP_KEY=
48-
PUSHER_APP_SECRET=
49-
PUSHER_HOST=
50-
PUSHER_PORT=443
51-
PUSHER_SCHEME=https
52-
PUSHER_APP_CLUSTER=mt1
53-
54-
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
55-
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
64+
VITE_APP_NAME="${APP_NAME}"

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/*.*
2+
!resources/assets/vendor/js/*.js

.eslintrc.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"jquery": true
7+
},
8+
"plugins": ["prettier"],
9+
"extends": ["airbnb-base", "plugin:prettier/recommended"],
10+
"rules": {
11+
"prettier/prettier": "error",
12+
"no-underscore-dangle": "off",
13+
"semi": ["error", "never"],
14+
"arrow-parens": ["error", "as-needed"],
15+
"no-param-reassign": "off",
16+
"no-plusplus": [
17+
"error",
18+
{
19+
"allowForLoopAfterthoughts": true
20+
}
21+
],
22+
"no-cond-assign": ["error", "except-parens"]
23+
}
24+
}

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Bug 🐞
2-
description: Report a bug
2+
description: Report a bug
33
labels: [support, bug]
44
body:
55
- type: markdown
@@ -27,11 +27,11 @@ body:
2727
value: |
2828
<!-- If technical bug
2929
NodeJS Version:
30-
Package manager(npm|yarn|pnpm):
30+
Package manager(npm|yarn|pnpm):
3131
Browser name & version:
3232
System:
3333
-->
34-
34+
3535
<!-- If design file bug
3636
Technology(figma|sketch):
3737
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: false
1+
blank_issues_enabled: false

.github/workflows/handle-new-issue-comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Handle new issue comment'
1+
name: '💬 Handle new issue comment'
22
on:
33
issue_comment:
44
types: [created]
@@ -9,6 +9,6 @@ jobs:
99
name: Handle new issue comment
1010
steps:
1111
- name: Toggle awaiting-reply label
12-
uses: jd-solanki/[email protected].0
12+
uses: jd-solanki/[email protected].2
1313
with:
1414
label: awaiting-reply

.github/workflows/handle-new-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
comment: >
1717
Potential duplicates: {{#issues}}
1818
- #{{ number }} _({{ accuracy }}% Match)_
19-
{{/issues}}
19+
{{/issues}}

.github/workflows/issue-staler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Close stale issues and PRs'
1+
name: '😶‍🌫️ Close stale issues and PRs'
22
on:
33
schedule:
44
- cron: '30 1 * * *'

.gitignore

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,11 @@ Homestead.json
1818
Homestead.yaml
1919
npm-debug.log
2020
yarn-error.log
21+
/.fleet
2122
/.idea
23+
/.vscode
2224

25+
!/public/assets
26+
!/public/assets/*
2327
/public/css
2428
/public/js
25-
/public/mix-manifest.json
26-
# But not these files...
27-
!/public/assets/*
28-
/public/assets/js
29-
/public/assets/css
30-
/public/assets/vendor

.prettierrc.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"arrowParens": "avoid",
33
"bracketSpacing": true,
4+
"bracketSameLine": true,
45
"htmlWhitespaceSensitivity": "css",
56
"insertPragma": false,
67
"jsxSingleQuote": true,
@@ -12,5 +13,17 @@
1213
"singleQuote": true,
1314
"tabWidth": 2,
1415
"trailingComma": "none",
15-
"useTabs": false
16-
}
16+
"useTabs": false,
17+
"endOfLine": "lf",
18+
"embeddedLanguageFormatting": "auto",
19+
"overrides": [
20+
{
21+
"files": [
22+
"full-version/resources/assets/vendor/js/*.js"
23+
],
24+
"options": {
25+
"semi": false
26+
}
27+
}
28+
]
29+
}

.styleci.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/Console/Kernel.php

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/Exceptions/Handler.php

Lines changed: 0 additions & 30 deletions
This file was deleted.

app/Http/Controllers/Controller.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
namespace App\Http\Controllers;
44

5-
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
6-
use Illuminate\Foundation\Validation\ValidatesRequests;
7-
use Illuminate\Routing\Controller as BaseController;
8-
9-
class Controller extends BaseController
5+
abstract class Controller
106
{
11-
use AuthorizesRequests, ValidatesRequests;
12-
}
7+
//
8+
}

app/Http/Controllers/dashboard/Crm.php

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)