From d31e71961fae131378af47b64296a13ff6b56f32 Mon Sep 17 00:00:00 2001 From: Alfex4936 <ikr@kakao.com> Date: Tue, 14 Mar 2023 22:54:42 +0900 Subject: [PATCH] Add bin --- public/index.html | 6 ++-- public/sitemap.xml | 76 +++++++++++++++++++++++----------------------- public/tour.js | 19 ++++++++++++ 3 files changed, 60 insertions(+), 41 deletions(-) diff --git a/public/index.html b/public/index.html index 7847832..478de74 100644 --- a/public/index.html +++ b/public/index.html @@ -34,11 +34,11 @@ <div class="page"> <h1>Hello World!</h1> <p><img src="/intro.webp" alt="Welcome to Rust" style="width: 100%; margin-bottom: 20px; border-radius: 10px;"></p> -<p><strong>자기주도프로젝트 🎉</strong></p> -<p>안녕하세요. 자기주도프로젝트 Rust 튜토리얼 영상을 위한 웹사이트입니다.</p> <p>Mirror 1: <a href="http://rust-study.ajousw.kr/index.html">http://rust-study.ajousw.kr/</a></p> <p>Mirror 2: <a href="https://hi-rust.github.io/index.html">https://hi-rust.github.io/</a></p> -<p>Binary: <a href="https://">Windows</a> | <a href="https://">Mac</a> | <a href="https://">Linux</a> - TODO</p> +<p>Binary: <a href="https://github.com/Alfex4936/Rust-Tutorial/releases/download/v1.0.0/Rust.Tutorial_1.0.0_x64_Windows.msi">Windows</a> | <a href="https://">Mac</a> | <a href="https://">Linux</a> - TODO</p> +<p><strong>자기주도프로젝트 🎉</strong></p> +<p>안녕하세요. 자기주도프로젝트 Rust 튜토리얼 영상을 위한 웹사이트입니다.</p> <p><code>프로그래밍 기초 지식이 있는 분들을 타겟</code>으로 만들었습니다. (C & Python)</p> <p>키보드 <span class="emoji">⬅️</span>/<span class="emoji">➡️</span> 버튼으로 페이지를 이동할 수 있습니다.</p> <p>질문이 있다면 <code>ikr@kakao.com</code> 로 메일 남겨주세요.</p> diff --git a/public/sitemap.xml b/public/sitemap.xml index 19e68f2..57d5279 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -7,98 +7,98 @@ <url> - <loc>http://rust-tutorial.site/</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/</loc> + <lastmod>2023-03-14T12:29:30+00:00</lastmod> <priority>1.00</priority> </url> <url> - <loc>http://rust-tutorial.site/index.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/index.html</loc> + <lastmod>2023-03-14T12:29:30+00:00</lastmod> <priority>0.80</priority> </url> <url> - <loc>http://rust-tutorial.site/TOC_en.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/TOC_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.80</priority> </url> <url> - <loc>http://rust-tutorial.site/01.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/01_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.80</priority> </url> <url> - <loc>http://rust-tutorial.site/02.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/02_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/03.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/03_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/04.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/04_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/chapter_1.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/chapter_1_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/06.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/06_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/07.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/07_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/08.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/08_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/09.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/09_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/10.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/10_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/11.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/11_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/12.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/12_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/13.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/13_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/14.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/14_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/15.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/15_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> <url> - <loc>http://rust-tutorial.site/16.html</loc> - <lastmod>2023-03-09T14:17:29+00:00</lastmod> + <loc>http://rust-study.ajousw.kr/16_ko.html</loc> + <lastmod>2023-03-14T12:20:24+00:00</lastmod> <priority>0.64</priority> </url> diff --git a/public/tour.js b/public/tour.js index cd02bcd..42438da 100644 --- a/public/tour.js +++ b/public/tour.js @@ -58,6 +58,25 @@ const setupKeys = () => { }); }; +// in code block, should not be same +const codeElement = document.querySelector("iframe"); +if (codeElement) { + setupKeys(); + codeElement.addEventListener("load", () => { + setTimeout(() => { + document.querySelector("a").focus(); + setupKeys(); + }, 100); + setTimeout(() => { + document.querySelector("a").focus(); + setupKeys(); + }, 1000); + setupKeys(); + }); +} else { + setupKeys(); +} + // in iframe, should not be same const iframeElement = document.querySelector("iframe"); if (iframeElement) { -- GitLab