vipassana-design-standards 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{assets → app/assets}/javascripts/index.js +7 -2
- data/{assets/css → app/assets/stylesheets}/fonts.css +44 -44
- data/{assets/css → app/assets/stylesheets}/index.css +1 -1
- data/app/assets/stylesheets/logo.css +123 -0
- data/index.html +18 -9
- data/lib/vipassana/engine.rb +4 -0
- data/lib/vipassana/logo_helper.rb +27 -1
- data/lib/vipassana/translations.rb +304 -0
- data/lib/vipassana-design-standards.rb +2 -1
- data/resolution.html +1 -1
- data/vipassana-design-standards.gemspec +1 -1
- metadata +58 -56
- data/assets/css/logo.css +0 -40
- /data/{assets → app/assets}/fonts/FootlightMTProBold.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProBoldItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProExtraBold.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProExtraBoldIt.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProLight.base64.js +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProLight.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProLightItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/FootlightMTProRegular.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Black.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-BlackItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Bold.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-BoldItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Italic.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Light.base64.js +0 -0
- /data/{assets → app/assets}/fonts/Lato-Light.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-LightItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Regular.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-Thin.woff +0 -0
- /data/{assets → app/assets}/fonts/Lato-ThinItalic.woff +0 -0
- /data/{assets → app/assets}/fonts/OFL.txt +0 -0
- /data/{assets → app/assets}/images/wheels/favicon.png +0 -0
- /data/{assets → app/assets}/images/wheels/favicon.svg +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/2.5D-wheel.png +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/2.5D-wheel.svg +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/2D-wheel.svg +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/3D-wheel.svg +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/dhamma wheel 3D.png +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/wheel-3d.ai +0 -0
- /data/{assets → app/assets}/images/wheels/old versions/wheel-3d.png +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-1.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-2.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-3.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-4.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-5.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-6.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-7.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-8.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/2.5D-wheel-sebastian.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/3D-wheel-2.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/3D-wheel-sebastian.svg +0 -0
- /data/{assets → app/assets}/images/wheels/tests/3D-wheel.svg +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023-duotone.png +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023-duotone.svg +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023-duotone.svg.js +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023-working-document-with-all-layers.svg +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023.png +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023.svg +0 -0
- /data/{assets → app/assets}/images/wheels/wheel-2023.svg.js +0 -0
- /data/{assets → app/assets}/javascripts/i18n.js +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ae88e192b757568c109e554815b2fef7446e8124653399ddbaf291f2519e30a
|
4
|
+
data.tar.gz: a46da6cb667d9c11b50e856165048371ba44984b8cb29ba9581db948eb6f9238
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d39d74b8e7c54f12177a7302c75f77b8b0091bcd6d8f9fc06add75f53aa073c1103424bfd00edbc4440e505f5a1ad8935b7fe54d1394a2311ad331f40566be8
|
7
|
+
data.tar.gz: 5e77dcc386052ea6df947c7a8fec6d11d71d4101eb0b1feaee7f2f16ae13346ccaaf30a79c97aadd09dc152b122958aec40691e6a4dce65bd7ade5252bfb5c0c
|
@@ -95,8 +95,11 @@ export default {
|
|
95
95
|
taglineFontFamily() {
|
96
96
|
return this.getTaglineFontFamily(this.locale)
|
97
97
|
},
|
98
|
+
reverse() {
|
99
|
+
return this.i18n[this.locale].reverse
|
100
|
+
},
|
98
101
|
positions() {
|
99
|
-
if (this.
|
102
|
+
if (this.reverse) {
|
100
103
|
return {
|
101
104
|
'left-one-line': {
|
102
105
|
firstTitleTop: 60,
|
@@ -257,7 +260,9 @@ export default {
|
|
257
260
|
},
|
258
261
|
downloadPNG() {
|
259
262
|
const [filename, canvas] = this.getPNGData()
|
260
|
-
|
263
|
+
setTimeout(() => {
|
264
|
+
fileSaver.saveAs(canvas.toDataURL(), filename);
|
265
|
+
}, 100)
|
261
266
|
},
|
262
267
|
getPNGData() {
|
263
268
|
// SVG -> canvas -> PNG
|
@@ -3,70 +3,70 @@
|
|
3
3
|
*/
|
4
4
|
|
5
5
|
:root { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
6
|
+
[lang="en"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
7
|
+
[lang="bg"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
8
|
+
[lang="cs"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
9
|
+
[lang="de"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
10
|
+
[lang="el"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
11
|
+
[lang="es"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
12
|
+
[lang="fa"] { --vipassana-font-family: 'Noto Sans Arabic'; --vipassana-headings-font-family: 'Noto Sans Arabic'; }
|
13
|
+
[lang="fi"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
14
|
+
[lang="fr"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
15
|
+
[lang="gu"] { --vipassana-font-family: 'Noto Sans Gujarati'; --vipassana-headings-font-family: 'Noto Sans Gujarati'; }
|
16
|
+
[lang="he"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
17
|
+
[lang="hi"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
18
|
+
[lang="hu"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
19
|
+
[lang="id"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
20
|
+
[lang="it"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
21
|
+
[lang="ja"] { --vipassana-font-family: 'Noto Sans JP'; --vipassana-headings-font-family: 'Noto Sans JP'; }
|
22
|
+
[lang="km"] { --vipassana-font-family: 'Noto Sans Khmer'; --vipassana-headings-font-family: 'Noto Sans Khmer'; }
|
23
|
+
[lang="ko"] { --vipassana-font-family: 'Noto Sans KR'; --vipassana-headings-font-family: 'Noto Sans KR'; }
|
24
|
+
[lang="lt"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
25
|
+
[lang="lv"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
26
|
+
[lang="mk"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
27
|
+
[lang="mr"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
28
|
+
[lang="nl"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
29
|
+
[lang="or"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
30
|
+
[lang="pl"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
31
|
+
[lang="pt"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
32
|
+
[lang="ro"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
33
|
+
[lang="ru"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
34
|
+
[lang="si"] { --vipassana-font-family: 'Noto Sans Sinhala'; --vipassana-headings-font-family: 'Noto Sans Sinhala'; }
|
35
|
+
[lang="sl"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
36
|
+
[lang="sr"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
37
|
+
[lang="sv"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
38
|
+
[lang="ta"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
39
|
+
[lang="te"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
40
|
+
[lang="th"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
41
|
+
[lang="tr"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
42
|
+
[lang="vi"] { --vipassana-font-family: 'Noto Sans'; --vipassana-headings-font-family: 'FootLight'; }
|
43
|
+
[lang="zh-HANS"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
44
|
+
[lang="zh-HANT"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
45
|
+
[lang="zh-HANT-HK"] { --vipassana-font-family: 'Lato'; --vipassana-headings-font-family: 'FootLight'; }
|
46
46
|
|
47
47
|
/* Main fonts */
|
48
48
|
|
49
49
|
@font-face {
|
50
50
|
font-family: 'FootLight';
|
51
|
-
src: url('
|
51
|
+
src: url('../fonts/FootlightMTProLight.woff');
|
52
52
|
font-weight: normal;
|
53
53
|
font-style: normal;
|
54
54
|
}
|
55
55
|
@font-face {
|
56
56
|
font-family: 'Lato';
|
57
|
-
src: url('
|
57
|
+
src: url('../fonts/Lato-Regular.woff');
|
58
58
|
font-weight: normal;
|
59
59
|
font-style: normal;
|
60
60
|
}
|
61
61
|
@font-face {
|
62
62
|
font-family: 'Lato';
|
63
|
-
src: url('
|
63
|
+
src: url('../fonts/Lato-Light.woff');
|
64
64
|
font-weight: 300;
|
65
65
|
font-style: normal;
|
66
66
|
}
|
67
67
|
@font-face {
|
68
68
|
font-family: 'Lato';
|
69
|
-
src: url('
|
69
|
+
src: url('../fonts/Lato-Bold.woff');
|
70
70
|
font-weight: 800;
|
71
71
|
font-style: normal;
|
72
72
|
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
.vipassana-logo {
|
2
|
+
display: inline-flex;
|
3
|
+
align-items: center;
|
4
|
+
transform: scale(1);
|
5
|
+
transform-origin: left;
|
6
|
+
|
7
|
+
--vipassana-logo-title-color: #9C6B14;
|
8
|
+
--vipassana-logo-tagline-color: #4F4D47;
|
9
|
+
|
10
|
+
--vipassana-logo-title-line-height: 1.1;
|
11
|
+
--vipassana-logo-tagline-line-height: 1.4;
|
12
|
+
}
|
13
|
+
.vipassana-logo[data-disposition="auto"] {
|
14
|
+
max-width: 44em; /* the title will wrap if it's too long */
|
15
|
+
}
|
16
|
+
.vipassana-logo[data-disposition="left-two-lines"] {
|
17
|
+
--vipassana-logo-tagline-line-height: 1.25;
|
18
|
+
}
|
19
|
+
.vipassana-logo[data-disposition="left-two-lines"][data-tagline="true"] {
|
20
|
+
--vipassana-logo-title-line-height: 1.05;
|
21
|
+
--vipassana-logo-tagline-line-height: 1.25;
|
22
|
+
}
|
23
|
+
.vipassana-logo[data-disposition="left-two-lines"][data-tagline="false"] {
|
24
|
+
--vipassana-logo-title-line-height: 1.15;
|
25
|
+
}
|
26
|
+
.vipassana-logo[data-reverse="true"] {
|
27
|
+
--vipassana-logo-tagline-line-height: 1.8;
|
28
|
+
}
|
29
|
+
.vipassana-logo[data-dark-mode="true"] {
|
30
|
+
--vipassana-logo-title-color: white;
|
31
|
+
--vipassana-logo-tagline-color: #ffffff90;
|
32
|
+
}
|
33
|
+
.vipassana-logo[data-disposition="centered"] {
|
34
|
+
flex-direction: column;
|
35
|
+
text-align: center;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Wheel */
|
39
|
+
.vipassana-logo .logo-wheel {
|
40
|
+
height: 5.5em;
|
41
|
+
max-width: 3.9em;
|
42
|
+
margin-right: 1em;
|
43
|
+
}
|
44
|
+
[dir="rtl"] .vipassana-logo .logo-wheel {
|
45
|
+
margin-left: 1em;
|
46
|
+
margin-right: 0;
|
47
|
+
}
|
48
|
+
.vipassana-logo[data-disposition="centered"] .logo-wheel {
|
49
|
+
margin: 0 !important;
|
50
|
+
margin-bottom: .6em !important;
|
51
|
+
}
|
52
|
+
.vipassana-logo[data-disposition="centered"][data-reverse="true"] .logo-wheel {
|
53
|
+
margin-bottom: .25em !important;
|
54
|
+
}
|
55
|
+
|
56
|
+
/* Text */
|
57
|
+
.vipassana-logo .logo-text {
|
58
|
+
display: flex;
|
59
|
+
flex-direction: column;
|
60
|
+
}
|
61
|
+
.vipassana-logo[data-reverse="true"] .logo-text {
|
62
|
+
flex-direction: column-reverse;
|
63
|
+
}
|
64
|
+
|
65
|
+
/* Title */
|
66
|
+
.vipassana-logo .logo-title {
|
67
|
+
color: var(--vipassana-logo-title-color);
|
68
|
+
font-family: var(--vipassana-headings-font-family);
|
69
|
+
line-height: var(--vipassana-logo-title-line-height);
|
70
|
+
font-size: 1.8em;
|
71
|
+
font-weight: normal;
|
72
|
+
margin: 0;
|
73
|
+
padding: 0;
|
74
|
+
display: flex;
|
75
|
+
flex-direction: row;
|
76
|
+
flex-wrap: wrap;
|
77
|
+
}
|
78
|
+
.vipassana-logo[data-reverse="true"] .logo-title {
|
79
|
+
flex-direction: row-reverse;
|
80
|
+
}
|
81
|
+
.vipassana-logo[data-disposition="left-two-lines"] .logo-title,
|
82
|
+
.vipassana-logo[data-disposition="centered"] .logo-title {
|
83
|
+
flex-direction: column;
|
84
|
+
}
|
85
|
+
.vipassana-logo[data-disposition="left-two-lines"] .logo-space,
|
86
|
+
.vipassana-logo[data-disposition="centered"] .logo-space {
|
87
|
+
display: none;
|
88
|
+
}
|
89
|
+
.vipassana-logo[data-disposition="left-two-lines"][data-reverse="true"] .logo-title,
|
90
|
+
.vipassana-logo[data-disposition="centered"][data-reverse="true"] .logo-title {
|
91
|
+
flex-direction: column-reverse;
|
92
|
+
}
|
93
|
+
|
94
|
+
|
95
|
+
.vipassana-logo .logo-title span {
|
96
|
+
display: inline-flex;
|
97
|
+
}
|
98
|
+
.vipassana-logo:not([data-reverse="true"]) [data-start-with="v"] {
|
99
|
+
margin-left: -.17em;
|
100
|
+
}
|
101
|
+
[dir="rtl"] .vipassana-logo [data-start-with="v"] {
|
102
|
+
margin-left: 0 !important;
|
103
|
+
}
|
104
|
+
|
105
|
+
.vipassana-logo[data-disposition="left-two-lines"] .logo-title span {
|
106
|
+
width: 100%;
|
107
|
+
}
|
108
|
+
.vipassana-logo[data-disposition="centered"] .logo-title span {
|
109
|
+
width: 100%;
|
110
|
+
justify-content: center;
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Tagline */
|
114
|
+
.logo-subtitle {
|
115
|
+
color: var(--vipassana-logo-tagline-color);
|
116
|
+
font-family: var(--vipassana-font-family);
|
117
|
+
font-weight: 300;
|
118
|
+
font-size: 1em;
|
119
|
+
line-height: var(--vipassana-logo-tagline-line-height);
|
120
|
+
}
|
121
|
+
.vipassana-logo[data-tagline="false"] .logo-subtitle {
|
122
|
+
display: none;
|
123
|
+
}
|
data/index.html
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
<head>
|
4
4
|
<meta charset="utf-8"/>
|
5
5
|
<title>Vipassana Meditation as Taught by S.N Goenka - Design Standards</title>
|
6
|
-
<link rel="stylesheet" href="./assets/
|
7
|
-
<link rel="stylesheet" href="./assets/
|
8
|
-
<link rel="stylesheet" href="./assets/
|
6
|
+
<link rel="stylesheet" href="./app/assets/stylesheets/index.css?ver=0.10">
|
7
|
+
<link rel="stylesheet" href="./app/assets/stylesheets/fonts.css?ver=0.10">
|
8
|
+
<link rel="stylesheet" href="./app/assets/stylesheets/logo.css?ver=0.10">
|
9
9
|
|
10
10
|
<link rel="icon" href="/dist/favicon.png">
|
11
11
|
|
@@ -59,7 +59,7 @@
|
|
59
59
|
</section>
|
60
60
|
|
61
61
|
<section id="app">
|
62
|
-
<div class="container" :class="{ready: ready}">
|
62
|
+
<div class="container" :class="{ready: ready}" :lang="locale">
|
63
63
|
<h2>Colors</h2>
|
64
64
|
<div class="colors-container">
|
65
65
|
<div class="color-container" v-for="color in colorPalette">
|
@@ -107,12 +107,21 @@
|
|
107
107
|
<input type="range" min="30" max="200" step="10" v-model="scale100"/>
|
108
108
|
</div>
|
109
109
|
|
110
|
-
<div class="logo-container" :
|
110
|
+
<div class="logo-container" :class="{night: night}" :dir="isRtl ? 'rtl' : 'ltr'">
|
111
111
|
<!-- Logo as html -->
|
112
|
-
<div
|
113
|
-
|
112
|
+
<div class="vipassana-logo"
|
113
|
+
:data-disposition="disposition"
|
114
|
+
:data-tagline="displayTagline"
|
115
|
+
:data-dark-mode="night"
|
116
|
+
:data-reverse="reverse ? 'true' : 'false'"
|
117
|
+
:style="{ 'font-size': `${scale * 18}px` }">
|
118
|
+
<img class="logo-wheel" :src="wheelPath"/>
|
114
119
|
<div class="logo-text">
|
115
|
-
<h1 class="logo-title"
|
120
|
+
<h1 class="logo-title">
|
121
|
+
<span :data-start-with="t('vipassana_meditation')[0].toLowerCase()">{{ t('vipassana_meditation') }}</span>
|
122
|
+
<span class="logo-space"> </span>
|
123
|
+
<span>{{ t('as_taught') }}</span>
|
124
|
+
</h1>
|
116
125
|
<div class="logo-subtitle">{{ t('in_the_tradition') }}</div>
|
117
126
|
</div>
|
118
127
|
</div>
|
@@ -214,7 +223,7 @@
|
|
214
223
|
|
215
224
|
<script type="module">
|
216
225
|
import { createApp } from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
|
217
|
-
import App from './assets/javascripts/index.js?ver=0.10'
|
226
|
+
import App from './app/assets/javascripts/index.js?ver=0.10'
|
218
227
|
|
219
228
|
createApp(App).mount('#app')
|
220
229
|
</script>
|
@@ -1,8 +1,9 @@
|
|
1
1
|
module Vipassana
|
2
2
|
module LogoHelper
|
3
3
|
require "vipassana/logos_inline_svg.rb"
|
4
|
+
require "vipassana/tranlsations.rb"
|
4
5
|
|
5
|
-
def
|
6
|
+
def vipassana_logo_svg(locale: I18n.locale, disposition: "normal", height: nil, width: nil)
|
6
7
|
height = 70 if height.nil? && width.nil?
|
7
8
|
|
8
9
|
data = SVGS[locale.to_sym] || SVGS[:en]
|
@@ -13,5 +14,30 @@ module Vipassana
|
|
13
14
|
|
14
15
|
string.html_safe
|
15
16
|
end
|
17
|
+
|
18
|
+
def vipassana_logo_html(locale: I18n.locale, disposition: "auto", size: '18', tagline: true, dark: false)
|
19
|
+
trans = TRANSATIONS[locale.to_sym]
|
20
|
+
result = <<-HTML
|
21
|
+
<div class="vipassana-logo"
|
22
|
+
data-disposition="#{disposition}"
|
23
|
+
data-tagline="#{tagline}"
|
24
|
+
data-dark-mode="#{dark}"
|
25
|
+
data-reverse="#{trans[:reverse]}"
|
26
|
+
style="font-size: #{size}px">
|
27
|
+
<img class="logo-wheel" :src="wheelPath"/>
|
28
|
+
<div class="logo-text">
|
29
|
+
<h1 class="logo-title">
|
30
|
+
<span data-start-with="#{trans[:vipassana_meditation].at(0).downcase}">
|
31
|
+
#{trans[:vipassana_meditation]}
|
32
|
+
</span>
|
33
|
+
<span class="logo-space"> </span>
|
34
|
+
<span>#{trans[:as_taught]}</span>
|
35
|
+
</h1>
|
36
|
+
<div class="logo-subtitle">#{trans[:in_the_tradition]}</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
HTML
|
40
|
+
result.html_safe
|
41
|
+
end
|
16
42
|
end
|
17
43
|
end
|
@@ -0,0 +1,304 @@
|
|
1
|
+
# this is a copy of i18n.js, using ruby syntax instead of javascript syntax
|
2
|
+
|
3
|
+
TRANSLATIONS = {
|
4
|
+
"en": {
|
5
|
+
"language": "English",
|
6
|
+
"vipassana_meditation": "Vipassana Meditation",
|
7
|
+
"as_taught": "as Taught by S.N. Goenka",
|
8
|
+
"in_the_tradition": "in the Tradition of Sayagyi U Ba Khin",
|
9
|
+
"full": "Vipassana Meditation As Taught By S.N. Goenka in the Tradition of Sayagyi U Ba Khin",
|
10
|
+
},
|
11
|
+
"bg": {
|
12
|
+
"language": "Bulgarian",
|
13
|
+
"vipassana_meditation": "Випассана Медитация",
|
14
|
+
"as_taught": "както се Преподава от С.Н. Гоенка",
|
15
|
+
"in_the_tradition": "в Традицията на Саяджи У Ба Кин",
|
16
|
+
"full": "Випассана Медитация, както се преподава от С. Н. Гоенка, в традицията на Саяджи У Ба Кин",
|
17
|
+
},
|
18
|
+
"cs": {
|
19
|
+
"language": "Czech",
|
20
|
+
"vipassana_meditation": "Meditace Vipassana",
|
21
|
+
"as_taught": "jak ji Vyučoval S.N. Goenka",
|
22
|
+
"in_the_tradition": "podle Tradice Sayagyi U Ba Khin",
|
23
|
+
"full": "Meditace vipassana, jak ji vyučuje S. N. Goenka podle tradice Sayagyi U Ba Khina"
|
24
|
+
},
|
25
|
+
"de": {
|
26
|
+
"language": "German",
|
27
|
+
"vipassana_meditation": "Vipassana Meditation",
|
28
|
+
"as_taught": "wie Gelehrt von S.N. Goenka",
|
29
|
+
"in_the_tradition": "in der Tradition von Sayagyi U Ba Khin",
|
30
|
+
"full": "Vipassana Meditation wie gelehrt von S.N. Goenka in der Tradition von Sayagyi U Ba Khin"
|
31
|
+
},
|
32
|
+
"el": {
|
33
|
+
"language": "Greek",
|
34
|
+
"vipassana_meditation": "Βιπάσσανα Διαλογισμός",
|
35
|
+
"as_taught": "Όπως διδάσκει ο S.N. Goenka",
|
36
|
+
"in_the_tradition": "στην παράδοση του Sayagyi U Ba Khin",
|
37
|
+
"full": "Διαλογισμός Βιπάσσανα όπως διδάσκεται από τον S.N.Goenka και τους βοηθούς του, κατά την παράδοση του Sayagyi U Ba Khin"
|
38
|
+
},
|
39
|
+
"es": {
|
40
|
+
"language": "Spanish",
|
41
|
+
"vipassana_meditation": "Meditación Vipassana",
|
42
|
+
"as_taught": "tal y como la Enseña S.N. Goenka",
|
43
|
+
"in_the_tradition": "en la Tradición de Sayagyi U Ba Khin",
|
44
|
+
"full": "Meditación Vipassana tal y como la enseña S.N. Goenka en la tradición de Sayagyi U Ba Khin",
|
45
|
+
},
|
46
|
+
"fa": {
|
47
|
+
"rtl": true,
|
48
|
+
"language": "Persian (Farsi)",
|
49
|
+
"vipassana_meditation": "ویپاسانا مراقبه",
|
50
|
+
"as_taught": "همانطور که توسط س.ن. گوئنکا تدریس شده است",
|
51
|
+
"in_the_tradition": "به سنت سایاجی اوباکین",
|
52
|
+
"full": "مراقبه ویپاسانا با روش آموزش س. ن. گوینکا در سنت سایاجی اوباکین"
|
53
|
+
},
|
54
|
+
"fi": {
|
55
|
+
"language": "Finnish",
|
56
|
+
"vipassana_meditation": "Vipassana Meditaatio",
|
57
|
+
"as_taught": "S.N. Goenka opettamana",
|
58
|
+
"in_the_tradition": "Sayagyi U Ba Khinin Traditiossa",
|
59
|
+
"full": "Vipassanameditaatio S.N. Goenkan opettamana, Sayagyi U Ba Khinin traditiossa",
|
60
|
+
},
|
61
|
+
"fr": {
|
62
|
+
"language": "French",
|
63
|
+
"vipassana_meditation": "Méditation Vipassana",
|
64
|
+
"as_taught": "telle qu'enseignée par S.N. Goenka",
|
65
|
+
"in_the_tradition": "dans la Tradition de Sayagyi U Ba Khin",
|
66
|
+
"full": "Méditation Vipassana telle qu'enseignée par S.N.Goenka dans la tradition de Sayagyi U Ba Khin",
|
67
|
+
},
|
68
|
+
"gu": {
|
69
|
+
"reverse": true,
|
70
|
+
"language": "Gujarati",
|
71
|
+
"vipassana_meditation": "વિપશ્યના સાધના",
|
72
|
+
"as_taught": "આચાર્ય ગોયન્કાજી દ્વારા શીખવવામાં",
|
73
|
+
"vipassana_as_taught": "આચાર્ય ગોયન્કાજી દ્વારા શીખવવામાં આવતી વિપશ્યના સાધના",
|
74
|
+
"in_the_tradition": "સયાજી ઉ બા ખિનની પરંપરામાં",
|
75
|
+
"full": "સયાજી ઉ બા ખિનની પરંપરામાં આચાર્ય ગોયન્કાજી દ્વારા શીખવવામાં આવતી વિપશ્યના સાધના"
|
76
|
+
},
|
77
|
+
"he": {
|
78
|
+
"rtl": true,
|
79
|
+
"reverse": true,
|
80
|
+
"language": "Hebrew",
|
81
|
+
"vipassana_meditation": "מדיטציית ויפאסנה",
|
82
|
+
"as_taught": "כפי שמלמד ס.נ. גואנקה",
|
83
|
+
"in_the_tradition": "במסורתו של סיאג’י או-בה-קין",
|
84
|
+
"full": "מדיטציית ויפאסנה כפי שמלמד ס.נ. גואנקה במסורתו של סיאג'י או בה קין"
|
85
|
+
},
|
86
|
+
"hi": {
|
87
|
+
"reverse": true,
|
88
|
+
"language": "Hindi",
|
89
|
+
"vipassana_meditation": "विपश्यना साधना",
|
90
|
+
"as_taught": "आचार्य गोयन्काजी द्वारा सिखायी गयी",
|
91
|
+
"vipassana_as_taught": "आचार्य गोयन्काजी द्वारा सिखायी गयी विपश्यना साधना",
|
92
|
+
"in_the_tradition": "सयाजी ऊ बा खिन की परंपरा में",
|
93
|
+
"full": "सयाजी उ बा खिन की परंपरा में आचार्य गोयन्काजी द्वारा सिखायी गयी विपश्यना साधना"
|
94
|
+
},
|
95
|
+
"hu": {
|
96
|
+
"language": "Hungarian",
|
97
|
+
"vipassana_meditation": "Vipassana Meditáció",
|
98
|
+
"as_taught": "S.N. Goenka Tanítása szerint",
|
99
|
+
"in_the_tradition": "Sayagyi U Ba Khin Hagyományvonalán",
|
100
|
+
"full": "Vipassana meditáció S.N. Goenkának a Sayagyi U Ba Khin hagyományvonalán alapuló tanítása szerint"
|
101
|
+
},
|
102
|
+
"id": {
|
103
|
+
"language": "Indonesian",
|
104
|
+
"vipassana_meditation": "Vipassana Meditasi",
|
105
|
+
"as_taught": "sebagaimana Diajarkan oleh S.N. Goenka",
|
106
|
+
"in_the_tradition": "dalam Tradisi Sayagyi U Ba Khin",
|
107
|
+
"full": "Meditasi Vipassana sebagaimana diajarkan oleh S.N. Goenka dengan tradisi Sayagyi U Ba Khin"
|
108
|
+
},
|
109
|
+
"it": {
|
110
|
+
"language": "Italian",
|
111
|
+
"vipassana_meditation": "Meditazione Vipassana",
|
112
|
+
"as_taught": "come Insegnata da S.N. Goenka",
|
113
|
+
"in_the_tradition": "nella Tradizione di Sayagyi U Ba Khin",
|
114
|
+
"full": "Meditazione Vipassana come insegnata da S. N. Goenka nella tradizione di Sayagyi U Ba Khin"
|
115
|
+
},
|
116
|
+
"ja": {
|
117
|
+
"reverse": true,
|
118
|
+
"language": "Japanese",
|
119
|
+
"vipassana_meditation": "ヴィパッサナー 瞑想",
|
120
|
+
"as_taught": "S.N.ゴエンカの指導による",
|
121
|
+
"in_the_tradition": "サヤジ・ウ・バ・キンの伝統のもと",
|
122
|
+
"vipassana_as_taught": "S.N.ゴエンカの指導によるヴィパッサナー瞑想",
|
123
|
+
"full": "サヤジ・ウ・バ・キンの伝統のもと S.N.ゴエンカの指導によるヴィパッサナー瞑想"
|
124
|
+
},
|
125
|
+
"km": {
|
126
|
+
"language": "Khmer",
|
127
|
+
"vipassana_meditation": "វិបស្សនា កម្មដ្ឋាន",
|
128
|
+
"as_taught": "បង្រៀនដោយលោក ស.ន. ហ្គោឥនកា",
|
129
|
+
"in_the_tradition": "តាមប្រពៃណីរបស់លោក សាយាគ្យី អ៊ូបាឃិន",
|
130
|
+
"vipassana_as_taught": "វិបស្សនាកម្មដ្ឋានតាមការបង្រៀនដោយលោក ស.ន. ហ្គោឥនកា",
|
131
|
+
"full": "វិបស្សនាកម្មដ្ឋាន បង្រៀនដោយលោក ស.ន. ហ្គោឥនកា តាមប្រពៃណីរបស់លោក សាយាគ្យី អ៊ូបាឃិន"
|
132
|
+
},
|
133
|
+
"ko": {
|
134
|
+
"reverse": true,
|
135
|
+
"language": "Korean",
|
136
|
+
"vipassana_meditation": "위빳사나 명상",
|
137
|
+
"as_taught": "고엥까 선생님이 가르치는",
|
138
|
+
"in_the_tradition": "사야지 우바킨의 전통에 따라",
|
139
|
+
"vipassana_as_taught": "고엥까 선생님이 가르치는 위빳사나 명상",
|
140
|
+
"full": "사야지 우 바 킨의 전통에 따라 S.N. 고엥까 (고엔카) 님이 가르치는 위빳사나 명상",
|
141
|
+
},
|
142
|
+
"lt": {
|
143
|
+
"language": "Lithuanian",
|
144
|
+
"vipassana_meditation": "Vipasanos Meditacija",
|
145
|
+
"as_taught": "kaip Mokė S.N. Goenka",
|
146
|
+
"in_the_tradition": "pagal Sayagyi U Ba Khino Tradiciją",
|
147
|
+
"full": "Vipasanos meditacija pagal S. N. Goenkos mokymą ir Sayagyi U Ba Khino tradiciją",
|
148
|
+
},
|
149
|
+
"lv": {
|
150
|
+
"language": "Latvian",
|
151
|
+
"vipassana_meditation": "Vipassanas Meditācija",
|
152
|
+
"as_taught": "kā to Pasniedz S.N. Goenka",
|
153
|
+
"in_the_tradition": "Sayagyi U Ba Khina Tradīcijā",
|
154
|
+
"full": "Vipassanas Meditācija kā to pasniedz S. N. Goenka Sayagyi U Ba Khina tradīcijā"
|
155
|
+
},
|
156
|
+
"mk": {
|
157
|
+
"language": "Macedonian",
|
158
|
+
"vipassana_meditation": "Випасана медитација",
|
159
|
+
"as_taught": "Според подучувањето на С.Н. Гоенка",
|
160
|
+
"in_the_tradition": "во традицијата на Сајаги У Ба Кин"
|
161
|
+
},
|
162
|
+
"mr": {
|
163
|
+
"reverse": true,
|
164
|
+
"language": "Marathi",
|
165
|
+
"vipassana_meditation": "विपश्यना साधना",
|
166
|
+
"as_taught": "आचार्य गोयन्काजी द्वारा जशी शिकविली जाते",
|
167
|
+
"vipassana_as_taught": "आचार्य गोयन्काजींनी शिकवलेली विपश्यना साधना",
|
168
|
+
"in_the_tradition": "सयाजी उ बा खिन ह्यांच्या परंपरेत",
|
169
|
+
"full": "सयाजी उ बा खिन ह्यांच्या परंपरेत आचार्य गोयन्काजींनी शिकवलेली विपश्यना साधना"
|
170
|
+
},
|
171
|
+
"nl": {
|
172
|
+
"language": "Dutch",
|
173
|
+
"vipassana_meditation": "Vipassana Meditatie",
|
174
|
+
"as_taught": "zoals Onderwezen door S.N. Goenka",
|
175
|
+
"in_the_tradition": "in de Traditie van Sayagyi U Ba Khin",
|
176
|
+
"full": "Vipassana Meditatie zoals onderwezen door S.N. Goenka in de traditie van Sayagyi U Ba Khin"
|
177
|
+
},
|
178
|
+
"or": {
|
179
|
+
"language": "Oriya",
|
180
|
+
"vipassana_meditation": "ଭିପାସାନା ସାଧନା",
|
181
|
+
"as_taught": "ଯେହେତୁ ଏସ.ଏନ ଗୋଏଙ୍କା",
|
182
|
+
"in_the_tradition": "ସାୟାଗି ୟୁ ବା ଖିନଙ୍କ ପରମ୍ପରାରେ",
|
183
|
+
"full": "ଭିପାସାନା ସାଧନା ଯେପରି ଏସ୍। ସାୟାଗି ୟୁ ବା ଖିନଙ୍କ ପରମ୍ପରାରେ ଗୋଏଙ୍କା |"
|
184
|
+
},
|
185
|
+
"pl": {
|
186
|
+
"language": "Polish",
|
187
|
+
"vipassana_meditation": "Medytacja Vipassana",
|
188
|
+
"as_taught": "Nauczana przez S.N. Goenkę",
|
189
|
+
"in_the_tradition": "w Tradycji Sayagyi U Ba Khina",
|
190
|
+
"full": "Medytacja Vipassana w tradycji Sayagyi U Ba Khina nauczana przez S.N.Goenkę",
|
191
|
+
},
|
192
|
+
"pt": {
|
193
|
+
"language": "Portuguese",
|
194
|
+
"vipassana_meditation": "Vipassana Meditação",
|
195
|
+
"as_taught": "como Ensinada por S.N. Goenka",
|
196
|
+
"in_the_tradition": "na Tradição de Sayagyi U Ba Khin",
|
197
|
+
"full": "Meditação Vipasssana como ensinada por S.N. Goenka na tradição de Sayagyi U Ba Khin"
|
198
|
+
},
|
199
|
+
"ro": {
|
200
|
+
"language": "Romanian",
|
201
|
+
"vipassana_meditation": "Meditatia Vipassana",
|
202
|
+
"as_taught": "asa cum este Predata de S.N. Goenka",
|
203
|
+
"in_the_tradition": "în tradiţia lui Sayagyi U Ba Khin",
|
204
|
+
"full": "Meditatia Vipassana asa cum este predata de S.N.Goenka, in traditia lui Sayagyi U Ba Khin"
|
205
|
+
},
|
206
|
+
"ru": {
|
207
|
+
"language": "Russian",
|
208
|
+
"vipassana_meditation": "Випассана Медитация",
|
209
|
+
"as_taught": "как ее Преподает С.Н. Гоенка",
|
210
|
+
"in_the_tradition": "в Традиции Саяджи У Ба Кхина",
|
211
|
+
"full": "Медитация випассана как ее преподает С.Н. Гоенка в традиции Саяджи У Ба Кхина"
|
212
|
+
},
|
213
|
+
"si": {
|
214
|
+
"reverse": true,
|
215
|
+
"language": "Sinhala",
|
216
|
+
"vipassana_meditation": "විපස්සනා භාවනාව",
|
217
|
+
"as_taught": "එස් එන්. ගොඑන්කා විසින් උගන්වනු ලබන පරිදි",
|
218
|
+
"in_the_tradition": "සයාජී ඌ බා කින් තුමාගේ සම්ප්රදායට අනුව",
|
219
|
+
"vipassana_as_taught": "විසින් උගන්වනු ලබන විපස්සනා භාවනාව එස්. එන්. ගොඑන්කා",
|
220
|
+
"full": "සයාජී ඌ බා කින් තුමාගේ සම්ප්රදායට අනුව එස්. එන්. ගොඑන්කා විසින් උගන්වනු ලබන විපස්සනා භාවනාව"
|
221
|
+
},
|
222
|
+
"sl": {
|
223
|
+
"language": "Slovenian",
|
224
|
+
"vipassana_meditation": "Vipassana Meditacija",
|
225
|
+
"as_taught": "kot jo poučuje S.N. Goenka",
|
226
|
+
"in_the_tradition": "v tradiciji Sayagyi U Ba Khina"
|
227
|
+
},
|
228
|
+
"sr": {
|
229
|
+
"language": "Serbian",
|
230
|
+
"vipassana_meditation": "Випассана медитација",
|
231
|
+
"as_taught": "Po učenju S.N. Goenke",
|
232
|
+
"in_the_tradition": "u Tradiciji Sayagyi U Ba Khin"
|
233
|
+
},
|
234
|
+
"sv": {
|
235
|
+
"language": "Swedish",
|
236
|
+
"vipassana_meditation": "Vipassanameditation",
|
237
|
+
"as_taught": "som den Lärs ut av S.N. Goenka",
|
238
|
+
"in_the_tradition": "i Sayagyi U Ba Khins Tradition",
|
239
|
+
"full": "Vipassanameditation som den Lärs ut av S.N. Goenka i Sayagyi U Ba Khins Tradition",
|
240
|
+
},
|
241
|
+
"ta": {
|
242
|
+
"language": "Tamil",
|
243
|
+
"vipassana_meditation": "விபஸ்ஸனா தியானம்",
|
244
|
+
"as_taught": "ஸயாஜி ஊ பா கின் அவர்களின் வழிமரபில்",
|
245
|
+
"in_the_tradition": "திரு. ச.நா. கோயங்கா அவர்களால் கற்பிக்கப்பட்ட முறை",
|
246
|
+
"vipassana_as_taught": "விபஸ்ஸனா தியான முறை திரு ச.நா.கோயங்கா அவர்களால் கற்றுக்கொடுக்கப்பட்ட",
|
247
|
+
"full": "ஸயாஜி ஊ பா கின் அவர்களின் வழிமரபில் திரு.ச.நா. கோயங்கா அவர்களால் கற்பிக்கப்படும் விபஸ்ஸனா தியான முறை"
|
248
|
+
},
|
249
|
+
"te": {
|
250
|
+
"reverse": true,
|
251
|
+
"language": "Telugu",
|
252
|
+
"vipassana_meditation": "విపశ్యన ధ్యానం",
|
253
|
+
"as_taught": "శ్రీ గోయెంక గారిచే భోదించబడిన",
|
254
|
+
"in_the_tradition": "సాయజి ఉ బ ఖిన్ గారి సంప్రదాయంలో",
|
255
|
+
"vipassana_as_taught": "శ్రీ గోయెంకా గారు బోధించిన విపశ్యన ధ్యానం",
|
256
|
+
"full": "సాయజి ఉబాఖిన్ గారి సంప్రదాయంలో, శ్రీ గోయెంక గారు బోధించిన విపశ్యన ధ్యానం."
|
257
|
+
},
|
258
|
+
"th": {
|
259
|
+
"language": "Thai",
|
260
|
+
"vipassana_meditation": "การปฏิบัติวิปัสสนา กรรมฐาน",
|
261
|
+
"as_taught": "สอนโดยท่านอาจารย์โกเอ็นก้า",
|
262
|
+
"in_the_tradition": "ในแนวทางของท่านซายาจี อูบาขิ่น",
|
263
|
+
"full": "การปฏิบัติวิปัสสนากรรมฐาน สอนโดยท่านอาจารย์โกเอ็นก้า ตามแนวทางของท่านอาจารย์อูบาขิ่น"
|
264
|
+
},
|
265
|
+
"tr": {
|
266
|
+
"reverse": true,
|
267
|
+
"language": "Turkish",
|
268
|
+
"vipassana_meditation": "Vipassana Meditasyonu",
|
269
|
+
"as_taught": "S.N. Goenka tarafından Öğretilen",
|
270
|
+
"in_the_tradition": "Sayagyi U Ba Khin Geleneğinde",
|
271
|
+
"vipassana_as_taught": "S.N. Goenka tarafından öğretilen Vipassana Meditasyonu",
|
272
|
+
"full": "Sayagyi U Ba Khin Geleneğinde S.N. Goenka tarafından öğretilen Vipassana Meditasyonu"
|
273
|
+
},
|
274
|
+
"vi": {
|
275
|
+
"language": "Vietnamese",
|
276
|
+
"vipassana_meditation": "Thiền Vipassana",
|
277
|
+
"as_taught": "do Thiền sư S.N. Goenka Giảng Dạy",
|
278
|
+
"in_the_tradition": "theo Truyền thống của Sayagyi U Ba Khin",
|
279
|
+
"full": "Thiền Vipassana do Thiền sư S.N. Goenka giảng dạy theo truyền thống của Ngài Sayagyi U Ba Khin"
|
280
|
+
},
|
281
|
+
"zh-HANS": {
|
282
|
+
"language": "Simp. Chinese",
|
283
|
+
"vipassana_meditation": "内 观 静 坐",
|
284
|
+
"as_taught": "由葛印卡老师所教",
|
285
|
+
"as_taught3": "葛印卡老师所教导",
|
286
|
+
"in_the_tradition": "传承自乌巴庆老师",
|
287
|
+
"vipassana_as_taught": "葛印卡老师所教导的内观静坐",
|
288
|
+
"full": "由葛印卡老师所教导, 传承自乌巴庆老师的内观",
|
289
|
+
},
|
290
|
+
"zh-HANT": {
|
291
|
+
"language": "Trad. Chinese",
|
292
|
+
"vipassana_meditation": "內 觀 靜 坐",
|
293
|
+
"as_taught": "由葛印卡老師所教",
|
294
|
+
"in_the_tradition": "傳承自烏巴慶老师",
|
295
|
+
"vipassana_as_taught": "葛印卡老師所教導的內觀靜坐",
|
296
|
+
"full": "遵循烏巴慶長者所傳、葛印卡老師所教的內觀課程"
|
297
|
+
},
|
298
|
+
"zh-HANT-HK": {
|
299
|
+
"language": "Trad Chinese HK",
|
300
|
+
"vipassana_meditation": "內 觀 靜 坐",
|
301
|
+
"as_taught": "葛印卡老師所教導",
|
302
|
+
"in_the_tradition": "傳承自烏巴慶老師"
|
303
|
+
}
|
304
|
+
}
|
data/resolution.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'vipassana-design-standards'
|
5
|
-
gem.version = '0.0.
|
5
|
+
gem.version = '0.0.6'
|
6
6
|
# gem.license = 'MIT'
|
7
7
|
gem.summary = 'Include Vipassana SVG logos in your pages'
|
8
8
|
gem.description = 'A ruby module to offer inline SVG images for each language'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vipassana-design-standards
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dhamma workers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-05-
|
11
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A ruby module to offer inline SVG images for each language
|
14
14
|
email:
|
@@ -20,60 +20,60 @@ extra_rdoc_files: []
|
|
20
20
|
files:
|
21
21
|
- ".htaccess"
|
22
22
|
- README.md
|
23
|
-
- assets/
|
24
|
-
- assets/
|
25
|
-
- assets/
|
26
|
-
- assets/fonts/
|
27
|
-
- assets/fonts/
|
28
|
-
- assets/fonts/
|
29
|
-
- assets/fonts/
|
30
|
-
- assets/fonts/
|
31
|
-
- assets/fonts/
|
32
|
-
- assets/fonts/
|
33
|
-
- assets/fonts/
|
34
|
-
- assets/fonts/
|
35
|
-
- assets/fonts/Lato-
|
36
|
-
- assets/fonts/Lato-
|
37
|
-
- assets/fonts/Lato-
|
38
|
-
- assets/fonts/Lato-
|
39
|
-
- assets/fonts/Lato-
|
40
|
-
- assets/fonts/Lato-
|
41
|
-
- assets/fonts/Lato-
|
42
|
-
- assets/fonts/Lato-
|
43
|
-
- assets/fonts/
|
44
|
-
- assets/
|
45
|
-
- assets/
|
46
|
-
- assets/
|
47
|
-
- assets/images/wheels/
|
48
|
-
- assets/images/wheels/
|
49
|
-
- assets/images/wheels/old versions/
|
50
|
-
- assets/images/wheels/old versions/
|
51
|
-
- assets/images/wheels/old versions/
|
52
|
-
- assets/images/wheels/old versions/
|
53
|
-
- assets/images/wheels/
|
54
|
-
- assets/images/wheels/
|
55
|
-
- assets/images/wheels/
|
56
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
57
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
58
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
59
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
60
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
61
|
-
- assets/images/wheels/tests/2.5D-wheel-
|
62
|
-
- assets/images/wheels/tests/
|
63
|
-
- assets/images/wheels/tests/
|
64
|
-
- assets/images/wheels/tests/
|
65
|
-
- assets/images/wheels/
|
66
|
-
- assets/images/wheels/
|
67
|
-
- assets/images/wheels/
|
68
|
-
- assets/images/wheels/wheel-2023-
|
69
|
-
- assets/images/wheels/wheel-2023
|
70
|
-
- assets/images/wheels/wheel-2023
|
71
|
-
- assets/images/wheels/wheel-2023
|
72
|
-
- assets/
|
73
|
-
- assets/
|
74
|
-
- assets/
|
75
|
-
- assets/
|
76
|
-
- assets/
|
23
|
+
- app/assets/fonts/FootlightMTProBold.woff
|
24
|
+
- app/assets/fonts/FootlightMTProBoldItalic.woff
|
25
|
+
- app/assets/fonts/FootlightMTProExtraBold.woff
|
26
|
+
- app/assets/fonts/FootlightMTProExtraBoldIt.woff
|
27
|
+
- app/assets/fonts/FootlightMTProItalic.woff
|
28
|
+
- app/assets/fonts/FootlightMTProLight.base64.js
|
29
|
+
- app/assets/fonts/FootlightMTProLight.woff
|
30
|
+
- app/assets/fonts/FootlightMTProLightItalic.woff
|
31
|
+
- app/assets/fonts/FootlightMTProRegular.woff
|
32
|
+
- app/assets/fonts/Lato-Black.woff
|
33
|
+
- app/assets/fonts/Lato-BlackItalic.woff
|
34
|
+
- app/assets/fonts/Lato-Bold.woff
|
35
|
+
- app/assets/fonts/Lato-BoldItalic.woff
|
36
|
+
- app/assets/fonts/Lato-Italic.woff
|
37
|
+
- app/assets/fonts/Lato-Light.base64.js
|
38
|
+
- app/assets/fonts/Lato-Light.woff
|
39
|
+
- app/assets/fonts/Lato-LightItalic.woff
|
40
|
+
- app/assets/fonts/Lato-Regular.woff
|
41
|
+
- app/assets/fonts/Lato-Thin.woff
|
42
|
+
- app/assets/fonts/Lato-ThinItalic.woff
|
43
|
+
- app/assets/fonts/OFL.txt
|
44
|
+
- app/assets/images/wheels/favicon.png
|
45
|
+
- app/assets/images/wheels/favicon.svg
|
46
|
+
- app/assets/images/wheels/old versions/2.5D-wheel.png
|
47
|
+
- app/assets/images/wheels/old versions/2.5D-wheel.svg
|
48
|
+
- app/assets/images/wheels/old versions/2D-wheel.svg
|
49
|
+
- app/assets/images/wheels/old versions/3D-wheel.svg
|
50
|
+
- app/assets/images/wheels/old versions/dhamma wheel 3D.png
|
51
|
+
- app/assets/images/wheels/old versions/wheel-3d.ai
|
52
|
+
- app/assets/images/wheels/old versions/wheel-3d.png
|
53
|
+
- app/assets/images/wheels/tests/2.5D-wheel-1.svg
|
54
|
+
- app/assets/images/wheels/tests/2.5D-wheel-2.svg
|
55
|
+
- app/assets/images/wheels/tests/2.5D-wheel-3.svg
|
56
|
+
- app/assets/images/wheels/tests/2.5D-wheel-4.svg
|
57
|
+
- app/assets/images/wheels/tests/2.5D-wheel-5.svg
|
58
|
+
- app/assets/images/wheels/tests/2.5D-wheel-6.svg
|
59
|
+
- app/assets/images/wheels/tests/2.5D-wheel-7.svg
|
60
|
+
- app/assets/images/wheels/tests/2.5D-wheel-8.svg
|
61
|
+
- app/assets/images/wheels/tests/2.5D-wheel-sebastian.svg
|
62
|
+
- app/assets/images/wheels/tests/3D-wheel-2.svg
|
63
|
+
- app/assets/images/wheels/tests/3D-wheel-sebastian.svg
|
64
|
+
- app/assets/images/wheels/tests/3D-wheel.svg
|
65
|
+
- app/assets/images/wheels/wheel-2023-duotone.png
|
66
|
+
- app/assets/images/wheels/wheel-2023-duotone.svg
|
67
|
+
- app/assets/images/wheels/wheel-2023-duotone.svg.js
|
68
|
+
- app/assets/images/wheels/wheel-2023-working-document-with-all-layers.svg
|
69
|
+
- app/assets/images/wheels/wheel-2023.png
|
70
|
+
- app/assets/images/wheels/wheel-2023.svg
|
71
|
+
- app/assets/images/wheels/wheel-2023.svg.js
|
72
|
+
- app/assets/javascripts/i18n.js
|
73
|
+
- app/assets/javascripts/index.js
|
74
|
+
- app/assets/stylesheets/fonts.css
|
75
|
+
- app/assets/stylesheets/index.css
|
76
|
+
- app/assets/stylesheets/logo.css
|
77
77
|
- dist/Dhamma-Wheel.svg
|
78
78
|
- dist/design-standards-v0.3.pdf
|
79
79
|
- dist/favicon.png
|
@@ -207,8 +207,10 @@ files:
|
|
207
207
|
- dist/resolutions/logo-en@64px.png
|
208
208
|
- index.html
|
209
209
|
- lib/vipassana-design-standards.rb
|
210
|
+
- lib/vipassana/engine.rb
|
210
211
|
- lib/vipassana/logo_helper.rb
|
211
212
|
- lib/vipassana/logos_inline_svg.rb
|
213
|
+
- lib/vipassana/translations.rb
|
212
214
|
- lib/vipassana/translations_generator.rb
|
213
215
|
- resolution.html
|
214
216
|
- vipassana-design-standards.gemspec
|
data/assets/css/logo.css
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
.logo {
|
2
|
-
display: inline-flex;
|
3
|
-
align-items: center;
|
4
|
-
}
|
5
|
-
.logo .wheel {
|
6
|
-
height: 100px;
|
7
|
-
margin-right: 1em;
|
8
|
-
}
|
9
|
-
.logo-title {
|
10
|
-
color: var(--gold-dark);
|
11
|
-
font-family: 'FootLight';
|
12
|
-
line-height: .7em;
|
13
|
-
font-size: 32px;
|
14
|
-
font-weight: normal;
|
15
|
-
margin: 0;
|
16
|
-
padding: 0;
|
17
|
-
margin-top: .4em;
|
18
|
-
}
|
19
|
-
.logo:not(.rtl) .logo-title[data-start-with="v"] {
|
20
|
-
margin-left: -.2em;
|
21
|
-
}
|
22
|
-
.logo-subtitle {
|
23
|
-
color: var(--black);
|
24
|
-
margin-top: .1em;
|
25
|
-
font-weight: 300;
|
26
|
-
}
|
27
|
-
.logo-wheel {
|
28
|
-
height: 6em;
|
29
|
-
margin-right: 1.1em;
|
30
|
-
}
|
31
|
-
|
32
|
-
/* Right to left languages */
|
33
|
-
.logo.rtl {
|
34
|
-
direction: rtl;
|
35
|
-
}
|
36
|
-
.logo.rtl .wheel {
|
37
|
-
margin-left: 1.1em;
|
38
|
-
margin-right: 0;
|
39
|
-
transform: scaleX(-1);
|
40
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|