mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-12 02:15:30 +00:00
26 lines
26 KiB
HTML
26 lines
26 KiB
HTML
<!doctype html>
|
|
<html lang="en" dir="ltr" class="blog-wrapper blog-list-page plugin-blog plugin-id-default" data-has-hydrated="false">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="generator" content="Docusaurus v3.6.3">
|
|
<title data-rh="true">Blog | Bytedesk</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:image" content="https://www.weiyuai.cn/bytedesk/img/docusaurus-social-card.jpg"><meta data-rh="true" name="twitter:image" content="https://www.weiyuai.cn/bytedesk/img/docusaurus-social-card.jpg"><meta data-rh="true" property="og:url" content="https://www.weiyuai.cn/bytedesk/blog"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" property="og:locale:alternate" content="zh_CN"><meta data-rh="true" property="og:locale:alternate" content="zh_TW"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" property="og:title" content="Blog | Bytedesk"><meta data-rh="true" name="description" content="Blog"><meta data-rh="true" property="og:description" content="Blog"><meta data-rh="true" name="docusaurus_tag" content="blog_posts_list"><meta data-rh="true" name="docsearch:docusaurus_tag" content="blog_posts_list"><link data-rh="true" rel="icon" href="/bytedesk/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://www.weiyuai.cn/bytedesk/blog"><link data-rh="true" rel="alternate" href="https://www.weiyuai.cn/bytedesk/blog" hreflang="en"><link data-rh="true" rel="alternate" href="https://www.weiyuai.cn/bytedesk/zh-CN/blog" hreflang="zh-CN"><link data-rh="true" rel="alternate" href="https://www.weiyuai.cn/bytedesk/zh-TW/blog" hreflang="zh-TW"><link data-rh="true" rel="alternate" href="https://www.weiyuai.cn/bytedesk/blog" hreflang="x-default"><script data-rh="true" type="application/ld+json">{"@context":"https://schema.org","@type":"Blog","@id":"https://www.weiyuai.cn/bytedesk/blog","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog","headline":"Blog","description":"Blog","blogPost":[{"@type":"BlogPosting","@id":"https://www.weiyuai.cn/bytedesk/blog/scan-to-login","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog/scan-to-login","url":"https://www.weiyuai.cn/bytedesk/blog/scan-to-login","headline":"QR Code Login Implementation Process","name":"QR Code Login Implementation Process","description":"- Desktop client generates a unique device uid: deviceUid","datePublished":"2024-10-08T00:00:00.000Z","author":{"@type":"Person","name":"Jack Ning","description":"Maintainer of Bytedesk","url":"https://github.com/pengjinning","image":"https://www.kefux.com/assets/img/qrcode/qiye.png"},"keywords":[]},{"@type":"BlogPosting","@id":"https://www.weiyuai.cn/bytedesk/blog/welcome","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog/welcome","url":"https://www.weiyuai.cn/bytedesk/blog/welcome","headline":"Welcome","name":"Welcome","description":"Docusaurus blogging features are powered by the blog plugin.","datePublished":"2021-08-26T00:00:00.000Z","author":[{"@type":"Person","name":"Sébastien Lorber","description":"Docusaurus maintainer","url":"https://sebastienlorber.com","image":"https://github.com/slorber.png"},{"@type":"Person","name":"Yangshun Tay","description":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","image":"https://github.com/yangshun.png"}],"keywords":[]},{"@type":"BlogPosting","@id":"https://www.weiyuai.cn/bytedesk/blog/mdx-blog-post","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog/mdx-blog-post","url":"https://www.weiyuai.cn/bytedesk/blog/mdx-blog-post","headline":"MDX Blog Post","name":"MDX Blog Post","description":"Blog posts support Docusaurus Markdown features, such as MDX.","datePublished":"2021-08-01T00:00:00.000Z","author":{"@type":"Person","name":"Sébastien Lorber","description":"Docusaurus maintainer","url":"https://sebastienlorber.com","image":"https://github.com/slorber.png"},"keywords":[]},{"@type":"BlogPosting","@id":"https://www.weiyuai.cn/bytedesk/blog/long-blog-post","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog/long-blog-post","url":"https://www.weiyuai.cn/bytedesk/blog/long-blog-post","headline":"Long Blog Post","name":"Long Blog Post","description":"This is the summary of a very long blog post,","datePublished":"2019-05-29T00:00:00.000Z","author":{"@type":"Person","name":"Yangshun Tay","description":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","image":"https://github.com/yangshun.png"},"keywords":[]},{"@type":"BlogPosting","@id":"https://www.weiyuai.cn/bytedesk/blog/first-blog-post","mainEntityOfPage":"https://www.weiyuai.cn/bytedesk/blog/first-blog-post","url":"https://www.weiyuai.cn/bytedesk/blog/first-blog-post","headline":"First Blog Post","name":"First Blog Post","description":"Lorem ipsum dolor sit amet...","datePublished":"2019-05-28T00:00:00.000Z","author":[{"@type":"Person","name":"Sébastien Lorber","description":"Docusaurus maintainer","url":"https://sebastienlorber.com","image":"https://github.com/slorber.png"},{"@type":"Person","name":"Yangshun Tay","description":"Front End Engineer @ Facebook","url":"https://github.com/yangshun","image":"https://github.com/yangshun.png"}],"keywords":[]}]}</script><link rel="alternate" type="application/rss+xml" href="/bytedesk/blog/rss.xml" title="Bytedesk RSS Feed">
|
|
<link rel="alternate" type="application/atom+xml" href="/bytedesk/blog/atom.xml" title="Bytedesk Atom Feed"><link rel="stylesheet" href="/bytedesk/assets/css/styles.800aa174.css">
|
|
<script src="/bytedesk/assets/js/runtime~main.8afb81e7.js" defer="defer"></script>
|
|
<script src="/bytedesk/assets/js/main.3e71904f.js" defer="defer"></script>
|
|
</head>
|
|
<body class="navigation-with-keyboard">
|
|
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const n=new URLSearchParams(window.location.search).entries();for(var[t,e]of n)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_NkfX" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/bytedesk/"><div class="navbar__logo"><img src="/bytedesk/img/logo.png" alt="Bytedesk Logo" class="themedComponent_E98H themedComponent--light_O0S4"><img src="/bytedesk/img/logo.png" alt="Bytedesk Logo" class="themedComponent_E98H themedComponent--dark_koH5"></div><b class="navbar__title text--truncate">Bytedesk</b></a><a class="navbar__item navbar__link" href="/bytedesk/docs/intro">Docs</a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/bytedesk/blog">Blog</a></div><div class="navbar__items navbar__items--right"><a href="https://github.com/bytedesk/bytedesk" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_HxLw"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><a href="https://www.weiyuai.cn/contact.html" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">Contact<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_HxLw"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link"><svg viewBox="0 0 24 24" width="20" height="20" aria-hidden="true" class="iconLanguage_uoIN"><path fill="currentColor" d="M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"></path></svg>English</a><ul class="dropdown__menu"><li><a href="/bytedesk/blog" target="_self" rel="noopener noreferrer" class="dropdown__link dropdown__link--active" lang="en">English</a></li><li><a href="/bytedesk/zh-CN/blog" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="zh-CN">简体中文</a></li><li><a href="/bytedesk/zh-TW/blog" target="_self" rel="noopener noreferrer" class="dropdown__link" lang="zh-TW">繁体中文</a></li></ul></div><div class="toggle_vpq5 colorModeToggle_Bafy"><button class="clean-btn toggleButton_SxqB toggleButtonDisabled_qwT6" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite" aria-pressed="false"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_szGB"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_sG53"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="navbarSearchContainer_ag_F"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_siKr"><div class="container margin-vert--lg"><div class="row"><aside class="col col--3"><nav class="sidebar_xp3t thin-scrollbar" aria-label="Blog recent posts navigation"><div class="sidebarItemTitle_kBV4 margin-bottom--md">Recent posts</div><div role="group"><h3 class="yearGroupHeading_ieke">2024</h3><ul class="sidebarItemList_t21O clean-list"><li class="sidebarItem_FwyG"><a class="sidebarItemLink_lxOZ" href="/bytedesk/blog/scan-to-login">QR Code Login Implementation Process</a></li></ul></div><div role="group"><h3 class="yearGroupHeading_ieke">2021</h3><ul class="sidebarItemList_t21O clean-list"><li class="sidebarItem_FwyG"><a class="sidebarItemLink_lxOZ" href="/bytedesk/blog/welcome">Welcome</a></li><li class="sidebarItem_FwyG"><a class="sidebarItemLink_lxOZ" href="/bytedesk/blog/mdx-blog-post">MDX Blog Post</a></li></ul></div><div role="group"><h3 class="yearGroupHeading_ieke">2019</h3><ul class="sidebarItemList_t21O clean-list"><li class="sidebarItem_FwyG"><a class="sidebarItemLink_lxOZ" href="/bytedesk/blog/long-blog-post">Long Blog Post</a></li><li class="sidebarItem_FwyG"><a class="sidebarItemLink_lxOZ" href="/bytedesk/blog/first-blog-post">First Blog Post</a></li></ul></div></nav></aside><main class="col col--7"><article class="margin-bottom--xl"><header><h2 class="title_ZTi9"><a href="/bytedesk/blog/scan-to-login">QR Code Login Implementation Process</a></h2><div class="container_ISTV margin-vert--md"><time datetime="2024-10-08T00:00:00.000Z">October 8, 2024</time> · <!-- -->1 min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--12 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://github.com/pengjinning" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://www.kefux.com/assets/img/qrcode/qiye.png" alt="Jack Ning"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://github.com/pengjinning" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Jack Ning</span></a></div><small class="authorTitle_du4D" title="Maintainer of Bytedesk">Maintainer of Bytedesk</small><div class="authorSocials_LFfn"></div></div></div></div></div></header><div class="markdown"><ul>
|
|
<li>Desktop client generates a unique device uid: deviceUid</li>
|
|
<li>Sends this deviceUid to the server, server returns a random code: randomCode</li>
|
|
<li>Desktop client generates QR code using randomCode and deviceUid</li>
|
|
<li>Mobile client scans this QR code, obtains deviceUid, sends deviceUid to server, server updates status to SCANED</li>
|
|
<li>Mobile client clicks confirm login, sends mobile number and deviceUid to server, server saves mobile number and updates status to CONFIRMED</li>
|
|
<li>Desktop client polls to get mobile number and CONFIRMED status, uses mobile number and randomCode to call login API</li>
|
|
<li>If desktop client gets EXPIRED status, it needs to fetch a new randomCode and regenerate QR code</li>
|
|
<li>After successful login, returns accessToken, desktop client saves this accessToken locally and redirects to homepage</li>
|
|
</ul></div><footer class="row docusaurus-mt-lg"><div class="col col--9"><b>Tags:</b><ul class="tags_oja8 padding--none margin-left--sm"><li class="tag_dXhL"><a title="Developer tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/developer">Developer</a></li><li class="tag_dXhL"><a title="Bytedesk tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/bytedesk">Bytedesk</a></li></ul></div><div class="col text--right col--3"><a aria-label="Read more about QR Code Login Implementation Process" href="/bytedesk/blog/scan-to-login"><b>Read More</b></a></div></footer></article><article class="margin-bottom--xl"><header><h2 class="title_ZTi9"><a href="/bytedesk/blog/welcome">Welcome</a></h2><div class="container_ISTV margin-vert--md"><time datetime="2021-08-26T00:00:00.000Z">August 26, 2021</time> · <!-- -->1 min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--6 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/slorber.png" alt="Sébastien Lorber"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Sébastien Lorber</span></a></div><small class="authorTitle_du4D" title="Docusaurus maintainer">Docusaurus maintainer</small><div class="authorSocials_LFfn"></div></div></div></div><div class="col col--6 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/yangshun.png" alt="Yangshun Tay"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Yangshun Tay</span></a></div><small class="authorTitle_du4D" title="Front End Engineer @ Facebook">Front End Engineer @ Facebook</small><div class="authorSocials_LFfn"></div></div></div></div></div></header><div class="markdown"><p><a href="https://docusaurus.io/docs/blog" target="_blank" rel="noopener noreferrer">Docusaurus blogging features</a> are powered by the <a href="https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog" target="_blank" rel="noopener noreferrer">blog plugin</a>.</p>
|
|
<p>Here are a few tips you might find useful.</p></div><footer class="row docusaurus-mt-lg"><div class="col col--9"><b>Tags:</b><ul class="tags_oja8 padding--none margin-left--sm"><li class="tag_dXhL"><a title="Facebook tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/facebook">Facebook</a></li><li class="tag_dXhL"><a title="Hello tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/hello">Hello</a></li><li class="tag_dXhL"><a title="Docusaurus tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/docusaurus">Docusaurus</a></li></ul></div><div class="col text--right col--3"><a aria-label="Read more about Welcome" href="/bytedesk/blog/welcome"><b>Read More</b></a></div></footer></article><article class="margin-bottom--xl"><header><h2 class="title_ZTi9"><a href="/bytedesk/blog/mdx-blog-post">MDX Blog Post</a></h2><div class="container_ISTV margin-vert--md"><time datetime="2021-08-01T00:00:00.000Z">August 1, 2021</time> · <!-- -->1 min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--12 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/slorber.png" alt="Sébastien Lorber"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Sébastien Lorber</span></a></div><small class="authorTitle_du4D" title="Docusaurus maintainer">Docusaurus maintainer</small><div class="authorSocials_LFfn"></div></div></div></div></div></header><div class="markdown"><p>Blog posts support <a href="https://docusaurus.io/docs/markdown-features" target="_blank" rel="noopener noreferrer">Docusaurus Markdown features</a>, such as <a href="https://mdxjs.com/" target="_blank" rel="noopener noreferrer">MDX</a>.</p>
|
|
<div class="theme-admonition theme-admonition-tip admonition_k1o9 alert alert--success"><div class="admonitionHeading_IAS2"><span class="admonitionIcon_lvl3"><svg viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"></path></svg></span>Tip</div><div class="admonitionContent_bkhY"><p>Use the power of React to create interactive blog posts.</p></div></div></div><footer class="row docusaurus-mt-lg"><div class="col col--9"><b>Tags:</b><ul class="tags_oja8 padding--none margin-left--sm"><li class="tag_dXhL"><a title="Docusaurus tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/docusaurus">Docusaurus</a></li></ul></div><div class="col text--right col--3"><a aria-label="Read more about MDX Blog Post" href="/bytedesk/blog/mdx-blog-post"><b>Read More</b></a></div></footer></article><article class="margin-bottom--xl"><header><h2 class="title_ZTi9"><a href="/bytedesk/blog/long-blog-post">Long Blog Post</a></h2><div class="container_ISTV margin-vert--md"><time datetime="2019-05-29T00:00:00.000Z">May 29, 2019</time> · <!-- -->3 min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--12 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/yangshun.png" alt="Yangshun Tay"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Yangshun Tay</span></a></div><small class="authorTitle_du4D" title="Front End Engineer @ Facebook">Front End Engineer @ Facebook</small><div class="authorSocials_LFfn"></div></div></div></div></div></header><div class="markdown"><p>This is the summary of a very long blog post,</p>
|
|
<p>Use a <code><!--</code> <code>truncate</code> <code>--></code> comment to limit blog post size in the list view.</p></div><footer class="row docusaurus-mt-lg"><div class="col col--9"><b>Tags:</b><ul class="tags_oja8 padding--none margin-left--sm"><li class="tag_dXhL"><a title="Hello tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/hello">Hello</a></li><li class="tag_dXhL"><a title="Docusaurus tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/docusaurus">Docusaurus</a></li></ul></div><div class="col text--right col--3"><a aria-label="Read more about Long Blog Post" href="/bytedesk/blog/long-blog-post"><b>Read More</b></a></div></footer></article><article class="margin-bottom--xl"><header><h2 class="title_ZTi9"><a href="/bytedesk/blog/first-blog-post">First Blog Post</a></h2><div class="container_ISTV margin-vert--md"><time datetime="2019-05-28T00:00:00.000Z">May 28, 2019</time> · <!-- -->1 min read</div><div class="margin-top--md margin-bottom--sm row"><div class="col col--6 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/slorber.png" alt="Sébastien Lorber"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://sebastienlorber.com" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Sébastien Lorber</span></a></div><small class="authorTitle_du4D" title="Docusaurus maintainer">Docusaurus maintainer</small><div class="authorSocials_LFfn"></div></div></div></div><div class="col col--6 authorCol_btRJ"><div class="avatar margin-bottom--sm"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer" class="avatar__photo-link"><img class="avatar__photo authorImage_UDBu" src="https://github.com/yangshun.png" alt="Yangshun Tay"></a><div class="avatar__intro authorDetails_mtyu"><div class="avatar__name"><a href="https://github.com/yangshun" target="_blank" rel="noopener noreferrer"><span class="authorName_hViv">Yangshun Tay</span></a></div><small class="authorTitle_du4D" title="Front End Engineer @ Facebook">Front End Engineer @ Facebook</small><div class="authorSocials_LFfn"></div></div></div></div></div></header><div class="markdown"><p>Lorem ipsum dolor sit amet...</p></div><footer class="row docusaurus-mt-lg"><div class="col col--9"><b>Tags:</b><ul class="tags_oja8 padding--none margin-left--sm"><li class="tag_dXhL"><a title="Hola tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/hola">Hola</a></li><li class="tag_dXhL"><a title="Docusaurus tag description" class="tag_ecUq tagRegular_eQpg" href="/bytedesk/blog/tags/docusaurus">Docusaurus</a></li></ul></div><div class="col text--right col--3"><a aria-label="Read more about First Blog Post" href="/bytedesk/blog/first-blog-post"><b>Read More</b></a></div></footer></article><nav class="pagination-nav" aria-label="Blog list page navigation"></nav></main></div></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Docs</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/bytedesk/docs/intro">Tutorial</a></li><li class="footer__item"><a href="https://www.weiyuai.cn/contact.html" target="_blank" rel="noopener noreferrer" class="footer__link-item">Contact<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_HxLw"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://twitter.com/bytedeskai" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_HxLw"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">More</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/bytedesk/blog">Blog</a></li><li class="footer__item"><a href="https://github.com/bytedesk/bytedesk" target="_blank" rel="noopener noreferrer" class="footer__link-item">GitHub<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_HxLw"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2024 www.weiyu.im, Inc.</div></div></div></footer></div>
|
|
</body>
|
|
</html> |