Skip to content

Commit 6e49691

Browse files
committed
reapply jp UI over production UI
1 parent 5d623a4 commit 6e49691

File tree

16 files changed

+184
-124
lines changed

16 files changed

+184
-124
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/env groovy
22

3-
def gitBranch = 'master'
3+
def gitBranch = 'japn'
44
def githubCredentialsId = 'mule-docs-agent-github-token'
55

66
pipeline {

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= MuleSoft Documentation Site UI
1+
= MuleSoft JP Documentation Site UI
22
// Settings:
33
:experimental:
44
:hide-uri-scheme:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mulesoft-docs-site-ui",
3-
"description": "This project produces the UI for the MuleSoft documentation site.",
3+
"description": "This project produces the UI for the MuleSoft JP documentation site.",
44
"homepage": "",
55
"repository": {
66
"type": "git",

preview-site-src/ui-model.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ page:
109109
version: '3.8'
110110
module: ROOT
111111
home: false
112-
editUrl: https://github.com/mulesoft/docs-site-ui/edit/master/preview-site-src/index.adoc
112+
editUrl: https://github.com/mulesoft/docs-site-ui/edit/japn/preview-site-src/index.adoc
113113
versions:
114114
- version: '3.9'
115115
url: '#'
@@ -124,3 +124,4 @@ page:
124124
urlType: internal
125125
origin:
126126
url: https://github.com/mulesoft/docs-site-ui
127+
private: true

src/css/adoc/admonition-block.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,20 @@
8383
}
8484
}
8585
}
86+
html:lang(jp) .admonitionblock {
87+
&.caution tbody::before {
88+
content: '注意';
89+
}
90+
&.important tbody::before {
91+
content: '重要';
92+
}
93+
&.note tbody::before {
94+
content: 'メモ';
95+
}
96+
&.tip tbody::before {
97+
content: 'ヒント';
98+
}
99+
&.warning tbody::before {
100+
content: '警告';
101+
}
102+
}

src/css/globals/vars.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
--screen-xl: 1350px;
6161

6262
/* z-index */
63-
--z-gdpr: 20;
6463
--z-modal-header: 16;
6564
--z-modal: 15;
6665
--z-nav-mobile: 14;

src/css/site.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
/* specific */
2121
@import "specific/header.css";
22-
@import "specific/gdpr.css";
2322
@import "specific/navigation.css";
2423
@import "specific/toc.css";
2524
@import "specific/toolbar.css";

src/css/specific/gdpr.css

Lines changed: 0 additions & 84 deletions
This file was deleted.

src/helpers/ends-with.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
'use strict'
2+
3+
module.exports = (subject, value) => subject && subject.endsWith(value)

