@extends('layouts/contentLayoutMaster') @section('title', 'Templates') @section('main-page', 'Templates') @section('sub-page', 'Add New Template') @section('main-page-url', route("product-templates.index")) @section('sub-page-url', route("product-templates.create")) @section('vendor-style') @endsection @php $category = request('q') == 'tableau' ?\App\Models\Category::whereIsTableau(true)->first() :(request('category_id') ? \App\Models\Category::find(request('category_id')) : null); $HasMockupCategory = \App\Models\Category::find(request('category_id')); @endphp @section('content')
@csrf
{{-- @if(request()->query('q') == 'without')--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- Pick a color or type hex (e.g.--}} {{-- #FFAA00).--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- Drop image or click--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{--
--}} {{-- @endif--}}

Template Details
@foreach(config("app.locales") as $locale)
@endforeach
@php $type = \App\Models\Type::whereValue(\App\Enums\Template\TypeEnum::FRONT)->first(); @endphp
@if(request()->query('q') == 'without' || request()->query('q') == 'tableau')
Drop front image here or click
Allowed formats: PNG, JPG, JPEG, WEBP. Maximum file size: 30 MB. Minimum dimensions: 1000 × 1000 px.
Drop back image here or click
Allowed formats: PNG, JPG, JPEG, WEBP. Maximum file size: 30 MB. Minimum dimensions: 1000 × 1000 px.
Drop general image here or click
Allowed formats: PNG, JPG, JPEG, WEBP. Maximum file size: 30 MB. Minimum dimensions: 1000 × 1000 px.
@endif @if(($HasMockupCategory && !$HasMockupCategory->has_mockup) || !$HasMockupCategory)
Drop image here or click to upload
Upload an image with an 8:9 aspect ratio (for example, 618 × 700 px).
@endif

Products & Categories
{{-- TABLEAU SCENE IMAGE --}} {{-- TABLEAU SCENE --}}
{{-- Choose existing scene --}}
or create new scene
{{-- New scene name --}}
{{-- New scene image --}}
Drop tableau scene image here or click
Upload the scene image, then click Create Scene. The created scene will be selected automatically.
{{-- SCENE POSITION EDITOR --}}

Scene Position Editor
{{-- Tabs --}}
{{-- Panels --}}

Drag the template overlay on each scene, then click Save Positions before submitting the template.


Industry
@can("tags_create") @endcan
@if(request()->query('q') == 'with')

Design Specifications

Guides Settings
{{-- Persisted resources (used on submit) --}}
{{-- Shape (col-6) --}}
{{-- Safety Area (col-6) --}}
{{-- send 0 when unchecked --}}
Padding inside the design area.
{{-- Cut Margin (col-6) --}}
{{-- send 0 when unchecked --}}
{{-- Padding inside the design--}} {{-- area.--}}
If no size is selected, the default 650×650 will be applied.
@endif
@include('modals.tags.add-tag') @php // لو route محتاج parameter اسمه mockup $mockupUpdateUrlTemplate = route('mockups.edit', ['mockup' => '__ID__']); @endphp @endsection @section('vendor-script') @endsection @section('page-script') @endsection