Skip to content

Commit 4aa9b11

Browse files
committed
Merge branch '4.x'
2 parents f85552e + 22fb7fb commit 4aa9b11

File tree

11 files changed

+57
-19
lines changed

11 files changed

+57
-19
lines changed

.github/workflows/pipeline.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI Pipeline
2+
3+
on: [ push, pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
php-tests:
7+
name: PHP Tests
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
php-version: [ 8.3, 8.4 ]
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Setup PHP ${{ matrix.php-version }}
17+
uses: shivammathur/setup-php@v2
18+
with:
19+
php-version: ${{ matrix.php-version }}
20+
tools: composer:v2
21+
coverage: none
22+
23+
- name: Install composer dependencies
24+
run: composer install --no-interaction --no-progress

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[TastyIgniter](https://tastyigniter.com/) provides a professional and reliable platform for restaurants wanting to offer
1313
online food ordering and table reservation to their customers.
1414

15-
![screenshot](https://tastyigniter.com/images/mockups/Menus-v2.png)
15+
![screenshot](https://tastyigniter.com/images/mockups/v4/Menus.png)
1616

1717
### Documentation
1818
The best place to learn TastyIgniter is by reading the [documentation](https://tastyigniter.com/docs)

composer.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
],
3636
"require": {
3737
"php": "^8.3",
38-
"laravel/framework": "^12.0",
38+
"laravel/framework": "^11.0",
3939
"laravel/tinker": "^2.10.1",
4040
"tastyigniter/core": "^4.0"
4141
},
@@ -63,8 +63,7 @@
6363
"scripts": {
6464
"post-autoload-dump": [
6565
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
66-
"@php artisan package:discover --ansi",
67-
"@php artisan igniter:package-discover --ansi"
66+
"@php artisan package:discover --ansi"
6867
],
6968
"post-update-cmd": [
7069
"@php artisan vendor:publish --tag=igniter-assets --ansi --force"

extensions/igniter/demo/Extension.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Extension extends BaseExtension
88
{
9-
public function registerComponents()
9+
public function registerComponents(): array
1010
{
1111
return [
1212
\Igniter\Demo\Components\Block::class => [

extensions/igniter/demo/composer.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "tastyigniter/ti-ext-demo",
3+
"type": "tastyigniter-package",
4+
"description": "Provides block component for demonstration",
5+
"license": "MIT",
6+
"extra": {
7+
"tastyigniter-extension": {
8+
"code": "igniter.demo",
9+
"name": "Demo Extension",
10+
"icon": {
11+
"class": "fa fa-plug",
12+
"color": "#fff",
13+
"backgroundColor": "#000"
14+
}
15+
}
16+
},
17+
"autoload": {
18+
"psr-4": {
19+
"Igniter\\Demo\\": "/"
20+
}
21+
}
22+
}

extensions/igniter/demo/extension.json

-8
This file was deleted.

themes/demo/_layouts/default.blade.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ class="text-white d-inline-block py-2 fs-3"
1919
</header>
2020

2121
<div id="page-wrapper" class="pt-4">
22-
@page
22+
@themePage
2323
</div>
2424

2525
<footer id="page-footer mt-auto">
2626
@themePartial('footer')
2727
</footer>
28-
@scripts
28+
@themeScripts
2929
</body>
3030
</html>

themes/demo/_pages/home.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<a href="https://tastyigniter.com/docs/master/customize/themes">Themes documentation</a>.</p>
2020

2121
<p class="mb-4 img-holder mx-n3">
22-
<img class="img-fluid rounded" src="https://tastyigniter.com/assets/ui/images/mockups/Menus-v2.png" alt="TastyIgniter Frontend">
22+
<img class="img-fluid rounded" src="https://tastyigniter.com/assets/ui/images/mockups/v4/Menus.png" alt="TastyIgniter Frontend">
2323
</p>
2424
</div>
2525
</div>

themes/demo/_partials/head.blade.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{!! get_metas() !!}
22
<link href="{{ asset('favicon.svg') }}" rel="shortcut icon" type="image/ico">
3-
<title>{{ sprintf(lang('igniter::main.site_title'), lang(get_title()), setting('site_name')) }}</title>
3+
<title>{{ lang(get_title()).' | '.setting('site_name') }}</title>
44
<link href="{{ asset('vendor/igniter/css/app.css') }}" rel="stylesheet" type="text/css" id="igniter-css">
5-
@styles
5+
@themeStyles

themes/demo/screenshot.svg

+1
Loading

themes/demo/theme.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
"tags": {
99
"1.0.0": "Theme initialization"
1010
}
11-
}
11+
}

0 commit comments

Comments
 (0)