Skip to content

Commit 9f3be0d

Browse files
javiercanossinijeromesimeon
authored andcommitted
Design Updates
Signed-off-by: Javier Canossini <[email protected]>
1 parent 515281f commit 9f3be0d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+414
-94
lines changed
File renamed without changes.

assets/fonts/Graphik-100-Italic.otf

125 KB
Binary file not shown.

assets/fonts/Graphik-100-Italic.woff

125 KB
Binary file not shown.

assets/fonts/Graphik-100-Italic.woff2

30.4 KB
Binary file not shown.

assets/fonts/Graphik-100.otf

123 KB
Binary file not shown.

assets/fonts/Graphik-100.woff

123 KB
Binary file not shown.

assets/fonts/Graphik-100.woff2

29.5 KB
Binary file not shown.

assets/fonts/Graphik-200-Italic.otf

131 KB
Binary file not shown.

assets/fonts/Graphik-200-Italic.woff

125 KB
Binary file not shown.

assets/fonts/Graphik-200-Italic.woff2

32.5 KB
Binary file not shown.

assets/fonts/Graphik-200.otf

127 KB
Binary file not shown.

assets/fonts/Graphik-200.woff

123 KB
Binary file not shown.

assets/fonts/Graphik-200.woff2

31 KB
Binary file not shown.

assets/fonts/Graphik-300-Italic.otf

130 KB
Binary file not shown.

assets/fonts/Graphik-300-Italic.woff

125 KB
Binary file not shown.

assets/fonts/Graphik-300-Italic.woff2

32.5 KB
Binary file not shown.

assets/fonts/Graphik-300.otf

126 KB
Binary file not shown.

assets/fonts/Graphik-300.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-300.woff2

31.1 KB
Binary file not shown.

assets/fonts/Graphik-400-Italic.otf

126 KB
Binary file not shown.

assets/fonts/Graphik-400-Italic.woff

125 KB
Binary file not shown.

assets/fonts/Graphik-400-Italic.woff2

30.9 KB
Binary file not shown.

assets/fonts/Graphik-400.otf

123 KB
Binary file not shown.

assets/fonts/Graphik-400.woff

123 KB
Binary file not shown.

assets/fonts/Graphik-400.woff2

30 KB
Binary file not shown.

assets/fonts/Graphik-500-Italic.otf

132 KB
Binary file not shown.

assets/fonts/Graphik-500-Italic.woff

125 KB
Binary file not shown.

assets/fonts/Graphik-500-Italic.woff2

33.4 KB
Binary file not shown.

assets/fonts/Graphik-500.otf

129 KB
Binary file not shown.

assets/fonts/Graphik-500.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-500.woff2

31.9 KB
Binary file not shown.

assets/fonts/Graphik-600-Italic.otf

133 KB
Binary file not shown.

assets/fonts/Graphik-600-Italic.woff

124 KB
Binary file not shown.

assets/fonts/Graphik-600-Italic.woff2

33.9 KB
Binary file not shown.

assets/fonts/Graphik-600.otf

130 KB
Binary file not shown.

assets/fonts/Graphik-600.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-600.woff2

32 KB
Binary file not shown.

assets/fonts/Graphik-700-Italic.otf

134 KB
Binary file not shown.

assets/fonts/Graphik-700-Italic.woff

124 KB
Binary file not shown.

assets/fonts/Graphik-700-Italic.woff2

33.5 KB
Binary file not shown.

assets/fonts/Graphik-700.otf

131 KB
Binary file not shown.

assets/fonts/Graphik-700.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-700.woff2

31.9 KB
Binary file not shown.

assets/fonts/Graphik-800-Italic.otf

133 KB
Binary file not shown.

assets/fonts/Graphik-800-Italic.woff

124 KB
Binary file not shown.

assets/fonts/Graphik-800-Italic.woff2

33.3 KB
Binary file not shown.

assets/fonts/Graphik-800.otf

131 KB
Binary file not shown.

assets/fonts/Graphik-800.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-800.woff2

32.2 KB
Binary file not shown.

assets/fonts/Graphik-900-Italic.otf

131 KB
Binary file not shown.

assets/fonts/Graphik-900-Italic.woff

123 KB
Binary file not shown.

