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 | |
namespace App\Providers; | |
use App\Settings\Smtp; | |
use Config; | |
use Illuminate\Support\ServiceProvider; | |
class MailConfigServiceProvider extends ServiceProvider | |
{ |
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
import React, { forwardRef, useState } from 'react'; | |
import { format } from 'date-fns'; | |
import { cn } from '@/lib/utils'; | |
import { Button } from '@/components/ui/button'; | |
import { Calendar } from '@/components/ui/calendar'; | |
import { CalendarIcon } from '@radix-ui/react-icons'; | |
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'; | |
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; | |
import moment from 'moment/moment'; | |
import { useNavigation } from 'react-day-picker'; |
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
// Import modul string similarity (anda bisa gunakan library seperti 'string-similarity') | |
const stringSimilarity = require('string-similarity'); | |
// Contoh data khodam | |
const khodamList = [ | |
{ | |
name: "Macan Putih", | |
keterangan: "sangat kuat dan sangat berwibawa" | |
} | |
]; |
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 | |
namespace App\Http\Livewire; | |
use App\Services\TitkokAPI\MaatootzAPI; | |
use Livewire\Component; | |
class Beranda extends Component | |
{ | |
public $url; |
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
<div> | |
<div class="container-fluid bg-gradient"> | |
<div class="row justify-content-center align-items-center banner-beranda"> | |
<div class="col-md-6"> | |
<div class="banner-box py-5"> | |
<h1 class="text-center">Tiktok Downloader Paling Cepat</h1> | |
<p class="text-center">Tanpa watermark, kualitas HD, dan Tanpa Iklan.</p> | |
<div class="form-group text-center"> | |
<div class="input-group rounded border"> | |
<input id="video-link-input" wire:model="url" type="text" class="form-control border-0" |
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 filesSelector = document.querySelector('#myFiles'); | |
let awalChunk = []; | |
filesSelector.addEventListener('change', () => { | |
const fileList = [...filesSelector.files]; | |
fileList.forEach((file, indeks) => { | |
@this.set('uploads.' + indeks + '.fileName', file.name); | |
@this.set('uploads.' + indeks + '.fileSize', file.size); | |
@this.set('uploads.' + indeks + '.progress', 0); |
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
let curXPos = 0, | |
curDown = false, | |
scrollLeft = 0; | |
const dragable = document.querySelector('.table'); | |
dragable.addEventListener('mousemove', function(e) { | |
if (curDown === true) { | |
const walk = (curXPos - e.pageX); | |
scrollLeft = scrollLeft + walk; |
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
@push('scripts') | |
<script> | |
var total_pembayaran = document.getElementById('total_pembayaran'); | |
total_pembayaran.addEventListener('keyup', (event) => { | |
var value = total_pembayaran.value.replace(/[^\d,]/g, ''); | |
@this.set('total_pembayaran', total_pembayaran); | |
total_pembayaran.value = rupiah(value) | |
}) | |
Livewire.onLoad(() => { |
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 | |
return [ | |
"accepted" => ":Attribute harus diterima.", | |
"accepted_if" => ":Attribute harus diterima ketika :other berisi :value.", | |
"active_url" => ":Attribute bukan URL yang valid.", | |
"after" => ":Attribute harus berisi tanggal setelah :date.", | |
"after_or_equal" => ":Attribute harus berisi tanggal setelah atau sama dengan :date.", | |
"alpha" => ":Attribute hanya boleh berisi huruf.", | |
"alpha_dash" => ":Attribute hanya boleh berisi huruf, angka, strip, dan garis bawah.", |
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
/** membuat navbar transparan **/ | |
.svq-header-section .navbar-container { | |
padding-top: 1 | |
rem | |
; | |
padding-bottom: 1 | |
rem | |
; | |
box-shadow: 0 0 1px rgb(0 0 0 / 8%); | |
-ms-box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); |
NewerOlder