This file contains hidden or 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
@props([ | |
'avatar' => null, | |
'name' => null, | |
'initials' => null, | |
'iconTrailing' => null, | |
]) | |
@php | |
$classes = Flux::classes() | |
->add('group flex items-center rounded-lg') |
This file contains hidden or 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
sed -i '' -e "s|^DB_DATABASE=.*|DB_DATABASE=$PWD/database/database.sqlite|" -e 's/^DB_CONNECTION=mysql/DB_CONNECTION=sqlite/' .env |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> | |
<!-- Fonts --> | |
<link rel="preconnect" href="https://fonts.bunny.net"> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Laravel</title> | |
<!-- Fonts --> | |
<link href="https://fonts.bunny.net/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet"> |
This file contains hidden or 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
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
theme: { | |
extend: { | |
fontFamily: { | |
thicccboi: [ "thicccboi", "sans-serif" ], | |
}, | |
keyframes: { | |
fadeIn: { | |
'0%' : { opacity: 0 }, |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>TailwindCSS Text Reveal Animation</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script> | |
<script src="https://unpkg.com/split-type"></script> | |
<script src="https://cdn.tailwindcss.com"></script> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 | |
class Greeting | |
{ | |
// Hold an instance of the class | |
private static $instance; | |
private static $name; | |
// The singleton method | |
public static function singleton() |
This file contains hidden or 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
@extends('voyager::master') | |
@section('css') | |
<style> | |
html, body{ | |
height: auto; | |
} | |
.panel .mce-panel{ |
This file contains hidden or 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
$(document).ready(function(){ | |
// transition can be fade or slide | |
var transition = 'slide'; | |
if(transition == 'slide'){ | |
$('.slider').children().wrapAll('<div class="slider-container"></div>'); | |
$('.slider-container').css('width', $('.slider').width() * $('.slider .content').length ); | |
$.each($('.slider .content'), function(index, value){ | |
$(this).addClass('slide'); | |
$(this).css('width', $('.slider').width()); |
NewerOlder