From 19e47b1afd8ada23c32914730e1c05fbc7b73f9e Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 17:47:59 +0900 Subject: [PATCH 1/8] Add: language icon images --- images/kr.png | Bin 0 -> 1299 bytes images/us.png | Bin 0 -> 1522 bytes 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/kr.png create mode 100644 images/us.png diff --git a/images/kr.png b/images/kr.png new file mode 100644 index 0000000000000000000000000000000000000000..f11ab3c84455fa0fe2e11cb736d753c9f4e2046a GIT binary patch literal 1299 zcmV+u1?>8XP)P000>X1^@s6#OZ}&000EqNklN!82+ra=`HR4YnyD7O=*OwRM+Zu(FFU$rSSumR56(q5!w<&WJ|1&V#9=_c5OD) zrCH*(N>yX&`XN$Eqhrk~#$|>vW`>zD#tbulJU#CzqNTgr%a1+D$(!??bDrnDpHC2; zv2lt`7dFrA%TxawaB_08Yj1DwwULpL?HDO#_+`0b#{<_)O zS^LV$3UoRhHa0e}zP=8#K{3iaPgC@SXDW^Mgi5M^}|fB?mMb zjo94WgxPF9oF8KKa&mI6G&D3=#>dCG<_F*wiv`=;+pt=# zeA0SrYm4ubb!%&DC@(L!WMyStc`QL_Xz2OI#zu{YhX>Nr)4}}D!3cC`X9v5xyRh5s zT++1JYQ65cU}pr9ZT19v1PCBetXhZ9s(RB(cw>3NtU z(qVLY4<_Lvj4%4boOm7fH9aRHS5;S6qokySE9dX;?_g7OEZD`x#YHSrP+3`t#Kc6T zrKNE#t-nq~clHAq8Ms-v1dDK)OQYa}^|vCh%ZNx3wOS2tZ*OE|WMFJ;45g)|MSo2K zmztWI2P&0{2bOU5bTXxWFv%#TFy53jQ!XAB=|=QlWS~0*0jP+!~78(9jT; zmX<(SSzllOV83V&$4f0OElWf~X-V0{gZfB;72$2@gm;$-|D<`n5HS=@S zUIGFFcy>-tPa`)sS9+{*vh?#~X}gz@kbv0OSe}lQpLXz5)#tm>FJ5i&Q4@zX2Q$Mi@V^UwJ1~u zOw8z@(wGkW7qyha!a_(S5=f;|)Ya9&+1a^=@J{S2?(Xgv5PQ19d$XgNXThzZc2xC=?1#Ms6d(gGp&hMMqXlO-+%D4dLP8lKtoT zsm5tHH@C~I;q?s;4(<^dWelbG{QNwZw5IR0&-&hdI)7s4eTwl4^KS@y$nLN%JKomT zreW{8ktD5I+TWplI`?0HCY<&g9kqxz*nD$ep56cM^i2Fq{SKTAQrN&?2lxO0002ov JPDHLkV1gEqfKvbf literal 0 HcmV?d00001 diff --git a/images/us.png b/images/us.png new file mode 100644 index 0000000000000000000000000000000000000000..0ef55214a9312bf51b9c1900db1eaa324eaee031 GIT binary patch literal 1522 zcmVP000>X1^@s6#OZ}&000HKNklc(?&_;|PSP-?;iW}7k!(OS&L^KLDm^KE%3PltIr9z=7MX3uSDhddS zlopU31r)_$8Ab(!LAIGe24-Mb1_lIve7$c%Qmt0I{qQDVPR_aaeJA(4bH4WodCS&2 z6zUWjQ}&(zjaYk*v$3IdbfAet?2Y2GDt<#lLnn{N<8wHi8*~Nk+O^C0UniXQ{tAQn ztfQAcUUzByGxzJT_bXy`@QSZRo2VBfa=8-2Lqm`c3}B$I4^nYA#3B)R z)iuL@-rlya&!A~$XkZy2-t3bJN1r@=8&{1zG=YC|JtDGNP;bnJSaT`F(=73nT7jko zp1ivNbs9#fP}fC?nikHhsE9u$#PF|DsLh=3p0auOWvtqfhJCRdc*fNrF!eDabJ`J{ zDS#m23Wg8GVkr0w27^zdKjLPYXzUIvf|GAPzE669y_f3{nb(2SWnvsFk)YGa4I^YF z`FcqNjZ=wW?}GhCZrdyLll>U=2Pdu{pmPj zJUvUMhW3wQS*-TzFtLt-@3As^lRShaKg7N(k8!l11Mw9-h`J+zw6+x!JiZd+wT&3# zHb7BbhvCYH7^vVva{E4n#ieMvk&DD1!aEq==acA6pS`8W)iV(*wx?l#OgXlMl_UI@ zCWK_SBJyS@lDJX`jofLeR$-8qte-5S zJjm`r#E*#b*jdi-z959_2#JoSU6D-G zkV|HuoOVhrF`!*D53OWAI%r8mw2L|^L}UR3#8eq?Bu3!Tb9adzN{9|Jh&s|J51aD6 zB%F(kjji(1(kGj1dFbRf)1DWhpUQ>2w+|z94itk!7#)(+xsWR@<147FF#F0G5sDyg zZAaUqdfdq?m|SFRX7#Fx*YabtbAI*oM9E$sRQUy^Cq>| zu(z`E2(xC%5^PvVx3fpCgCmL^zd(tT3(B0nL@Bj-4$d_0giLz}B-`2|g2j?Kty$wS z^?CkVOHGfERcuw&!edL8OeU;di&PsMWUyHH&CU)Pl=Ld~6KOn(?r&06En?2UT6y2R zv`tM-9sT|N<6~oEYtquv#M#-|{fuRNCeG|L=l<)@gvylAF%mI{V&0V1nTo5t75`Gd Y1AH>TT035S0ssI207*qoM6N<$f{|6x&Hw-a literal 0 HcmV?d00001 From 25136917053c96e01559f1c5107282d35ab51916 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:03:53 +0900 Subject: [PATCH 2/8] Add: Language icon stlye --- assets/css/main.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/css/main.css b/assets/css/main.css index 9f7bc2b..8688ae2 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -4282,3 +4282,8 @@ input, select, textarea { box-shadow: 0 0 6rem 0 rgba(0, 0, 0, 0.125); visibility: visible; } + +.languageImage { + vertical-align: middle; + margin-right: 5px; +} From af2fe82a2a15e78fbdef488b35e1df61ba942402 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:04:26 +0900 Subject: [PATCH 3/8] Add: Language setting function --- assets/js/jquery.cookie.js | 147 +++++++++++++++++++++++++++++++++++++ assets/js/main.js | 39 +++++++++- 2 files changed, 185 insertions(+), 1 deletion(-) create mode 100755 assets/js/jquery.cookie.js diff --git a/assets/js/jquery.cookie.js b/assets/js/jquery.cookie.js new file mode 100755 index 0000000..3354a1c --- /dev/null +++ b/assets/js/jquery.cookie.js @@ -0,0 +1,147 @@ +/*! + * Javascript Cookie v1.5.1 + * https://github.com/js-cookie/js-cookie + * + * Copyright 2006, 2014 Klaus Hartl + * Released under the MIT license + */ +(function (factory) { + var jQuery; + if (typeof define === 'function' && define.amd) { + // AMD (Register as an anonymous module) + define(['jquery'], factory); + } else if (typeof exports === 'object') { + // Node/CommonJS + try { + jQuery = require('jquery'); + } catch(e) {} + module.exports = factory(jQuery); + } else { + // Browser globals + var _OldCookies = window.Cookies; + var api = window.Cookies = factory(window.jQuery); + api.noConflict = function() { + window.Cookies = _OldCookies; + return api; + }; + } +}(function ($) { + + var pluses = /\+/g; + + function encode(s) { + return api.raw ? s : encodeURIComponent(s); + } + + function decode(s) { + return api.raw ? s : decodeURIComponent(s); + } + + function stringifyCookieValue(value) { + return encode(api.json ? JSON.stringify(value) : String(value)); + } + + function parseCookieValue(s) { + if (s.indexOf('"') === 0) { + // This is a quoted cookie as according to RFC2068, unescape... + s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); + } + + try { + // Replace server-side written pluses with spaces. + // If we can't decode the cookie, ignore it, it's unusable. + // If we can't parse the cookie, ignore it, it's unusable. + s = decodeURIComponent(s.replace(pluses, ' ')); + return api.json ? JSON.parse(s) : s; + } catch(e) {} + } + + function read(s, converter) { + var value = api.raw ? s : parseCookieValue(s); + return isFunction(converter) ? converter(value) : value; + } + + function extend() { + var key, options; + var i = 0; + var result = {}; + for (; i < arguments.length; i++) { + options = arguments[ i ]; + for (key in options) { + result[key] = options[key]; + } + } + return result; + } + + function isFunction(obj) { + return Object.prototype.toString.call(obj) === '[object Function]'; + } + + var api = function (key, value, options) { + + // Write + + if (arguments.length > 1 && !isFunction(value)) { + options = extend(api.defaults, options); + + if (typeof options.expires === 'number') { + var days = options.expires, t = options.expires = new Date(); + t.setMilliseconds(t.getMilliseconds() + days * 864e+5); + } + + return (document.cookie = [ + encode(key), '=', stringifyCookieValue(value), + options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE + options.path ? '; path=' + options.path : '', + options.domain ? '; domain=' + options.domain : '', + options.secure ? '; secure' : '' + ].join('')); + } + + // Read + + var result = key ? undefined : {}, + // To prevent the for loop in the first place assign an empty array + // in case there are no cookies at all. Also prevents odd result when + // calling "get()". + cookies = document.cookie ? document.cookie.split('; ') : [], + i = 0, + l = cookies.length; + + for (; i < l; i++) { + var parts = cookies[i].split('='), + name = decode(parts.shift()), + cookie = parts.join('='); + + if (key === name) { + // If second argument (value) is a function it's a converter... + result = read(cookie, value); + break; + } + + // Prevent storing a cookie that we couldn't decode. + if (!key && (cookie = read(cookie)) !== undefined) { + result[name] = cookie; + } + } + + return result; + }; + + api.get = api.set = api; + api.defaults = {}; + + api.remove = function (key, options) { + // Must not alter options, thus extending a fresh object... + api(key, '', extend(options, { expires: -1 })); + return !api(key); + }; + + if ( $ ) { + $.cookie = api; + $.removeCookie = api.remove; + } + + return api; +})); diff --git a/assets/js/main.js b/assets/js/main.js index 625f7c4..cdefae5 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -28,6 +28,20 @@ window.setTimeout(function() { $body.removeClass('is-preload'); }, 100); + + //Get current cookie value + let languageCookie = Cookies.get('language'); + + if(languageCookie == undefined){ + setKorean(); + }else if(languageCookie == 'koreanVersion'){ + setKorean(); + }else if(languageCookie == 'englishVersion'){ + setEnglish(); + } + + + }); // Dropdowns. @@ -97,4 +111,27 @@ }).trigger('resize.ie-banner-fix'); } -})(jQuery); \ No newline at end of file + + +})(jQuery); + +//Language change +function setLanguage(selectedLanguage){ + if(selectedLanguage == 'koreanVersion'){ + setKorean(); + }else if(selectedLanguage == 'englishVersion'){ + setEnglish(); + } +} + +function setKorean(){ + Cookies.set('language', 'koreanVersion'); + $('.koreanVersion').css('display',''); + $('.englishVersion').css('display','none'); +} + +function setEnglish(){ + Cookies.set('language', 'englishVersion'); + $('.koreanVersion').css('display','none'); + $('.englishVersion').css('display',''); +} From a3f095abadc5dadc4cf51d190f178892982ea4b6 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:04:54 +0900 Subject: [PATCH 4/8] Add: English script --- contributors.html | 16 ++++++++++- index.html | 73 +++++++++++++++++++++++++++++++++++++---------- proposal.html | 31 +++++++++++++++----- 3 files changed, 97 insertions(+), 23 deletions(-) diff --git a/contributors.html b/contributors.html index 5071a25..13b88af 100644 --- a/contributors.html +++ b/contributors.html @@ -49,6 +49,14 @@ --> + + +
  • + Language +
  • @@ -58,10 +66,15 @@
    -
    +

    기여자 명단

    성공적인 이드콘 개최를 위해 도움을 주신 분들과 지지해주신 커뮤니티 구성원 여러분들께 진심으로 감사를 표합니다.

    + +
    +

    Contributors

    +

    We are sincerely grateful to those who have helped us to successfully host Ethcon, as well as community members who have supported us.

    +
    @@ -121,6 +134,7 @@

    이드콘 2019 후원문의

    + diff --git a/index.html b/index.html index 22664bc..3befbe6 100644 --- a/index.html +++ b/index.html @@ -44,6 +44,14 @@ --> + +
  • + Language + +
  • @@ -52,7 +60,7 @@
    - +
    --> + +
  • + Language + +
  • @@ -58,17 +66,25 @@
    -
    +

    이드콘 발표 신청

    -

    아래 주제에 대해서 3/31까지 발표 신청을 받습니다. - 누구나 시작해볼 수 있는 작은 댑 개발기 등 이더리움 개발과 관련된 다양한 주제로 +

    아래 주제에 대해서 3/31까지 발표 신청을 받습니다. + 누구나 시작해볼 수 있는 작은 댑 개발기 등 이더리움 개발과 관련된 다양한 주제로 주저하지 마시고 발표를 신청해보세요.

    -

    특히 이드콘에서는, 이드콘 발표를 하기 위해 스터디 그룹을 조직하거나 모여서 (각자) 코딩하는 모각코를 +

    특히 이드콘에서는, 이드콘 발표를 하기 위해 스터디 그룹을 조직하거나 모여서 (각자) 코딩하는 모각코를 지원합니다. 평소에 이더리움 개발을 해보고 싶었거나, 이더리움의 특정 주제에 관심이 많았으나 쉽사리 시작하지 못했다면, 이드콘 스터디 그룹을 참조해주세요

    + +
    +

    Apply for Presentation in Ethcon

    +

    We are currently receiving applications from those who want to make a presentation on the following topics until March 31st. Do not hesitate to submit your presentation on various topics related to Ethereum development. For example, developing a small-scale Dapp that anyone can try. +

    +

    In particular, Ethcon supports ‘Mo-gak-co’ where people can organize a study group or code together (or on their own). If you found it hard to try despite your interest in a certain field of Ethereum or just developing Ethereum in general, please refer to Ethcon Study Group. +

    +
    @@ -105,13 +121,13 @@

    주제별 예시

    이더리움 코어와 블록체인 펀더멘털에 관련된 주제

    • - 블록체인의 기본개념을 Python 코드로 직접 간단한 블록체인 코딩을 통해 이해 해보기(초급) + 블록체인의 기본개념을 Python 코드로 직접 간단한 블록체인 코딩을 통해 이해 해보기(초급) 예시
    • 이더리움 EVM과 Opcodes 이해하기 (중급)
    • 이더리움 프로토콜 implementation 경험기
    • Go, Parity, Python, Java 언어별 이더리움 프로토콜 구현기
    • -
    • 이더리움 signature와 트랜잭션에 대한 이해 +
    • 이더리움 signature와 트랜잭션에 대한 이해 예시 1 예시 2
    • @@ -342,7 +358,7 @@

      발표 신청하기

      - +
    @@ -369,6 +385,7 @@

    발표 신청하기

    + From 30258f9317300ad23f1f6be8f551e1ed70089ae0 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:14:38 +0900 Subject: [PATCH 5/8] Modify the due date of the call for participatio --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3befbe6..ca43b66 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@

    서울 코엑스 그랜드볼룸

    개발자 생태계가 같이 만들어나가는 이더리움 개발자 컨퍼런스를 개최합니다.
    이더리움 개발과 관련한 주제라면 전문성과 상관없이 누구나 발표신청을 할 수 있습니다.
    - (3/31까지 발표 신청을 받습니다) + (4/14까지 발표 신청을 받습니다)

    @@ -85,7 +85,7 @@

    Seoul Coex Grand Ballroom

    Hosting the Ethereum Developers’ Conference, organized together with the Developers’ Community.
    Anyone can apply to have a presentation on Ethereum development, regardless of expertise.
    - (Accepting application until March 31) + (Accepting application until April 14)

    From 1e4045a1915d2c10fd8ba68901b5700fa1d1481d Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:28:37 +0900 Subject: [PATCH 6/8] Revert "Modify the due date of the call for participatio" This reverts commit 30258f9317300ad23f1f6be8f551e1ed70089ae0. --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index ca43b66..3befbe6 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@

    서울 코엑스 그랜드볼룸

    개발자 생태계가 같이 만들어나가는 이더리움 개발자 컨퍼런스를 개최합니다.
    이더리움 개발과 관련한 주제라면 전문성과 상관없이 누구나 발표신청을 할 수 있습니다.
    - (4/14까지 발표 신청을 받습니다) + (3/31까지 발표 신청을 받습니다)

    @@ -85,7 +85,7 @@

    Seoul Coex Grand Ballroom

    Hosting the Ethereum Developers’ Conference, organized together with the Developers’ Community.
    Anyone can apply to have a presentation on Ethereum development, regardless of expertise.
    - (Accepting application until April 14) + (Accepting application until March 31)

    From a69d6b5868ccce5ff781fa3e00ee8aab27c4cb84 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 20:31:31 +0900 Subject: [PATCH 7/8] Modify the due date of the call for participation #4 --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3befbe6..ca43b66 100644 --- a/index.html +++ b/index.html @@ -70,7 +70,7 @@

    서울 코엑스 그랜드볼룸

    개발자 생태계가 같이 만들어나가는 이더리움 개발자 컨퍼런스를 개최합니다.
    이더리움 개발과 관련한 주제라면 전문성과 상관없이 누구나 발표신청을 할 수 있습니다.
    - (3/31까지 발표 신청을 받습니다) + (4/14까지 발표 신청을 받습니다)

    @@ -85,7 +85,7 @@

    Seoul Coex Grand Ballroom

    Hosting the Ethereum Developers’ Conference, organized together with the Developers’ Community.
    Anyone can apply to have a presentation on Ethereum development, regardless of expertise.
    - (Accepting application until March 31) + (Accepting application until April 14)

    From a7f4271cbe034131684399df7efc5d2308430e52 Mon Sep 17 00:00:00 2001 From: HeesungB Date: Wed, 27 Mar 2019 21:47:59 +0900 Subject: [PATCH 8/8] Modify: Header menu padding --- assets/css/main.css | 4 ++++ contributors.html | 2 +- proposal.html | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 8688ae2..30a4c96 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -3787,6 +3787,10 @@ input, select, textarea { margin-top: -3.5rem; } + #header.pad { + padding: 0 3rem; + } + #header > .navPanelToggle { -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out; -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, top 0.2s ease-in-out, right 0.2s ease-in-out; diff --git a/contributors.html b/contributors.html index 13b88af..a698cf9 100644 --- a/contributors.html +++ b/contributors.html @@ -19,7 +19,7 @@
    -