src/js/06-gdpr.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/layouts/404.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1.0">
6-
<title>{{{detag (or page.title 'Page Not Found')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
6+
<title>{{{detag (or page.title 'ページが見つかりません')}}}{{#if site.title}} | {{{site.title}}}{{/if}}</title>
77
{{> head}}
88
</head>
99
<body class="status-404 flex col">

src/layouts/default.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html{{#if (ends-with page.origin.url '-jp')}} lang="jp"{{/if}}>
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1.0">

src/partials/article.hbs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
<article class="doc">
22
{{#if (eq page.layout '404')}}
3-
<h1 class="page">{{{or page.title 'Page Not Found'}}}</h1>
3+
<h1 class="page">{{{or page.title 'ページが見つかりません'}}}</h1>
44
<div class="paragraph">
5-
<p>The page you're looking for does not exist. It may have been moved.</p>
5+
<p>お探しのページは存在しません。移動した可能性があります。</p>
66
</div>
77
<div class="paragraph">
8-
<p>If you arrived on this page by clicking on a link, please notify the owner of the site that the link is broken.
9-
If you typed the URL of this page manually, please double check that you entered the address correctly.</p>
8+
<p>リンクをクリックしてこのページにアクセスした場合は、サイトの所有者にリンクが切れていることをお知らせください。このページの URL を手入力した場合は、アドレスを正しく入力したことを再確認してください。</p>
109
</div>
1110
{{else}}
1211
{{#if page.title}}

src/partials/footer-content.hbs

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,59 @@
1-
<div class="ms-com-content ms-com-content-footer"> <footer class="ms-com-footer"><section class="footer-top"><div class="footer-inside"> <div class="footer-links-marketo-form"> <div class="footer-tm"> <div> <nav role="navigation" aria-labelledby="block-footertmdefault" id="block-footertmdefault" class="block-footertmdefault"><ul class="menu"><li> <span target="_self">Related resources</span> <ul><li> <a href="https://www.mulesoft.com/resources/api/connected-business-strategy" target="_self" data-drupal-link-system-path="node/138761">The value of APIs for business</a> </li> <li> <a href="https://www.mulesoft.com/resources/api/what-is-rest-api-design" target="_self" data-drupal-link-system-path="node/140071">What is REST API design?</a> </li> <li> <a href="https://www.mulesoft.com/resources/api/development-best-practices" target="_self" data-drupal-link-system-path="node/140076">API development best practices</a> </li> </ul></li> <li> <span target="_self">Recommended for you</span> <ul><li> <a href="https://www.mulesoft.com/lp/reports/connectivity-benchmark" target="_self">Connectivity benchmark report</a> </li> <li> <a href="https://www.mulesoft.com/lp/whitepaper/api/application-network" data-drupal-link-system-path="node/185296">The application network</a> </li> <li> <a href="https://www.mulesoft.com/lp/whitepaper/api/design-apis" data-drupal-link-system-path="node/185266">How to design and manage APIs</a> </li> </ul></li> <li> <span target="_self">Watch now on demand</span> <ul><li> <a href="https://www.mulesoft.com/webinars/api/microservices-architecture" data-drupal-link-system-path="node/186041">Best practices for microservices</a> </li> <li> <a href="https://www.mulesoft.com/webinars/api/security-best-practices" data-drupal-link-system-path="node/186011">API security best practices</a> </li> <li> <a href="https://www.mulesoft.com/webinars/api/mule-101-anypoint-platform-overview" data-drupal-link-system-path="node/186416">Anypoint Platform overview</a> </li> </ul></li> </ul></nav></div> </div> <form id="mktoForm_1771"> <h4>Sign up for our newsletter</h4> </form> </div> <nav><a href="https://developer.mulesoft.com/" target="_blank">Developers</a> <a href="https://blogs.mulesoft.com" target="_blank">Blog</a> <a href="https://www.mulesoft.com/content/terms-service" target="_blank">Terms</a> <a href="https://www.mulesoft.com/privacy-policy" target="_blank">Privacy</a> <a href="https://www.salesforce.com/content/dam/web/en_us/www/documents/legal/Privacy/privacy-shield-notice.pdf" target="_blank">Privacy Shield</a> <a class="removable" href="https://www.mulesoft.com/contact" target="_blank">Contact</a> <a class="removable" href="https://www.mulesoft.com/contact" target="_blank"> 1-415-229-2009</a> </nav><p class="mulecopy">MuleSoft provides a widely used <a href="https://www.mulesoft.com/platform/enterprise-integration">integration platform</a> for connecting applications, data, and devices in the cloud and on-premises. MuleSoft's Anypoint Platform&trade; is a unified, single solution for <a href="https://www.mulesoft.com/lp/reports/gartner-magic-quadrant-ipaas">iPaaS</a> and full lifecycle <a href="https://www.mulesoft.com/platform/api-management">API management</a>. Anypoint Platform, including <a href="https://www.mulesoft.com/platform/saas/cloudhub-ipaas-cloud-based-integration">CloudHub&trade;</a> and <a href="https://www.mulesoft.com/platform/soa/mule-esb-open-source-esb">Mule ESB&trade;</a>, is built on proven open-source software for fast and reliable on-premises and cloud integration without vendor lock-in.</p> </div> </section><section class="footer-bottom"><div class="footer-inside"> <p class="footer-copyright"><span>&copy;2019</span> MuleSoft, LLC</p> <nav class="social-logos"><a href="https://twitter.com/MuleSoft" target="_blank" class="icon-muletheme-twitter"></a> <a href="https://www.linkedin.com/company/mulesoft" target="_blank" class="icon-muletheme-linkedin"></a> <a href="https://www.facebook.com/mulesoft" target="_blank" class="icon-muletheme-facebook"></a> <a href="https://www.instagram.com/mulesoft" target="_blank" class="icon-muletheme-instagram"></a> <a href="https://videos.mulesoft.com/" target="_blank" class="icon-muletheme-videos"></a> </nav><div class="language-selector-wrapper sl_opaque"> <ul class="language-selection"><li class="german"><a href="https://www.mulesoft.com/de">Deutsch</a></li> <li class="english"><a href="https://www.mulesoft.com/">English <sub>Full site</sub></a></li> <li class="french"><a href="https://www.mulesoft.com/fr">French</a></li> <li class="japanese"><a href="https://www.mulesoft.com/jp">Japanese</a></li> </ul><ul class="language-selected"><li class="german"><a href="https://www.mulesoft.com/de">Deutsch</a></li> <li class="french"><a href="https://www.mulesoft.com/fr">French</a></li> <li class="japanese"><a href="https://www.mulesoft.com/jp">Japanese</a></li> <li class="english"><a href="https://www.mulesoft.com/">English <sub>Full site</sub></a></li> </ul></div> </div> </section></footer></div>
1+
<div id="sl-ms-com-content-footer" class="ms-com-content ms-com-content-tr ms-com-content-footer">
2+
<footer class="ms-com-footer">
3+
<section class="footer-top">
4+
<div class="footer-inside">
5+
<div class="footer-links-marketo-form">
6+
<div class="footer-tm">
7+
<a href="{{siteRootPath}}" class="logo" onclick="ga('send', 'event', 'NAV', 'NavClick', 'Logo');"></a>
8+
<div class="ms-com-content-tr-footer-description">
9+
<p>MuleSoftは、SaaSとエンタープライズアプリケーションをクラウド、オンプレミス、またはその両方で接続するために広く使用されている統合プラットフォームを提供します。</p>
10+
<nav class="social-logos">
11+
<a href="https://twitter.com/MuleSoft" target="_blank" class="icon-muletheme-twitter"></a>
12+
<a href="https://www.linkedin.com/company/mulesoft" target="_blank" class="icon-muletheme-linkedin"></a>
13+
<a href="https://www.facebook.com/mulesoft" target="_blank" class="icon-muletheme-facebook"></a>
14+
<a href="https://www.instagram.com/mulesoft" target="_blank" class="icon-muletheme-instagram"></a>
15+
<a href="https://videos.mulesoft.com/" target="_blank" class="icon-muletheme-videos"></a>
16+
</nav>
17+
</div>
18+
<div>
19+
<nav role="navigation">
20+
<ul class="menu">
21+
<li>
22+
<span>開発者リソース</span>
23+
<ul>
24+
<li>
25+
<a href="https://docs.mulesoft.com" class="sl_norewrite">ドキュメント(日本語は近日公開)</a>
26+
</li>
27+
<li>
28+
<a href="https://forums.mulesoft.com/" class="sl_norewrite">フォーラム</a>
29+
</li>
30+
<li>
31+
<a href="https://support.mulesoft.com/s/login/" class="sl_norewrite">サポートログイン</a>
32+
</li>
33+
</ul>
34+
35+
</li>
36+
</ul>
37+
</nav>
38+
</div>
39+
</div>
40+
</div>
41+
</div>
42+
</section>
43+
<section class="footer-bottom">
44+
<div class="footer-inside">
45+
<p class="footer-copyright"><span>©2019</span> MuleSoft, LLC</p>
46+
<div class="footer-bottom-links">
47+
<a href="https://www.salesforce.com/jp/company/privacy" target="_blank">プライバシー</a>
48+
<a href="https://www.mulesoft.com/content/terms-service" target="_blank">利用規約</a>
49+
</div>
50+
<div class="language-selector-wrapper">
51+
<ul class="language-selection">
52+
<li class="english"><a href="https://www.mulesoft.com/">英語<sub>完全版サイト</sub></a></li>
53+
<li class="japanese"><a href="https://www.mulesoft.com/jp">日本語</a></li>
54+
</ul>
55+
</div>
56+
</div>
57+
</section>
58+
</footer>
59+
</div>

src/partials/footer.hbs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
{{> footer-content}}
22
<div class="modal-backdrop"></div>
3-
<div class="gdpr js-gdpr">
4-
<div class="gdpr-container">
5-
<p class="gdpr-text">We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices <a class="link" href="//mulesoft.com/privacy-policy">here</a>. By continuing to use this site you are giving us your consent to do this.</p>
6-
<button class="gdpr-close js-gdpr-close">+</button>
7-
</div>
8-
</div>
9-
103
{{> footer-scripts}}

src/partials/header-content.hbs

Lines changed: 95 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)