Skip to content

Instantly share code, notes, and snippets.

View jongravois's full-sized avatar

Jonathan Gravois jongravois

View GitHub Profile
.v--modal-overlay {
background: rgba(0, 0, 0, 0.3);
}
.cause_btn {
width: 90%;
margin: auto;
padding: 0.75rem;
border: 1px solid #dadada;
color: #777;
@extends('layouts.auth')
@section('content')
<div class="bg-blue-500 h-screen pt-24">
<div class="p-16 bg-white w-1/3 m-auto rounded">
<div class="mb-6">
<img alt="logo" src="/images/UAM_logo_color.png">
</div>
<form method="POST" action="{{ route('login') }}">
const mix = require('laravel-mix');
require('laravel-mix-tailwind');
mix.webpackConfig({
resolve: {
alias: {
'@': path.resolve(__dirname, 'resources/js'),
}
}
});
module.exports = {
prefix: '',
important: false,
separator: ':',
theme: {
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
import UIKit
import Firebase
import SwiftyJSON
class RampPart {
var id: Int = 0
var project_id: Int = 0
var location_id: Int = 0
var condition_id: Int = 0
var mechanic_id: Int = 0
bizDaysMonths: state => {
return [
{},
{
month: 'jan',
biz_days: moment('2018-01-01').monthBusinessDays().length
},
{
month: 'feb',
biz_days: moment('2018-02-01').monthBusinessDays().length
<template>
<section class="pane sales__pane">
<h1 class="pane__title">Sales</h1>
<div class="pane__content">
<div class="level" style="margin-top: 40px;">
<div class="level-left">
<div class="level-item">
<div class="stats__card">
<span style="font-size: 0.8em; color: #bebebe">
<template>
<div>
<div class="chart-container" ref="chartContainer">
<canvas ref="canvas"></canvas>
</div>
</div>
</template>
<script type="text/babel">
import Chart from 'chart.js';
@jongravois
jongravois / store.js
Created December 17, 2017 15:48
Store
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
import getters from './getters';
import mutations from './mutations';
import actions from './actions';
export const store = new Vuex.Store({
state: {
@jongravois
jongravois / CeoSales.vue
Created December 17, 2017 15:47
Bar Chart Component
<template>
<div>
<div class="chart-container"
style="position: relative; height:60%; width:75%; margin: auto;">
<canvas ref="canvas"></canvas>
</div>
</div>
</template>
<script type="text/babel">