new updates
This commit is contained in:
13
resources/views/emails/contact-form-submission.blade.php
Normal file
13
resources/views/emails/contact-form-submission.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<body style="margin: 0; padding: 24px; background: #f4f4f4; color: #121212; font-family: Arial, sans-serif;">
|
||||
<div style="max-width: 640px; margin: 0 auto; background: #ffffff; border: 1px solid #e5e5e5; padding: 32px;">
|
||||
<h1 style="margin: 0 0 24px; font-size: 24px; line-height: 1.2;">New website contact form submission</h1>
|
||||
|
||||
<p style="margin: 0 0 16px;"><strong>Name:</strong><br>{{ $contactDetails['name'] }}</p>
|
||||
<p style="margin: 0 0 16px;"><strong>Email:</strong><br>{{ $contactDetails['email'] }}</p>
|
||||
<p style="margin: 0;"><strong>Message:</strong></p>
|
||||
<div style="margin-top: 8px; white-space: pre-line; line-height: 1.6;">{{ $contactDetails['message'] }}</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -26,13 +26,13 @@
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<nav class="header-wrapper nav-desktop">
|
||||
<a href="{{ route('home') }}">Home</a>
|
||||
<a href="{{ route('work') }}">Work</a>
|
||||
<a href="{{ route('home') }}">{{ trans('fp.HOME') }}</a>
|
||||
<a href="{{ route('work') }}">{{ trans('fp.WORK') }}</a>
|
||||
<div class="site-logo">
|
||||
<a href="{{ route('home') }}"><img src="{{ $assetBase }}/img/logo.svg" alt="Aritmija logo"></a>
|
||||
</div>
|
||||
<a href="{{ route('about') }}">About</a>
|
||||
<a href="{{ route('contact') }}">Contact</a>
|
||||
<a href="{{ route('about') }}">{{ trans('fp.ABOUT') }}</a>
|
||||
<a href="{{ route('contact') }}">{{ trans('fp.CONTACT') }}</a>
|
||||
</nav>
|
||||
|
||||
<div class="mobile-nav">
|
||||
@@ -53,37 +53,61 @@
|
||||
</header> <!------ Header Area End ----->
|
||||
|
||||
<!------ Slide Mobile Menu Area Start ----->
|
||||
<div class="slide-menu">
|
||||
<div class="menu-close">
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="menu_item">
|
||||
<ul>
|
||||
<li @class(['active' => ($page ?? null) === 'home'])><a href="{{ route('home') }}">Home</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'about'])><a href="{{ route('about') }}">About</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'work'])><a href="{{ route('work') }}">Work</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'contact'])><a href="{{ route('contact') }}">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="info-bottom">
|
||||
<span>En</span>
|
||||
<img src="{{ $assetBase }}/img/love.svg" alt="Aritmija icon">
|
||||
<span>Sl</span>
|
||||
</div>
|
||||
<div class="slide-menu">
|
||||
<div class="slide-menu-logo">
|
||||
<a href="{{ route('home') }}">
|
||||
<img src="/assets/img/love.svg" alt="">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="menu-close">
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="menu_item">
|
||||
<ul>
|
||||
<li @class(['active' => ($page ?? null) === 'home'])><a href="{{ route('home') }}">{{ trans('fp.HOME') }}</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'about'])><a href="{{ route('about') }}">{{ trans('fp.ABOUT') }}</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'work'])><a href="{{ route('work') }}">{{ trans('fp.WORK') }}</a></li>
|
||||
<li @class(['active' => ($page ?? null) === 'contact'])><a href="{{ route('contact') }}">{{ trans('fp.CONTACT') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="info-bottom">
|
||||
<span><a href="/en">En</a></span>
|
||||
<img src="{{ $assetBase }}/img/love.svg" alt="Aritmija icon">
|
||||
<span><a href="/sl">Sl</a></span>
|
||||
</div>
|
||||
</div>
|
||||
<!--- Slide Mobile Menu Area End --->
|
||||
|
||||
@yield('content')
|
||||
|
||||
<footer @class(['footer' => ($page ?? null) === 'home'])>
|
||||
@if (($page ?? null) === 'home')
|
||||
<x-block keycode="FOOTER-HOME-BLOCK"></x-block>
|
||||
@endif
|
||||
<x-block keycode="FOOTER-BLOCK"></x-block>
|
||||
</footer>
|
||||
|
||||
<div class="language-action">
|
||||
<ul>
|
||||
<li><a href="/en" @class(['active' => app()->getLocale() === 'en'])>EN</a></li>
|
||||
<li><a href="/sl" @class(['active' => app()->getLocale() === 'sl'])>SL</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<footer class="footer">
|
||||
<svg preserveAspectRatio="none" id="footer-img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2278 683">
|
||||
<defs>
|
||||
<linearGradient id="grad-1" x1="0" y1="0" x2="2278" y2="683" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.2" stop-color="#121212"></stop>
|
||||
<stop offset="0.8" stop-color="#121212"></stop>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<path class="footer-svg" id="bouncy-path" fill="url(#grad-1)" d="M0-0.3C0-0.3,464,156,1139,156S2278-0.3,2278-0.3V683H0V-0.3z"/>
|
||||
</svg>
|
||||
|
||||
<x-block keycode="FOOTER-BLOCK"></x-block>
|
||||
|
||||
</footer>
|
||||
|
||||
<!-- Bootstrap Bundle with Popper -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/lenis@1.3.13/dist/lenis.min.js"></script>
|
||||
<!-- <script src="https://cdn.jsdelivr.net/npm/lenis@1.3.13/dist/lenis.min.js"></script> Bootstrap Bundle with Popper -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
|
||||
<script src="{{ $assetBase }}/js/jquery.min.js"></script>
|
||||
<script src="{{ $assetBase }}/js/Popper.js"></script>
|
||||
<script src="{{ $assetBase }}/js/bootstrap.min.js"></script>
|
||||
|
||||
@@ -1,15 +1,41 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@push('head')
|
||||
@if(!empty($seo['meta_description']))
|
||||
<meta name="description" content="{{ $seo['meta_description'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_keywords']))
|
||||
<meta name="keywords" content="{{ $seo['meta_keywords'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_author']))
|
||||
<meta name="author" content="{{ $seo['meta_author'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_publisher']))
|
||||
<meta name="publisher" content="{{ $seo['meta_publisher'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_copyright']))
|
||||
<meta name="copyright" content="{{ $seo['meta_copyright'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_refresh']))
|
||||
<meta http-equiv="refresh" content="{{ $seo['meta_refresh'] }}">
|
||||
@endif
|
||||
<meta property="og:type" content="{{ $seo['og_type'] }}">
|
||||
<meta property="og:title" content="{{ $seo['og_title'] }}">
|
||||
@if(!empty($seo['og_description']))
|
||||
<meta property="og:description" content="{{ $seo['og_description'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['og_image']))
|
||||
<meta property="og:image" content="{{ $seo['og_image'] }}">
|
||||
@endif
|
||||
<meta property="og:url" content="{{ request()->url() }}">
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<x-block keycode="ABOUT-PAGE-MAIN"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-ABOUT-AREA"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-WORKING-TOGETHER"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-CREATIVE"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-SLIDER"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-INSPIRATION"></x-block>
|
||||
@php
|
||||
/*<x-block keycode="ABOUT-PAGE-ABOUT-AREA"></x-block>*/
|
||||
@endphp
|
||||
<x-block keycode="HOME-PAGE-BRANDING-AREA"></x-block>
|
||||
|
||||
<x-block keycode="ABOUT-PAGE-ABOUT2-AREA"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-BRANDING"></x-block>
|
||||
<x-block keycode="ABOUT-PAGE-WORKING-TOGETHER-BOTTOM"></x-block>
|
||||
@endsection
|
||||
@@ -1,12 +1,93 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@push('head')
|
||||
@if (! empty($seo['meta_description']))
|
||||
<meta name="description" content="{{ $seo['meta_description'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['meta_keywords']))
|
||||
<meta name="keywords" content="{{ $seo['meta_keywords'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['meta_author']))
|
||||
<meta name="author" content="{{ $seo['meta_author'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['meta_publisher']))
|
||||
<meta name="publisher" content="{{ $seo['meta_publisher'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['meta_copyright']))
|
||||
<meta name="copyright" content="{{ $seo['meta_copyright'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['meta_refresh']))
|
||||
<meta http-equiv="refresh" content="{{ $seo['meta_refresh'] }}">
|
||||
@endif
|
||||
<meta property="og:type" content="{{ $seo['og_type'] }}">
|
||||
<meta property="og:title" content="{{ $seo['og_title'] }}">
|
||||
@if (! empty($seo['og_description']))
|
||||
<meta property="og:description" content="{{ $seo['og_description'] }}">
|
||||
@endif
|
||||
@if (! empty($seo['og_image']))
|
||||
<meta property="og:image" content="{{ $seo['og_image'] }}">
|
||||
@endif
|
||||
<meta property="og:url" content="{{ request()->url() }}">
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
@php($formErrors = $errors ?? new \Illuminate\Support\ViewErrorBag())
|
||||
<div class="contact-area">
|
||||
<div class="container">
|
||||
<div class="row"><div class="col-lg-12"><div class="contact-wrapper"><div class="contact-title"><h2>{{ trans('fp.LETS_MAKE_MAGIC') }}</h2><p>{{ trans('fp.CONTACT_DESCRIPTION') }}</p></div><div class="contact-form"><form action="{{ route('contact.submit') }}" method="POST">@csrf<div class="single-item"><input type="text" name="name" value="{{ old('name') }}" placeholder="{{ trans('fp.NAME') }}">@if ($formErrors->has('name'))<p class="text-danger mt-2">{{ $formErrors->first('name') }}</p>@endif</div><div class="single-item"><input type="email" name="email" value="{{ old('email') }}" placeholder="{{ trans('fp.EMAIL') }}">@if ($formErrors->has('email'))<p class="text-danger mt-2">{{ $formErrors->first('email') }}</p>@endif</div><div class="single-item"><textarea name="message" placeholder="{{ trans('fp.MESSAGE') }}">{{ old('message') }}</textarea>@if ($formErrors->has('message'))<p class="text-danger mt-2">{{ $formErrors->first('message') }}</p>@endif</div><div class="single-item submit-btn"><button type="submit" class="btn__primary">{{ trans('fp.SEND_IT') }} <span><img src="{{ $assetBase }}/img/send.svg" alt="{{ trans('fp.SEND') }}"></span></button></div></form></div></div></div></div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="contact-wrapper">
|
||||
<div class="contact-title">
|
||||
<h2>{{ trans('fp.LETS_MAKE_MAGIC') }}</h2>
|
||||
<p>{{ trans('fp.CONTACT_DESCRIPTION') }}</p>
|
||||
</div>
|
||||
|
||||
<div class="contact-form">
|
||||
<form action="{{ route('contact.submit') }}" method="POST">
|
||||
@csrf
|
||||
|
||||
@error('form')
|
||||
<p class="text-danger mb-3">{{ $message }}</p>
|
||||
@enderror
|
||||
|
||||
<div aria-hidden="true" style="position:absolute;left:-9999px;opacity:0;pointer-events:none;">
|
||||
<label for="website">Website</label>
|
||||
<input id="website" type="text" name="website" value="{{ old('website') }}" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
|
||||
<div class="single-item">
|
||||
<input type="text" name="name" value="{{ old('name') }}" placeholder="{{ trans('fp.NAME') }}">
|
||||
@error('name')
|
||||
<p class="text-danger mt-2">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="single-item">
|
||||
<input type="email" name="email" value="{{ old('email') }}" placeholder="{{ trans('fp.EMAIL') }}">
|
||||
@error('email')
|
||||
<p class="text-danger mt-2">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="single-item">
|
||||
<textarea name="message" placeholder="{{ trans('fp.MESSAGE') }}">{{ old('message') }}</textarea>
|
||||
@error('message')
|
||||
<p class="text-danger mt-2">{{ $message }}</p>
|
||||
@enderror
|
||||
</div>
|
||||
|
||||
<div class="single-item submit-btn">
|
||||
<button type="submit" class="btn__primary">
|
||||
{{ trans('fp.SEND_IT') }}
|
||||
<span><img src="{{ $assetBase }}/img/send.svg" alt="{{ trans('fp.SEND') }}"></span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="contact-note-area"><div class="container"><div class="row"><div class="col-lg-12"><div class="note-text"><h2>Follow us on Instagram, LinkedIn or Behance for the latest news & updates.</h2></div></div></div></div></section>
|
||||
<x-block keycode="CONTACT-NOTE"></x-block>
|
||||
@endsection
|
||||
@@ -167,6 +167,9 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<br>
|
||||
<x-block keycode="HOME-PAGE-CTA-AREA"></x-block>
|
||||
|
||||
</section>
|
||||
@endsection
|
||||
|
||||
|
||||
@@ -1,34 +1,5 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@section('content')
|
||||
<div class="contact-area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="contact-wrapper">
|
||||
<div class="contact-title">
|
||||
<h2>Thank you!</h2>
|
||||
<p>Your question has been sent, we will <br>
|
||||
get back to you shortly.</p>
|
||||
</div>
|
||||
<div class="back-home">
|
||||
<a href="{{ route('home') }}" class="btn__primary">Back to homepage <span><img src="{{ $assetBase }}/img/send.svg" alt=""></span></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section class="contact-note-area">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="note-text">
|
||||
<h2>Follow us on Instagram, LinkedIn or Behance for the latest news & updates.</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<x-block keycode="CONTACT-THANK-YOU"></x-block>
|
||||
@endsection
|
||||
@@ -1,5 +1,35 @@
|
||||
@extends('layouts.site')
|
||||
|
||||
@push('head')
|
||||
@if(!empty($seo['meta_description']))
|
||||
<meta name="description" content="{{ $seo['meta_description'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_keywords']))
|
||||
<meta name="keywords" content="{{ $seo['meta_keywords'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_author']))
|
||||
<meta name="author" content="{{ $seo['meta_author'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_publisher']))
|
||||
<meta name="publisher" content="{{ $seo['meta_publisher'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_copyright']))
|
||||
<meta name="copyright" content="{{ $seo['meta_copyright'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['meta_refresh']))
|
||||
<meta http-equiv="refresh" content="{{ $seo['meta_refresh'] }}">
|
||||
@endif
|
||||
<meta property="og:type" content="{{ $seo['og_type'] }}">
|
||||
<meta property="og:title" content="{{ $seo['og_title'] }}">
|
||||
@if(!empty($seo['og_description']))
|
||||
<meta property="og:description" content="{{ $seo['og_description'] }}">
|
||||
@endif
|
||||
@if(!empty($seo['og_image']))
|
||||
<meta property="og:image" content="{{ $seo['og_image'] }}">
|
||||
@endif
|
||||
<meta property="og:url" content="{{ request()->url() }}">
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<section class="portfolio-area">
|
||||
<div class="container">
|
||||
@@ -55,6 +85,9 @@
|
||||
</div> <!-- end .row -->
|
||||
</div> <!-- end .container -->
|
||||
</section> <!-- end .portfolio-area -->
|
||||
|
||||
<x-block keycode="HOME-PAGE-CTA-AREA"></x-block>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
|
||||
Reference in New Issue
Block a user