File tree Expand file tree Collapse file tree 6 files changed +83
-1
lines changed
Expand file tree Collapse file tree 6 files changed +83
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Nullstack Logo
3+ description : Nullstack comes with it's set of logos built-in
4+ ---
5+
6+ Nullstack comes with it's set of logos built-in to be used as components:
7+
8+ ``` jsx
9+ import Nullstack from ' nullstack' ;
10+ import Logo from ' nullstack/logo' ;
11+
12+ class Application extends Nullstack {
13+
14+ render () {
15+ return (
16+ < main>
17+ < Logo height= {30 } light / >
18+ < Logo height= {30 } monotone / >
19+ < Logo height= {30 } light monotone / >
20+ < Logo height= {30 } duotone / >
21+ < Logo height= {30 } light duotone / >
22+ < / main>
23+ )
24+ }
25+
26+ }
27+
28+ export default Application ;
29+ ```
30+
31+ The above components and it's attributes generates the following logos:
32+
33+ ![ Nullstack Logos] ( /nullstack-logos.png )
34+
35+ The Logo uses full width and has color ` duotone ` by default.
Original file line number Diff line number Diff line change @@ -31,3 +31,7 @@ topics:
3131 repository : " https://github.com/Mortaro/nullstack-cep-input"
3232 - title : " Phone Input"
3333 repository : " https://github.com/Mortaro/nullstack-phone-input"
34+ - title : " Assets"
35+ projects :
36+ - title : " Nullstack Logo"
37+ repository : " /nullstack-logo"
Original file line number Diff line number Diff line change 1+ ---
2+ title : Logo Nullstack
3+ description : Nullstack vem com seu conjunto de logotipos prontos pra uso
4+ ---
5+
6+ O Nullstack vem com seu conjunto de logotipos prontos para serem usados como componentes:
7+
8+ ``` jsx
9+ import Nullstack from ' nullstack' ;
10+ import Logo from ' nullstack/logo' ;
11+
12+ class Application extends Nullstack {
13+
14+ render () {
15+ return (
16+ < main>
17+ < Logo height= {30 } light / >
18+ < Logo height= {30 } monotone / >
19+ < Logo height= {30 } light monotone / >
20+ < Logo height= {30 } duotone / >
21+ < Logo height= {30 } light duotone / >
22+ < / main>
23+ )
24+ }
25+
26+ }
27+
28+ export default Application ;
29+ ```
30+
31+ Os componentes acima e seus atributos geram os seguintes logotipos:
32+
33+ ![ Nullstack Logos] ( /nullstack-logos.png )
34+
35+ O logotipo usa largura total e cores de ` duotone ` por padrão.
Original file line number Diff line number Diff line change @@ -31,3 +31,7 @@ topics:
3131 repository : " https://github.com/Mortaro/nullstack-cep-input"
3232 - title : " Input para Telefone"
3333 repository : " https://github.com/Mortaro/nullstack-phone-input"
34+ - title : " Assets"
35+ projects :
36+ - title : " Logo Nullstack"
37+ repository : " /pt-br/nullstack-logo"
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ class Components extends Translatable {
88
99 renderProject ( { title, repository} ) {
1010 return (
11- < a href = { repository } target = "_blank" rel = "noopener" class = "xl x12 p3y bcm2t ci1" >
11+ < a
12+ href = { repository }
13+ target = { repository . indexOf ( 'http' ) === 0 && "_blank" }
14+ rel = "noopener" class = "xl x12 p3y bcm2t ci1"
15+ >
1216 { title }
1317 </ a >
1418 )
You can’t perform that action at this time.
0 commit comments