Skip to content

Commit

Permalink
Merge pull request #5 from Villanuevand/master
Browse files Browse the repository at this point in the history
Mueve files a public folder.
  • Loading branch information
Villanuevand authored May 16, 2017
2 parents e32897c + 2feecbf commit e626666
Show file tree
Hide file tree
Showing 12 changed files with 104 additions and 138 deletions.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
169 changes: 104 additions & 65 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,65 +1,104 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Welcome to Firebase Hosting</title>

<!-- update the version number as needed -->
<script defer src="/__/firebase/3.8.0/firebase-app.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/3.8.0/firebase-auth.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-database.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-messaging.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-storage.js"></script>
<!-- initialize the SDK after all desired features are loaded -->
<script defer src="/__/firebase/init.js"></script>

<style media="screen">
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px; border-radius: 3px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
body, #message { margin-top: 0; background: white; box-shadow: none; }
body { border-top: 16px solid #ffa100; }
}
</style>
</head>
<body>
<div id="message">
<h2>Welcome</h2>
<h1>Firebase Hosting Setup Complete</h1>
<p>You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!</p>
<a target="_blank" href="https://firebase.google.com/docs/hosting/">Open Hosting Documentation</a>
</div>
<p id="load">Firebase SDK Loading&hellip;</p>

<script>
document.addEventListener('DOMContentLoaded', function() {
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('data', snapshot => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
//
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

try {
let app = firebase.app();
let features = ['auth', 'database', 'messaging', 'storage'].filter(feature => typeof app[feature] === 'function');
document.getElementById('load').innerHTML = `Firebase SDK loaded with ${features.join(', ')}`;
} catch (e) {
console.error(e);
document.getElementById('load').innerHTML = 'Error loading the Firebase SDK, check the console.';
}
});
</script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<title>FirebaseVE | Comunidad</title>
<meta charset="UTF-8">
<meta name="description" content="Bienvenidos a FirebaseVe, somos la comunidad de Firebase en Venezuela🔥, ¡Únete y Siguenos!">
<!-- update the version number as needed -->
<script defer src="/__/firebase/3.8.0/firebase-app.js"></script>
<!-- include only the Firebase features as you need -->
<script defer src="/__/firebase/3.8.0/firebase-auth.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-database.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-messaging.js"></script>
<script defer src="/__/firebase/3.8.0/firebase-storage.js"></script>
<!-- initialize the SDK after all desired features are loaded -->
<script defer src="/__/firebase/init.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shorcout icon" href="images/favicon.ico">

<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.indigo-pink.min.css">
<link href="css/style.css" rel="stylesheet">
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script></head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header">
<div class="mdl-layout__header-row">
<a href="" class="mdl-navigation__link">Inicio</a>
<a href="" class="mdl-navigation__link">Comunidad</a>
<div class="mdl-layout-spacer"></div>
<!--logo-->
<span class="logo"><img src="images/firebaseve-logo.png" alt="logo-firebaseve"></span>
<div class="mdl-layout-spacer"></div>
<a href="" class="mdl-navigation__link">Foro</a>
<a href="" class="mdl-navigation__link">Live</a>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">FirebaseVe</span>
<nav class="mdl-navigation">
<a href="" class="mdl-navigation__link">Inicio</a>
<a href="" class="mdl-navigation__link">Comunidad</a>
<a href="" class="mdl-navigation__link">Foro</a>
<a href="" class="mdl-navigation__link">Live</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="page-content">
<!--Nuestro Contenido-->
<div class="slide"></div>
<div class="container">
<div class="comunidad mdl-typography--text-center">
<h2 class="mdl-typography--text-center mdl-color-text--grey-600">Únete a nuestra Comunidad</h2>
<div class="mdl-grid redes">
<div class="mdl-cell mdl-cell--3-col">
<img src="images/twitter.png" alt="">
<a href="https://twitter.com/firebaseVe"><h3 class="mdl-typography--font-thin">@firebaseVe</h3></a>
</div>
<div class="mdl-cell mdl-cell--3-col">
<img src="images/github.png" alt="">
<a href="https://github.com/firebaseve"><h3 class="mdl-typography--font-thin">@firebaseVe</h3></a>
</div>
<div class="mdl-cell mdl-cell--3-col">
<img src="images/telegram.png" alt="">
<a href="https://web.telegram.org/#/im?p=@firebaseVe"><h3 class="mdl-typography--font-thin">Telegram</h3></a>
</div>
<div class="mdl-cell mdl-cell--3-col">
<img src="images/youtube.png" alt="">
<a href="#"><h3 class="mdl-typography--font-thin">Youtube</h3></a>
</div>

</div>
</div>
</div>
</div>
<footer>
<p class="texto">2017 | Comunidad Firebase Venezuela</p>
</footer>
</main>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
// // The Firebase SDK is initialized and available here!
//
// firebase.auth().onAuthStateChanged(user => { });
// firebase.database().ref('/path/to/ref').on('data', snapshot => { });
// firebase.messaging().requestPermission().then(() => { });
// firebase.storage().ref('/path/to/ref').getDownloadURL().then(() => { });
//
// // 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

try {
let app = firebase.app();
let features = ['auth', 'database', 'messaging', 'storage'].filter(feature => typeof app[feature] === 'function');
//document.getElementById('load').innerHTML = `Firebase SDK loaded with ${features.join(', ')}`;
} catch (e) {
console.error(e);
//document.getElementById('load').innerHTML = 'Error loading the Firebase SDK, check the console.';
}
});
</script>
</body>
</html>
73 changes: 0 additions & 73 deletions site/index.html

This file was deleted.

0 comments on commit e626666

Please sign in to comment.