2026-05-20 18:25:15 +02:00
|
|
|
@extends('layouts.app')
|
|
|
|
|
|
|
|
|
|
@section('page-title', $entry->title . " - " . config('app.name') )
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
{{ \Diglactic\Breadcrumbs\Breadcrumbs::render() }}
|
|
|
|
|
<article id="entry-container">
|
|
|
|
|
<div class="entry-header">
|
|
|
|
|
<div class="entry-cover">
|
|
|
|
|
@if( $entry->main_image )
|
|
|
|
|
<img src="{{ Storage::url($entry->main_image) }}">
|
|
|
|
|
@else
|
|
|
|
|
<div class="entry-cover-placeholder">
|
|
|
|
|
<i data-lucide="image" size="48"></i>
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="entry-info">
|
|
|
|
|
<h1 class="entry-title">
|
|
|
|
|
{{ $entry->title }}
|
|
|
|
|
</h1>
|
|
|
|
|
<div class="entry-authors">
|
|
|
|
|
@forelse( $entry->authors as $author)
|
|
|
|
|
@if($loop->first)By @endif
|
|
|
|
|
{{ $author->name }}
|
|
|
|
|
@if( !$loop->last ), @endif
|
|
|
|
|
@empty
|
|
|
|
|
No authors
|
|
|
|
|
@endforelse
|
|
|
|
|
</div>
|
|
|
|
|
<div class="entry-meta-grid">
|
|
|
|
|
@if( $entry->game )
|
|
|
|
|
<x-entry-meta-item label="Game Name" value="{{ $entry->game->name }}" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->getRealPlatform() )
|
|
|
|
|
<x-entry-meta-item label="Platform" value="{{ ($entry->getRealPlatform())->name }}" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->game && $entry->game->genre )
|
|
|
|
|
<x-entry-meta-item label="Genre" value="{{ $entry->game->genre->name }}" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->languages->isNotEmpty() )
|
|
|
|
|
<x-entry-meta-item label="Language" value="{{ $entry->languages->pluck('name')->implode(', ') }}" route="none" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->status_id )
|
|
|
|
|
<x-entry-meta-item label="Status" value="{{ $entry->status->name }}" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->version )
|
|
|
|
|
<x-entry-meta-item label="Version" value="{{ $entry->version }}" route="none" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->release_date )
|
|
|
|
|
<x-entry-meta-item label="Release Date" value="{{ $entry->release_date }}" />
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->modifications->isNotEmpty() )
|
|
|
|
|
<x-entry-meta-item label="Type of hack" value="{{ $entry->modifications->pluck('name')->implode(', ') }}" route="none" />
|
|
|
|
|
@endif
|
|
|
|
|
</div>
|
|
|
|
|
<div class="hack-actions">
|
2026-05-21 13:20:16 +02:00
|
|
|
<button class="btn primary" onclick="Livewire.dispatch('entryOpenFilesModal', { entryId: {{ $entry->id }} })">
|
2026-05-20 18:25:15 +02:00
|
|
|
<i data-lucide="download"></i> Download
|
|
|
|
|
</button>
|
2026-05-27 21:24:38 +02:00
|
|
|
@can('update',$entry)
|
|
|
|
|
<a href="{{ route('submit.edit', ['section' => $entry->type, 'entry' => $entry ] ) }}" class="btn primary">
|
|
|
|
|
<i data-lucide="edit"></i> Edit
|
|
|
|
|
</a>
|
|
|
|
|
@endcan
|
2026-05-20 18:25:15 +02:00
|
|
|
<button class="btn">
|
|
|
|
|
<i data-lucide="message-square"></i> Comments
|
|
|
|
|
</button>
|
2026-05-27 21:24:38 +02:00
|
|
|
@auth
|
|
|
|
|
<a href="{{ xfRoute("romhackplaza_entry/{$entry->id}/report") }}" class="btn">
|
|
|
|
|
<i data-lucide="flag"></i> Report / Claim Ownership
|
|
|
|
|
</a>
|
|
|
|
|
@endauth
|
2026-05-20 18:25:15 +02:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="entry-content">
|
|
|
|
|
@if( $entry->description )
|
|
|
|
|
<x-entry-section-title label="Description" icon="file-text" />
|
|
|
|
|
<div class="entry-description">
|
|
|
|
|
{{ $entry->description }}
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->hashes->isNotEmpty() )
|
|
|
|
|
<x-entry-section-title label="Hashes" icon="table-properties" />
|
|
|
|
|
<div class="entry-description">
|
|
|
|
|
@foreach( $entry->hashes->all() as $hash )
|
|
|
|
|
Filename: {{ $hash->filename }}<br>
|
|
|
|
|
CRC32: {{ $hash->hash_crc32 }}<br>
|
|
|
|
|
SHA-1: {{ $hash->hash_sha1 }}<br>
|
|
|
|
|
Verified: {{ $hash->verified }}<br>
|
|
|
|
|
@endforeach
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
@if( $entry->staff_credits )
|
|
|
|
|
<h2 class="entry-section-title">
|
|
|
|
|
<i data-lucide="users-round"></i> Staff credits
|
|
|
|
|
</h2>
|
|
|
|
|
<div class="entry-description">
|
|
|
|
|
{{ $entry->staff_credits }}
|
|
|
|
|
</div>
|
|
|
|
|
@endif
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
2026-05-27 21:24:38 +02:00
|
|
|
@include('entries.comments')
|
2026-05-21 13:20:16 +02:00
|
|
|
@livewire('entry-files-modal')
|
2026-05-20 18:25:15 +02:00
|
|
|
@endsection
|