Skip to content

Instantly share code, notes, and snippets.

View mazedlx's full-sized avatar
😊
Awesome awesomeness

Christian Leo-Pernold mazedlx

😊
Awesome awesomeness
View GitHub Profile
@mazedlx
mazedlx / tailwindcss.blade.php
Created November 5, 2017 12:54
Tailwind CSS template for Laravel pagination
@if ($paginator->hasPages())
<div class="flex items-center">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<span class="rounded-l rounded-sm border border-brand-light px-3 py-2 cursor-not-allowed no-underline">&laquo;</span>
@else
<a
class="rounded-l rounded-sm border-t border-b border-l border-brand-light px-3 py-2 text-brand-dark hover:bg-brand-light no-underline"
href="{{ $paginator->previousPageUrl() }}"
rel="prev"
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
set nocompatible "be iMproved
so ~/.vim/plugins.vim "Vundle Plugins
syntax enable "Syntax highlighting
set number "Line numbers
set backspace=indent,eol,start "backspace should behave like every other editor.
let mapleader= ',' "The default leader is \, but a comma is much better
set tabstop=4
set shiftwidth=4