Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Laravel Package Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'

- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite

- name: Execute tests via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: vendor/bin/phpunit
2 changes: 1 addition & 1 deletion resources/views/auth/login.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<x-aim-admin::layout.login>
<x-aim-admin::layout.auth-card>
<x-slot name="logo">
<img src="{{ asset('logo.png') }}" alt="Logo" style="width: 150px; height: auto;">
<img src="{{ asset('img/logo.png') }}" alt="Logo" style="width: 150px; height: auto;">
</x-slot>
<form method="POST" action="{{ route('login') }}">
@csrf
Expand Down
2 changes: 1 addition & 1 deletion resources/views/auth/register.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<x-aim-admin::layout.login>
<x-aim-admin::layout.auth-card>
<x-slot name="logo">
<img src="{{ asset('logo.png') }}" alt="Logo" style="width: 150px; height: auto;">
<img src="{{ asset('img/logo.png') }}" alt="Logo" style="width: 150px; height: auto;">
</x-slot>
<div class="text-center">
<h3 class="mb-3">User Registration</h3>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/sidebar/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

{{-- Sidebar brand logo --}}
<a href="{{URL('/')}}" class="brand-link {{config('aim-admin.layout_class.brand', '')}}">
<img src="{{asset('logo.png')}}" alt="Aim Admin" class="brand-image img-circle elevation-3">
<img src="{{asset('img/logo.png')}}" alt="Aim Admin" class="brand-image img-circle elevation-3">
<span class="brand-text font-weight-light">{{$applicationName}}</span>
</a>

Expand Down