@extends('layouts.app')
@section('content')
    <div class="content-heading">
        <div>
            SweetAlert
            <small>A Beautiful Replacement For Javascript's "alert"</small>
        </div>
    </div>
    <div class="container-fluid">
        <h4 class="page-header mt-0">Usage examples</h4>
        <div class="row">
            <div class="col-lg-9 col-xl-6">
                <p>A basic message</p>
            </div>
            <div class="col-lg-3 col-xl-6">
                <p><a class="btn btn-primary" id="swal-demo1" href="">Try me!</a></p>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-9 col-xl-6">
                <p>A title with a text under</p>
            </div>
            <div class="col-lg-3 col-xl-6">
                <p><a class="btn btn-primary" id="swal-demo2" href="">Try me!</a></p>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-9 col-xl-6">
                <p>A success message!</p>
            </div>
            <div class="col-lg-3 col-xl-6">
                <p><a class="btn btn-primary" id="swal-demo3" href="">Try me!</a></p>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-9 col-xl-6">
                <p>A warning message, with a function attached to the &quot;Confirm&quot;-button</p>
            </div>
            <div class="col-lg-3 col-xl-6">
                <p><a class="btn btn-primary" id="swal-demo4" href="">Try me!</a></p>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-9 col-xl-6">
                <p>... and by passing a parameter, you can execute something else for &quot;Cancel&quot;.</p>
            </div>
            <div class="col-lg-3 col-xl-6">
                <p><a class="btn btn-primary" id="swal-demo5" href="">Try me!</a></p>
            </div>
        </div>
    </div>
@endsection
@section('scripts')
    <!-- SWEET ALERT-->
    <script src="{{ mix('/js/sweetalert.js') }}"></script>
@endsection
