Skip to content

Commit 663bc03

Browse files
committed
flutter-view 1.0 release commit with new homepage and new post
1 parent ee61f3e commit 663bc03

11 files changed

+374
-10
lines changed

_includes/footer.html

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
33
<!-- Global site tag (gtag.js) - Google Analytics -->
44
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-130453051-1"></script>
5+
<script src="assets/lib/prism.js"></script>
56
<script>
67
window.dataLayer = window.dataLayer || [];
78
function gtag(){dataLayer.push(arguments);}

_includes/header.html

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
1010
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
1111
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
12+
<link rel="stylesheet" href="assets/lib/prism.css">
1213
</head>
1314

1415
<body>

_layouts/default.html

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
</nav>
2020
</div>
2121

22+
<div class="alert-bar">
23+
<div class="alert-bar-wrapper">
24+
Flutter-view 1.0.0 has been released! <a href="/blog">Read more</a>
25+
</div>
26+
</div>
27+
2228
<!-- <ul class="sidenav" id="mobile-demo">
2329
<li><a href="https://flutter-view.gitbook.io" class="grey-text text-darken-1">Documentation</a></li>
2430
<li><a href="https://github.com/flutter-view/flutter-view" class="grey-text text-darken-1">Github</a></li>

_layouts/post.html

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
layout: default
33
---
44

5-
<div class='card z-depth-1'>
6-
<div class="card-content">
7-
<a href="{{ url }}"><h2>{{ title }}</h2></a>
8-
{{ content }}
5+
<section id="posts">
6+
<div class='card z-depth-1'>
7+
<div class="card-content">
8+
<h2><a href="{{ page.url }}">{{ page.title }}</a></h2>
9+
{{ content }}
10+
</div>
911
</div>
10-
</div>
12+
</section>

_posts/2018-12-04-hello-world.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: post
3-
title: "Welcome to flutter-view!"
3+
title: "Welcome to flutter-view!"
44
---
55

66
Introducing Flutter-view, a new way to lay out and style your Flutter widgets.

_posts/2019-01-09-happy-newyear.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
layout: post
3+
title: "Flutter-view 1.0.0 Released!"
4+
---
5+
6+
# Happy new year!
7+
8+
![logo](/images/flutter-view-shaded.png)
9+
10+
As a new year start, Flutter-view 1.0.0 now has been released.
11+
12+
All known bugs have been fixed, so working with flutter-view makes creating interfaces in Flutter faster and easier than ever. The [documentation](https://docs.flutter-view.io) is now also complete, with documentation of every supported tag and shortcut.
13+
14+
This all means there is no better time to [get started with flutter-view](https://docs.flutter-view.io)!
15+
16+
As always, please enjoy using Flutter-view, and if you have any questions, feel free to contact or leave an issue on the [flutter-view repo](https://github.com/flutter-view/flutter-view).
17+
18+
19+
Christian Vogel
20+
[Twitter: @christianvogel](https://twitter.com/christianvogel)

_sass/main.sass

+12-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ section#posts .card-content
5252
margin-bottom: 30px !important
5353

5454
section#cover
55-
55+
5656
.cover-wrapper
5757

5858
.cover-animation
@@ -73,4 +73,14 @@ section#bulletpoints
7373
section#try
7474
.card-content
7575
padding-bottom: 50px
76-
margin-bottom: 80px
76+
margin-bottom: 80px
77+
78+
.alert-bar
79+
padding: 10px
80+
z-index: 9999
81+
background-color: #075b9a
82+
.alert-bar-wrapper
83+
margin-left: 10px
84+
font-weight: lighter
85+
font-size: 18px
86+
color: white

assets/lib/prism.css

+152
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
/* PrismJS 1.15.0
2+
https://prismjs.com/download.html#themes=prism-solarizedlight&languages=markup+css+clike+javascript+dart+pug */
3+
/*
4+
Solarized Color Schemes originally by Ethan Schoonover
5+
http://ethanschoonover.com/solarized
6+
7+
Ported for PrismJS by Hector Matos
8+
Website: https://krakendev.io
9+
Twitter Handle: https://twitter.com/allonsykraken)
10+
*/
11+
12+
/*
13+
SOLARIZED HEX
14+
--------- -------
15+
base03 #002b36
16+
base02 #073642
17+
base01 #586e75
18+
base00 #657b83
19+
base0 #839496
20+
base1 #93a1a1
21+
base2 #eee8d5
22+
base3 #fdf6e3
23+
yellow #b58900
24+
orange #cb4b16
25+
red #dc322f
26+
magenta #d33682
27+
violet #6c71c4
28+
blue #268bd2
29+
cyan #2aa198
30+
green #859900
31+
*/
32+
33+
code[class*="language-"],
34+
pre[class*="language-"] {
35+
color: #657b83; /* base00 */
36+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
37+
text-align: left;
38+
white-space: pre;
39+
word-spacing: normal;
40+
word-break: normal;
41+
word-wrap: normal;
42+
43+
line-height: 1.5;
44+
45+
-moz-tab-size: 4;
46+
-o-tab-size: 4;
47+
tab-size: 4;
48+
49+
-webkit-hyphens: none;
50+
-moz-hyphens: none;
51+
-ms-hyphens: none;
52+
hyphens: none;
53+
}
54+
55+
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
56+
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
57+
background: #073642; /* base02 */
58+
}
59+
60+
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
61+
code[class*="language-"]::selection, code[class*="language-"] ::selection {
62+
background: #073642; /* base02 */
63+
}
64+
65+
/* Code blocks */
66+
pre[class*="language-"] {
67+
padding: 1em;
68+
margin: .5em 0;
69+
overflow: auto;
70+
border-radius: 0.3em;
71+
}
72+
73+
:not(pre) > code[class*="language-"],
74+
pre[class*="language-"] {
75+
background-color: #fdf6e3; /* base3 */
76+
}
77+
78+
/* Inline code */
79+
:not(pre) > code[class*="language-"] {
80+
padding: .1em;
81+
border-radius: .3em;
82+
}
83+
84+
.token.comment,
85+
.token.prolog,
86+
.token.doctype,
87+
.token.cdata {
88+
color: #93a1a1; /* base1 */
89+
}
90+
91+
.token.punctuation {
92+
color: #586e75; /* base01 */
93+
}
94+
95+
.namespace {
96+
opacity: .7;
97+
}
98+
99+
.token.property,
100+
.token.tag,
101+
.token.boolean,
102+
.token.number,
103+
.token.constant,
104+
.token.symbol,
105+
.token.deleted {
106+
color: #268bd2; /* blue */
107+
}
108+
109+
.token.selector,
110+
.token.attr-name,
111+
.token.string,
112+
.token.char,
113+
.token.builtin,
114+
.token.url,
115+
.token.inserted {
116+
color: #2aa198; /* cyan */
117+
}
118+
119+
.token.entity {
120+
color: #657b83; /* base00 */
121+
background: #eee8d5; /* base2 */
122+
}
123+
124+
.token.atrule,
125+
.token.attr-value,
126+
.token.keyword {
127+
color: #859900; /* green */
128+
}
129+
130+
.token.function,
131+
.token.class-name {
132+
color: #b58900; /* yellow */
133+
}
134+
135+
.token.regex,
136+
.token.important,
137+
.token.variable {
138+
color: #cb4b16; /* orange */
139+
}
140+
141+
.token.important,
142+
.token.bold {
143+
font-weight: bold;
144+
}
145+
.token.italic {
146+
font-style: italic;
147+
}
148+
149+
.token.entity {
150+
cursor: help;
151+
}
152+

0 commit comments

Comments
 (0)