Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
renatodeleao committed Oct 5, 2016
1 parent 3696cb2 commit 739b50a
Show file tree
Hide file tree
Showing 49 changed files with 424 additions and 45 deletions.
1 change: 1 addition & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "presets": ["es2015"] }
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
npm-debug.log
dist/
Binary file added app/assets/images/favicons/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/scripts/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('olá consola')
50 changes: 7 additions & 43 deletions application.css.scss → app/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,48 +39,12 @@
*= flexboxgrid/dist/flexboxgrid
*/

/* VENDOR */
@import
"normalize-css/normalize",
"sassy-maps/sass/sassy-maps",
"flexboxgrid/dist/flexboxgrid",
"mappy-breakpoints/_mappy-breakpoints";
@import "objects/o.media";

body{
background: red;

/* SETTINGS */
@import "settings/s.globals";


/* TOOLS */
@import
"tools/t.functions",
"tools/t.mixins";


/* BASE */
@import
"base/b.reset",
"base/b.box-sizing",
"base/b.fonts",
"base/b.page",
"base/b.html-elements";


/* OBJECTS */
@import
"objects/o.media",
"objects/o.layout",
"objects/o.main",
"objects/o.container";


/* COMPONENTS */
@import
"components/c.bar",


/* UTILITIES*/
@import
"utilities/helpers",
"utilities/colorize";

h1{
color: white;
}
}
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.
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.
4 changes: 2 additions & 2 deletions tools/_t.mixins.scss → app/stylesheets/tools/_t.mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

$url-prefix: 'url';
@if $RoR == true {
$url-prefix = 'font-url';
$url-prefix: 'font-url';
}


Expand All @@ -63,7 +63,7 @@
$url-prefix('#{$file-path}.woff') format('woff'),
$url-prefix('#{$file-path}.woff') format('woff2'),
$url-prefix('#{$file-path}.ttf') format('truetype'),
$url-prefix('#{$file-path}.svg##{$font-family}') format('svg');
$url-prefix('#{$file-path}.svg#{$font-family}') format('svg');
font-weight: $font-weight;
font-style: $font-style;
}
Expand Down
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions app/views/data/app_meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"base_meta": {
"meta_title": "",
"meta_keywords": "",
"meta_author": "Whitesmith",
"meta_description": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quos, laudantium!"
},
"og_meta": {
"og_title": "",
"og_site_name": "",
"og_descriptions": "",
"og_image": "absolute_path_to_image",
"og_url": ""
},
"social_meta": {
"twitter_card": "absolute_path_to_image",
"twitter_image_alt": "text",
"fb_app_id": "username",
"fb_twitter_site": "@username"
}
}
24 changes: 24 additions & 0 deletions app/views/data/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "Sassqit",
"icons": [{
"src": "./assets/favicons/touch/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/apple-touch-icon.png",
"sizes": "152x152",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/ms-touch-icon-144x144-precomposed.png",
"sizes": "144x144",
"type": "image/png"
}, {
"src": "./assets/favicons/touch/chrome-touch-icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
}],
"start_url": "/index.html?homescreen=1",
"display": "standalone",
"background_color": "",
"theme_color": ""
}
42 changes: 42 additions & 0 deletions app/views/layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html class="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Title</title>

<!-- Favicon -->
<link rel="icon" href="./assets/images/favicon.png">

{{> _crossplatform_favicons}}

<!--SEO DEFAULTS-->
<meta name="application-name" content="Slackmarq"/>
<meta name="author" content="Whitesmith"/>
<meta name="keywords" content="slack, links, big-data, data, facebook,"/>
<meta name="description" content="Most popular slack links, curated by and for your slack team, with a little help from Marq."/>
<meta name="robots" content="INDEX, FOLLOW">

<!--dynamic meta tags about the post for sharing -->
{{> _sharing_meta_tags }}

<link rel="stylesheet" href="./stylesheets/app.css" />
</head>
<body>

<div class="o-app" id="app">

<main class="o-main" role="main">
{{> body}}
</main>


</div>

<!--scripts-->
<script src="./scripts/app.js"></script>
{{> _google_analytics}}
</body>
</html>
11 changes: 11 additions & 0 deletions app/views/pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<header>
<h1>asdasdasdasdasdas</h1>
</header>

<section>
secção da pagina
</section>

<footer>
caralhoasdadsasads
</footer>
17 changes: 17 additions & 0 deletions app/views/partials/_crossplatform_favicons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Name">
<link rel="icon" sizes="192x192" href=".assets/favicons/touch/chrome-touch-icon-192x192.png">

<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Web Starter Kit">
<link rel="apple-touch-icon" href="./assets/favicons/touch/apple-touch-icon.png">

<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="./assets/favicons/touch/ms-touch-icon-144x144-precomposed.png">
<meta name="msapplication-TileColor" content="tile color">

<!-- Color the status bar on mobile devices -->
<meta name="theme-color" content="#2F3BA2">
9 changes: 9 additions & 0 deletions app/views/partials/_google_analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', '#######', 'auto');
ga('send', 'pageview');
</script>
1 change: 1 addition & 0 deletions app/views/partials/_mailchimp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!--if mailchimp is used for subscriptions, paste code here-->
14 changes: 14 additions & 0 deletions app/views/partials/_sharing_meta_tags.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- Essential META Tags -->
<meta property="og:title" content="">
<meta property="og:description" content="">
<meta property="og:image" content="">
<meta property="og:url" content="">
<meta name="twitter:card" content="">

<!-- Non-Essential, But Recommended -->
<meta name="og:site_name" content="">
<meta name="twitter:image:alt" content="">

<!-- Non-Essential, But Required for Analytics -->
<meta property="fb:app_id" content="" />
<meta name="twitter:site" content="">
3 changes: 3 additions & 0 deletions app/views/partials/application/_footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<footer>
<h1>I'm page footer</h1>
</footer>
3 changes: 3 additions & 0 deletions app/views/partials/application/_header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<header>
<h1>I'm page header</h1>
</header>
Loading

0 comments on commit 739b50a

Please sign in to comment.