diff --git a/design/UI.bmpr b/design/UI.bmpr index 3c63e30..3ca0753 100644 Binary files a/design/UI.bmpr and b/design/UI.bmpr differ diff --git a/website/pages/en/index.js b/website/pages/en/index.js index 642428a..5a14c69 100644 --- a/website/pages/en/index.js +++ b/website/pages/en/index.js @@ -12,7 +12,7 @@ class HomeSplash extends React.Component { ); const PromoSection = props => ( -
+
{props.children}
@@ -65,7 +65,23 @@ class Index extends React.Component {
+
+
+
+

هدف

+

این روزها جاوااسکریپت به امپراطور وب تبدیل شده است. + این که این زبان و فریمورک های مربوط به آن را یا د بگیریم، کمک بسیاری + برای تبدیل شدن به یک همه فن حریف در وب به ما خواهد داد. +

+
+
+ +
+
+
+
+
{booklets.map(b => ( diff --git a/website/siteConfig.js b/website/siteConfig.js index 79f3b1a..3758211 100644 --- a/website/siteConfig.js +++ b/website/siteConfig.js @@ -46,7 +46,7 @@ const siteConfig = { colors: { primaryColor: '#323330', - secondaryColor: '#f7b92a', + secondaryColor: '#f0db4f', }, docsSideNavCollapsible: true, diff --git a/website/static/css/custom.css b/website/static/css/custom.css index f81a4b9..c1ecc6e 100644 --- a/website/static/css/custom.css +++ b/website/static/css/custom.css @@ -172,7 +172,10 @@ table { } .homeSplashFade { - background-color: #f7c500; + background: #F7971E; /* fallback for old browsers */ + background: -webkit-linear-gradient(to left, #FFD200, #F7971E); /* Chrome 10-25, Safari 5.1-6 */ + background: linear-gradient(to left, #FFD200, #F7971E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + direction: rtl; } @@ -191,4 +194,16 @@ table { .nav-footer .sitemap a { margin: 0; +} + +.goal-section { + background: #20232A; + color: white; + margin-top: -48px; + height: 400px; +} + +.booklet-image { + text-align: left; + padding-top: 28px; } \ No newline at end of file diff --git a/website/static/img/booklets/JS-Book.png b/website/static/img/booklets/JS-Book.png new file mode 100644 index 0000000..77e02af Binary files /dev/null and b/website/static/img/booklets/JS-Book.png differ