PHP Classes

File: resources/views/frontend/page/channel.blade.php

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin  >  mtube  >  resources/views/frontend/page/channel.blade.php  >  Download  
File: resources/views/frontend/page/channel.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: mtube
Application to share videos between users
Author: By
Last change:
Date: 4 months ago
Size: 2,144 bytes


Class file image Download

    {{ $channel->name }}

        title="{{ $channel->name }}"
        description="{{ $channel->description }}"
        url="{{ url()->current() }}"
        image="{{ \Illuminate\Support\Facades\Storage::disk($channel->disk)->url($channel->banner_image) }}"

    <div class="container mx-auto">
        <div class="pt-16 px-4 sm:px-6 lg:px-8">
            <div class="card border w-full relative flex flex-col mx-auto mb-5">
                <img class="max-h-80 w-full object-contain md:object-scale-down" src="{{ \Illuminate\Support\Facades\Storage::disk($channel->disk)->url($channel->banner_image) }}" alt="" />
                <div class="flex p-1 md:p-6 border-t justify-between items-center">
                        @livewire('', ['channel_id' => $channel->id])
                            <a href="{{ route('login') }}" class="w-full inline-flex items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-red-600 hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500">
                                {{ __('Subscribe') }}

                            @if(auth()->user()->id == $channel->owner->id)
                                @livewire('', ['channel_id' => $channel->id])
                                @livewire('frontend.components.subscribe-button', ['channel_id' => $channel->id])
            @livewire('', ['channel_id' => $channel->id])

For more information send a message to info at phpclasses dot org.