footer changed

This commit is contained in:
Benjamin Takats
2022-12-12 17:58:20 +01:00
parent 648bc6395a
commit 568fbfb4b4
4 changed files with 38 additions and 17 deletions

View File

@@ -1,12 +1,3 @@
created:
- database/factories/MeetupFactory.php
- database/factories/MeetupEventFactory.php
- database/migrations/2022_12_12_155928_create_meetups_table.php
- database/migrations/2022_12_12_155929_create_meetup_events_table.php
- app/Models/Meetup.php
- app/Models/MeetupEvent.php
- app/Nova/Meetup.php
- app/Nova/MeetupEvent.php
models:
BookCase: { title: string, latitude: 'float:10', longitude: 'float:10', address: 'text nullable', type: string, open: 'string nullable', comment: 'text nullable', contact: 'text nullable', bcz: 'text nullable', digital: boolean, icontype: string, deactivated: boolean, deactreason: string, entrytype: string, homepage: 'text nullable' }
Category: { name: string, slug: string }
@@ -19,6 +10,8 @@ models:
Library: { name: string, is_public: 'boolean default:1', language_codes: 'json default:[]' }
LibraryItem: { lecturer_id: biginteger, episode_id: 'biginteger nullable', order_column: integer, name: string, type: string, language_code: string, value: 'text nullable' }
LoginKey: { k1: string, user_id: biginteger }
Meetup: { city_id: biginteger, name: string, link: string }
MeetupEvent: { meetup_id: biginteger, start: datetime, location: 'string nullable', description: 'text nullable', link: 'string nullable' }
Membership: { team_id: biginteger, user_id: biginteger, role: 'string nullable' }
OrangePill: { user_id: biginteger, book_case_id: biginteger, date: datetime, amount: integer }
Participant: { first_name: string, last_name: string }
@@ -29,5 +22,3 @@ models:
TeamInvitation: { team_id: biginteger, email: string, role: 'string nullable' }
User: { name: string, public_key: 'string nullable', email: 'string nullable', email_verified_at: 'datetime nullable', password: 'string nullable', remember_token: 'string:100 nullable', current_team_id: 'biginteger nullable', profile_photo_path: 'string:2048 nullable', is_lecturer: 'boolean default:', two_factor_secret: 'text nullable', two_factor_recovery_codes: 'text nullable', two_factor_confirmed_at: 'datetime nullable', timezone: 'string default:Europe/Berlin' }
Venue: { city_id: biginteger, name: string, slug: string, street: string }
Meetup: { city_id: foreign, name: 'string unique', link: string }
MeetupEvent: { meetup_id: foreign, date: date, start: time, end: time, location: string, description: text, link: string }

View File

@@ -14,7 +14,21 @@ class MeetupEventTable extends DataTableComponent
public function configure(): void
{
$this->setPrimaryKey('id');
$this->setPrimaryKey('id')
->setThAttributes(function (Column $column) {
return [
'class' => 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:bg-gray-800 dark:text-gray-400',
'default' => false,
];
})
->setTdAttributes(function (Column $column, $row, $columnIndex, $rowIndex) {
return [
'class' => 'px-6 py-4 text-sm font-medium dark:text-white',
'default' => false,
];
})
->setColumnSelectStatus(false)
->setPerPage(50);
}
public function columns(): array

View File

@@ -14,7 +14,21 @@ class MeetupTable extends DataTableComponent
public function configure(): void
{
$this->setPrimaryKey('id');
$this->setPrimaryKey('id')
->setThAttributes(function (Column $column) {
return [
'class' => 'px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider dark:bg-gray-800 dark:text-gray-400',
'default' => false,
];
})
->setTdAttributes(function (Column $column, $row, $columnIndex, $rowIndex) {
return [
'class' => 'px-6 py-4 text-sm font-medium dark:text-white',
'default' => false,
];
})
->setColumnSelectStatus(false)
->setPerPage(50);
}
public function columns(): array

View File

@@ -23,10 +23,12 @@
<p class="order-last text-sm leading-tight text-gray-500 md:order-first"> Built with ❤️ by our
team. </p>
<ul class="flex flex-row justify-center pb-3 -ml-4 -mr-4 text-sm">
{{--<li> <a href="#_" class="px-4 text-gray-500 hover:text-white">Contact</a> </li>
<li> <a href="#_" class="px-4 text-gray-500 hover:text-white">About US</a> </li>
<li> <a href="#_" class="px-4 text-gray-500 hover:text-white">FAQ's</a> </li>
<li> <a href="#_" class="px-4 text-gray-500 hover:text-white">Terms</a></li>--}}
<li><a href="https://github.com/affektde/einundzwanzig-bitcoin-school" target="_blank"
class="px-4 text-gray-500 hover:text-white">Github</a></li>
<li><a href="https://bitcoin.productlift.dev/t/wunschzettel" target="_blank"
class="px-4 text-gray-500 hover:text-white">Wunschzettel</a></li>
{{-- <li><a href="#_" class="px-4 text-gray-500 hover:text-white">FAQ's</a></li>--}}
{{-- <li><a href="#_" class="px-4 text-gray-500 hover:text-white">Terms</a></li>--}}
</ul>
</div>
</div>