This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="flex"> | |
<li class="flex flex-col relative text-center space-y-3"> | |
<div class="bg-blue-100 rounded-lg p-3">COMPANY</div> | |
<ul class="flex space-x-3"> | |
<li class="flex flex-col relative space-y-3"> | |
<div class="bg-teal-300 rounded-lg p-2">Sales Department</div> | |
<ul class="flex space-x-3"> | |
<li class="flex flex-col relative"> | |
<div class="bg-teal-300 rounded-lg p-2">Sub Sales A</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mix = require('laravel-mix') | |
const tailwindcss = require('tailwindcss') | |
const ImageminPlugin = require('imagemin-webpack-plugin').default | |
const CopyWebpackPlugin = require('copy-webpack-plugin') | |
const imageminMozjpeg = require('imagemin-mozjpeg') | |
const purgecssForAdmin = require('@fullhuman/postcss-purgecss')({ | |
content : [ | |
'./node_modules/noty/**/*.css', './node_modules/noty/**/*.scss', | |
'./node_modules/animate.css/**/*.css', './node_modules/animate.css/**/*.scss', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ajaxSave(method, url, formId, callback) { | |
// Form data...well...it's our form data 🤷🏼♂️ | |
let formData = new FormData(document.getElementById(formId)); | |
// Instantiate the XMLHttpRequest object and open it | |
let ajax = new XMLHttpRequest(); | |
// @method = POST/GET; @url = 🌐; @async = true/false | |
ajax.open(method, url, true); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Illuminate\Database\Seeder; | |
class CitiesTablesSeeder extends Seeder | |
{ | |
/** | |
* Run the database seeds. | |
* | |
* @return void |