assets/fonts/Graphik-900-Italic.woff2

31.9 KB
Binary file not shown.

assets/fonts/Graphik-900.otf

130 KB
Binary file not shown.

assets/fonts/Graphik-900.woff

122 KB
Binary file not shown.

assets/fonts/Graphik-900.woff2

31 KB
Binary file not shown.

assets/images/accord_logo.png

2.28 KB

assets/images/background.jpg

132 KB

build.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,9 @@ let modelFileIndex = [];
209209
nunjucks.configure('./views', { autoescape: true });
210210

211211
// copy the logo to build directory
212-
await fs.copy('accord_logo.png', './build/accord_logo.png');
212+
await fs.copy('assets', './build/assets');
213+
await fs.copy('styles.css', './build/styles.css');
214+
await fs.copy('fonts.css', './build/fonts.css');
213215
await fs.copy('_headers', './build/_headers');
214216

215217
// validate and copy all the files

fonts.css

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
@font-face {
2+
font-family: Graphik;
3+
font-style: normal;
4+
font-weight: 400;
5+
src: url(/assets/fonts/Graphik-400.woff) format("woff2"),
6+
url(/assets/fonts/Graphik-400.woff) format("woff");
7+
}
8+
@font-face {
9+
font-family: Graphik;
10+
font-style: normal;
11+
font-weight: 500;
12+
src: url(/assets/fonts/Graphik-500.woff2) format("woff2"),
13+
url(/assets/fonts/Graphik-500.woff) format("woff");
14+
}
15+
@font-face {
16+
font-family: Graphik;
17+
font-style: normal;
18+
font-weight: 600;
19+
src: url(/assets/fonts/Graphik-600.woff2) format("woff2"),
20+
url(/assets/fonts/Graphik-600.woff) format("woff");
21+
}
22+
@font-face {
23+
font-family: Graphik;
24+
font-style: italic;
25+
font-weight: 400;
26+
src: url(/assets/fonts/Graphik-400-Italic.woff2) format("woff2"),
27+
url(/assets/fonts/Graphik-400-Italic.woff) format("woff");
28+
}
29+
@font-face {
30+
font-family: Graphik;
31+
font-style: normal;
32+
font-weight: 200;
33+
src: url(/assets/fonts/Graphik-200.woff2) format("woff2"),
34+
url(/assets/fonts/Graphik-200.woff) format("woff");
35+
}
36+
@font-face {
37+
font-family: Graphik;
38+
font-style: normal;
39+
font-weight: 300;
40+
src: url(/assets/fonts/Graphik-300.woff2) format("woff2"),
41+
url(/assets/fonts/Graphik-300.woff) format("woff");
42+
}

styles.css

