Skip to content

Commit 863f7f4

Browse files
authored
fixes bugs & enhance welcome screen code
2 parents b0c6ae9 + b82a39d commit 863f7f4

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
APP_NAME=PhpSlides
2-
APP_VERSION=1.3.5
2+
APP_VERSION=1.3.6
33
APP_ENV=development
44
APP_URL=http://localhost
55
JWT_SECRET=

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"require": {
2323
"php": "^8.2",
24-
"phpslides/framework": "^1.3.4"
24+
"phpslides/framework": "^1.3.5"
2525
},
2626
"config": {
2727
"optimize-autoloader": true,

src/resources/views/App.psl

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<html lang="en">
55

66
<head>
7-
<title>Dashboard | PhpSlides</title>
8-
<include path="components/Header" />
7+
{{! include the Header.psl file !}}
8+
<!INCLUDES path="components/Header" title="Dashboard | PhpSlides" />
99

1010
<style>
1111
.logo {
@@ -38,7 +38,7 @@
3838
</head>
3939

4040

41-
<!-- View Contents Begins -->
41+
{{! View Contents Begins !}}
4242

4343
<body>
4444
<div class="container">

src/resources/views/components/Header.psl

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<title>{{ Props('title') }}</title>
12
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
23
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
34
<meta name="title" content="PhpSlides | PHP Framework" />
@@ -6,7 +7,7 @@
67
<link rel="shortcut icon" href="{{ asset('Assets::Icon.png') }}" type="image/png" />
78
<link rel="icon" href="{{ asset('Assets::Icon.png') }}" type="image/png" />
89

9-
<!-- Internal Styling -->
10+
{{! Internal Styling !}}
1011
<style>
1112
body {
1213
margin: 0;

src/resources/views/errors/NotFound.psl

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33

44
<head>
5-
<title>404 | Page Not Found</title>
6-
<!-- includes the Header.php file -->
7-
<!INCLUDES path="../components/Header" />
5+
{{! include the Header.psl file !}}
6+
<!INCLUDES path="../components/Header" title="404 | Page Not Found" />
87

98
<style>
109
h3.text {

0 commit comments

Comments
 (0)