Skip to content

Commit c011897

Browse files
docs-update
1 parent e86fa76 commit c011897

File tree

52 files changed

+241
-240
lines changed

Some content is hidden

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

52 files changed

+241
-240
lines changed

README.md

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![GitHub issues open](https://img.shields.io/github/issues/themesberg/volt-laravel-admin-dashboard.svg)](https://github.com/themesberg/volt-laravel-admin-dashboard/issues?q=is%3Aopen+is%3Aissue)
77
[![GitHub issues closed](https://img.shields.io/github/issues-closed-raw/themesberg/volt-bootstrap-5-dashboard.svg)](https://github.com/themesberg/volt-laravel-admin-dashboard/issues?q=is%3Aissue+is%3Aclosed)
88

9-
[![Volt Bootstrap 5 Dashboard Preview](https://themesberg.s3.us-east-2.amazonaws.com/public/products/volt-bootstrap-5-dashboard/volt-bootstrap-5-dashboard-preview.jpg)](https://volt-laravel-admin-dashboard.updivision.com/dashboard)
9+
[![Volt Laravel Dashboard Preview](https://i.imgur.com/1iqriPG.gif)](https://volt-laravel-admin-dashboard.updivision.com/dashboard)
1010

1111
Never start a development project from scratch again. We've partnered with UPDIVISION to create the ultimate design & development toolbox, free for personal and commercial projects.
1212

@@ -53,7 +53,7 @@ We also included detailed documentation for every component and feature so it he
5353

5454
## Versions
5555

56-
[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/html-logo.jpg?raw=true" width="60" height="60" />](https://themesberg.com/product/laravel/volt-admin-dashboard-template)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/react-logo.jpg?raw=true" width="60" height="60" />](https://themesberg.com/product/dashboard/volt-react)[<img src="https://seekvectors.com/storage/images/Laravel%20Logo-100.jpg" width="60" height="60" />](https://themesberg.com/product/laravel/volt-admin-dashboard-template).
56+
[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/html-logo.jpg?raw=true" width="60" height="60" />](https://themesberg.com/product/laravel/volt-admin-dashboard-template)[<img src="https://github.com/creativetimofficial/public-assets/blob/master/logos/react-logo.jpg?raw=true" width="60" height="60" />](https://themesberg.com/product/dashboard/volt-react)[<img src="public/assets/img/laravel.png" width="60" height="60" />](https://themesberg.com/product/laravel/volt-admin-dashboard-template).
5757

5858
| HTML | React | Laravel |
5959
| --- | --- | --- |
@@ -118,44 +118,6 @@ Besides the dashboard and the auth pages this application also has an edit profi
118118

119119
You can access the dashboard either by using the "**Dashboard**" link in the left sidebar or by adding **/dashboard** in the URL.
120120

121-
### User Profile
122-
123-
You have the option to edit the current logged in user's profile information (name, email, profile picture) and password. To access this page, just click the "**Profile**" link in the left sidebar or add **/profile** in the URL.
124-
125-
The `app/Http/Livewire/Profile.php` handles the update of the user information and password.
126-
127-
```
128-
public function mount() { $this->user = auth()->user(); }
129-
130-
public function save()
131-
{
132-
$this->validate();
133-
134-
$this->user->save();
135-
136-
$this->showSavedAlert = true;
137-
138-
}
139-
}
140-
```
141-
142-
If you input the wrong data when editing the profile, don't worry. Validation rules have been added to prevent this.
143-
144-
```
145-
protected $rules = [
146-
'user.first_name' => 'max:15',
147-
'user.last_name' => 'max:20',
148-
'user.birthday' => 'date_format:Y-m-d',
149-
'user.email' => 'email',
150-
'user.phone' => 'numeric',
151-
'user.gender' => '',
152-
'user.address' => 'max:20',
153-
'user.number' => 'numeric',
154-
'user.city' => 'max:20',
155-
'user.zip' => 'numeric',
156-
];
157-
158-
```
159121

160122
### Sign in
161123

@@ -258,6 +220,45 @@ The `app/Http/Livewire/ResetPassword.php` handles the password reset process and
258220
259221
```
260222

223+
### User Profile
224+
225+
You have the option to edit the current logged in user's profile information (name, email, profile picture) and password. To access this page, just click the "**Profile**" link in the left sidebar or add **/profile** in the URL.
226+
227+
The `app/Http/Livewire/Profile.php` handles the update of the user information and password.
228+
229+
```
230+
public function mount() { $this->user = auth()->user(); }
231+
232+
public function save()
233+
{
234+
$this->validate();
235+
236+
$this->user->save();
237+
238+
$this->showSavedAlert = true;
239+
240+
}
241+
}
242+
```
243+
244+
If you input the wrong data when editing the profile, don't worry. Validation rules have been added to prevent this.
245+
246+
```
247+
protected $rules = [
248+
'user.first_name' => 'max:15',
249+
'user.last_name' => 'max:20',
250+
'user.birthday' => 'date_format:Y-m-d',
251+
'user.email' => 'email',
252+
'user.phone' => 'numeric',
253+
'user.gender' => '',
254+
'user.address' => 'max:20',
255+
'user.number' => 'numeric',
256+
'user.city' => 'max:20',
257+
'user.zip' => 'numeric',
258+
];
259+
260+
```
261+
261262

262263
## Documentation
263264
The documentation for Volt is hosted on our [website](https://volt-laravel-admin-dashboard.updivision.com/documentation/getting-started/overview/index.html).
561 KB
Loading

public/documentation/components/accordions/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/alerts/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/badges/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/breadcrumbs/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/buttons/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/forms/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/modals/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

public/documentation/components/navbars/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@
252252
Laravel example pages
253253
</a>
254254
<ul class="nav bd-sidenav flex-column mb-2">
255-
<li >
256-
<a href="../../laravel-example-pages/settings/index.html" >Profile
257-
</a>
258-
</li>
259255
<li>
260256
<a href="../../laravel-example-pages/sign-in/index.html">Sign in
261257
</a>
@@ -271,6 +267,10 @@
271267
<li>
272268
<a href="../../laravel-example-pages/reset-password/index.html">Reset password
273269
</a>
270+
</li>
271+
<li >
272+
<a href="../../laravel-example-pages/settings/index.html" >Profile
273+
</a>
274274
</li>
275275
<li>
276276
<a href="../../laravel-example-pages/role-management/index.html">Role Management<span class="badge badge-sm bg-secondary text-gray-800 py-1 px-2 ms-2">Pro</span>

0 commit comments

Comments
 (0)