+275
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,275 @@
1+
/* Global Styles Override */
2+
body {
3+
font-family: 'Graphik', sans-serif, Arial, Helvetica, sans-serif !important;
4+
}
5+
6+
a {
7+
color: rgb(25, 198, 199);
8+
font-weight: 500;
9+
transition: color 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
10+
}
11+
12+
a:hover {
13+
color: rgb(27, 37, 64) ;
14+
}
15+
16+
.content h1,
17+
.content h2,
18+
.content h3,
19+
.content h4,
20+
.content h5,
21+
.content h6 {
22+
color: rgb(27, 37, 64);
23+
}
24+
25+
.content h1:not(:first-child) {
26+
margin-top: 1em;
27+
font-weight: 400;
28+
font-size: 2.5rem;
29+
margin-bottom: 5px;
30+
}
31+
32+
.content p:not(:last-child) {
33+
margin-bottom:0px!important;
34+
}
35+
36+
.content p {
37+
font-size: 15px;
38+
font-weight: 300;
39+
line-height: 28px;
40+
color: rgba(5, 12, 64, 0.502);
41+
}
42+
43+
.content:not(:last-child) {
44+
margin-bottom:45px;
45+
}
46+
47+
.box {
48+
border-radius: 10px;
49+
display: inline-block;
50+
margin-bottom: 50px!important;
51+
}
52+
53+
/* Headings */
54+
55+
.title {
56+
font-weight: 400;
57+
color: rgb(27, 37, 64);
58+
}
59+
60+
.title:not(:last-child) {
61+
margin-bottom: 0;
62+
}
63+
64+
.title.is-2 {
65+
margin-bottom: 5px;
66+
}
67+
68+
.title.is-4 {
69+
margin-bottom: 20px;
70+
}
71+
72+
.title:not(.is-spaced)+.subtitle {
73+
max-width: 720px;
74+
margin-top:4px;
75+
}
76+
77+
.subtitle {
78+
font-size: 15px;
79+
font-weight: 300;
80+
line-height: 28px;
81+
color: rgba(5, 12, 64, 0.502);
82+
}
83+
84+
.has-background-dark,
85+
.is-dark {
86+
background-color: rgb(27, 37, 64) !important;
87+
}
88+
89+
.has-light {
90+
font-weight: 200!important;
91+
font-style: normal;
92+
color: rgb(211, 206, 224);
93+
}
94+
95+
/* Buttons */
96+
97+
.button {
98+
transition: background 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
99+
}
100+
101+
.button.is-primary {
102+
color: rgb(5, 12, 64) !important;
103+
background-color: rgb(25, 198, 199);
104+
height: 45px;
105+
width: auto;
106+
padding: 15px 30px 13px;
107+
font-size: 15px;
108+
border: 2px solid transparent;
109+
margin-right: 10px;
110+
margin-bottom: 15px;
111+
}
112+
113+
.button.is-primary.is-hovered,
114+
.button.is-primary:hover {
115+
background-color: rgba(255, 255, 255, 0);
116+
border: 2px solid rgb(25, 198, 199);
117+
}
118+
119+
.button.download-button {
120+
margin-right:15px;
121+
}
122+
123+
a.navbar-item {
124+
color:rgb(255, 255, 255);
125+
font-weight: 500;
126+
font-size: 14px;
127+
line-height: 1;
128+
transition: color .15s ease-in;
129+
}
130+
131+
a.navbar-item:hover {
132+
background-color: transparent;
133+
color: rgb(25, 198, 199);
134+
}
135+
136+
a.navbar-item img{
137+
margin-right:10px;
138+
}
139+
140+
.icon {
141+
margin-top: -2px;
142+
margin-right: 5px!important;
143+
}
144+
145+
/* Hero */
146+
.hero {
147+
padding-top: 140px;
148+
padding-bottom: 70px;
149+
background-image: url(/assets/images/background.jpg);
150+
background-repeat: no-repeat;
151+
background-repeat: no-repeat;
152+
background-position: center top;
153+
background-size: cover;
154+
}
155+
156+
.hero.is-dark a:not(.button):not(.dropdown-item):not(.tag) {
157+
color: rgb(25, 198, 199);
158+
transition: color .15s ease-in;
159+
}
160+
161+
.hero.is-dark a:not(.button):not(.dropdown-item):not(.tag):hover {
162+
color:rgb(255, 255, 255);
163+
}
164+
165+
/* Footer */
166+
167+
.footer .content p {
168+
font-weight: 500;
169+
font-style: normal;
170+
color: rgba(255, 255, 255, 0.502);
171+
font-size: 0.6666666667rem;
172+
letter-spacing: 1px;
173+
line-height: 1.8;
174+
text-transform: uppercase;
175+
}
176+
177+
/* Dropdown */
178+
179+
.dropdown {
180+
margin-top: 5px;
181+
margin-right: 20px;
182+
}
183+
184+
.dropdown .button .span {
185+
font-size: 15px;
186+
font-weight: 500;
187+
color: rgb(5, 12, 64);
188+
}
189+
190+
.dropdown-item {
191+
font-weight: 400!important;
192+
}
193+
194+
a.dropdown-item.is-active {
195+
background-color: rgb(25, 198, 199);
196+
color: rgb(5, 12, 64);
197+
}
198+
199+
svg.svg-inline--fa.fa-angle-down.fa-w-10 path {
200+
fill:rgb(25, 198, 199)!important;
201+
}
202+
203+
/* Tags */
204+
.tags:not(:last-child) {
205+
margin-bottom: 1rem;
206+
margin-top: 1rem;
207+
}
208+
209+
.brand-label {
210+
color: #fff;
211+
font-size: 18.75px;
212+
font-weight: 600;
213+
}
214+
215+
/* Table */
216+
217+
.table thead th {
218+
font-weight: 500;
219+
color: rgb(5, 12, 64);
220+
line-height: initial;
221+
border-bottom: 2px solid rgba(5, 12, 64, 0.102);
222+
color: rgba(5, 12, 64, 0.502);
223+
font-size: 0.6666666667rem;
224+
font-weight: 500;
225+
letter-spacing: 2.7px;
226+
line-height: initial;
227+
text-transform: uppercase;
228+
padding-bottom: 15px;
229+
}
230+
231+
.table td,
232+
.table th {
233+
border: 1px solid rgb(219, 219, 219);
234+
border-width: 0 0 1px;
235+
padding: 0.5em 0.75em;
236+
vertical-align: top;
237+
color: rgba(5, 12, 64, 0.6);
238+
font-size: 15px;
239+
font-weight: 400;
240+
}
241+
242+
.table tfoot th {
243+
font-weight: 500;
244+
color: rgb(5, 12, 64);
245+
line-height: initial;
246+
border-top: 2px solid rgba(5, 12, 64, 0.102);
247+
color: rgba(5, 12, 64, 0.502);
248+
font-size: 0.6666666667rem;
249+
font-weight: 500;
250+
letter-spacing: 2.7px;
251+
line-height: initial;
252+
text-transform: uppercase;
253+
padding-top: 15px;
254+
padding-bottom: 0;
255+
}
256+
257+
.table a:hover {
258+
color: rgb(5, 12, 64) !important;
259+
}
260+
261+
.technical-integration {
262+
margin-top: 95px;
263+
}
264+
265+
table.table.box.versions {
266+
margin-top: 10px;
267+
}
268+
269+
.inner-content {
270+
padding-top: 140px;
271+
}
272+
273+
ul.namespaces-list li {
274+
color: rgba(5, 12, 64, 0.502);
275+
}

