Skip to content

Instantly share code, notes, and snippets.

View diogosouza's full-sized avatar

Diogo Souza diogosouza

View GitHub Profile
@diogosouza
diogosouza / plans.vue
Created April 5, 2019 01:26
Template for Plans Page - Vuetify Example
<template>
<v-container grid-list-lg>
<v-layout column>
<v-flex class="text-xs-center display-1 my-5">Pricing</v-flex>
<v-flex class="text-xs-center display-1 font-weight-black">Plans that scale with your user growth</v-flex>
</v-layout>
<v-layout row wrap>
<v-flex>
<v-card>
<v-img :src="images.rocket1" height="300px">
@diogosouza
diogosouza / navigation.vue
Created April 5, 2019 01:24
Template for Navigation Drawer - Vuetify Example
<template>
<span>
<v-navigation-drawer app v-model="drawer">
<v-list>
<template v-for="(menu, i) in menus">
<v-list-tile :key="i">
<v-list-tile-content>
{{menu.value}}
</v-list-tile-content>
</v-list-tile>
@diogosouza
diogosouza / google-closure-compiler-sample.js
Created March 8, 2019 18:53
Note structure in JavaScript as a official Google Closure Compiler sample
// Copyright 2009 Google Inc. All Rights Reserved.
/**
* Creates the DOM structure for the note and adds it to the document.
*/
function makeNoteDom(noteTitle, noteContent, noteContainer) {
// Create DOM structure to represent the note.
var headerElement = document.createElement('div');
var headerText = document.createTextNode(noteTitle);
headerElement.appendChild(headerText);