views/index.njk

+9-24
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,27 @@
11
{% extends "page.njk" %}
22

33
{% block body %}
4-
<section class="section">
5-
<div class="container">
6-
<h1 class="title">
7-
Accord Project Model Repository
8-
</h1>
9-
<p class="subtitle">
10-
Open Source Data Models for Smart Legal Contracts, DLT and more...
11-
</p>
12-
</div>
13-
</section>
14-
15-
<section class="section">
4+
<section class="hero is-dark">
5+
<div class="hero-body">
166
<div class="container">
17-
<h2 class="title is-2">Welcome!</h2>
7+
<h1 class="title is-1">
8+
Accord Project <span class="has-light">Model Repository</span>
9+
</h1>
10+
<h2 class="subtitle">
1811
This repository host all Accord Project models. Models are captured using the
1912
<a href="https://github.com/hyperledger/composer-concerto">Concerto Modeling Language (CTO)</a>; a platform and runtime neutral typed schema language. The CTO
2013
<a href="https://models.accordproject.org/concerto/metamodel.html">meta-model</a> provides just-enough functionality to capture most business models and maps naturally to many executions
2114
languages. The CTO runtime stack is implemented in JavaScript and CTO instances serialize to JSON. CTO models
2215
can also be exported to Java, Go, XML Schema, Typescript etc using the <a href="https://github.com/hyperledger/composer-concerto-tools">Concerto Tools Project.</a>
16+
</h2>
2317
</div>
18+
</div>
2419
</section>
25-
26-
<section class="section">
27-
<div class="container">
28-
<h2 class="title is-2">Contributing</h2>
29-
To contribute new models (or fix existing models), importers or exporters, you can fork this GitHub repository and submit
30-
pull requests to the maintainers. Please join the
31-
<a href="http://accordproject.org">Accord Project</a> Technology Working Group Slack channel.
32-
</div>
33-
</section>
34-
3520
<section class="section">
3621
<div class="container">
3722
<h2 class="title is-2">Model Namespaces</h2>
3823
<div class="content">
39-
<ul>
24+
<ul class="namespaces-list">
4025
{% for e in modelFileIndex %}
4126
<li>
4227
<a href="{{e.htmlFile}}">{{e.modelFile.getNamespace()}}{{ e.modelVersion }}</a> ({{e.modelFile.getAllDeclarations().length}} types)

0 commit comments

Comments
 (0)