মূল বিষয়ে যান
বিভাগসমূহ
ভাষা, এখন বাংলা
Rastrillo ডিজাইন সিস্টেম

স্ক্রিন

সাইন-ইন স্ক্রিনগুলি সঙ্গে আসা signin পার্শিয়ালটিই, তার বিভিন্ন অবস্থায় দেখানো। শেষ দুটি কপি করার মতো উদাহরণ।

প্রতিটি উদাহরণ সত্যিই চলে, কিন্তু এর লিংকগুলো কোথাও নিয়ে যায় না।

signin signin-title live-head

সাইন ইন

ভিতরে ঢোকার একটি প্রধান পথ দেখান, বাকিগুলি তার নিচে। সাইন-আপ আর সাইন-ইন আলাদা করবেন না: একটি বোতাম যা দুটোতেই চলে, তাতে ব্যাখ্যাও কম আর ভুলও কম।

ঠিকানা চাওয়া

একটি ঘর আর একটি বোতাম। মনে রাখার কিছু নেই, চুরি করারও কিছু নেই। rastrillo এটি সঙ্গে সঙ্গেই করে।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

Keymail দিয়ে ফিরে আসা

ব্রাউজার মনে রাখে গতবার কীভাবে ঢুকেছিল। এক ট্যাপে মনে রাখা ঠিকানাটি পাঠানো হয়, আর সেটি আবার গোড়া থেকে যাচাই করা হয়।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

একটি পাসকি

যাঁর একটি আছে তাঁর জন্য এটিই দ্রুততম পথ, টাইপ করার কিছু নেই। দ্বিতীয় একটি পথও রাখুন: মানুষ যন্ত্র হারায়, আর যে পাসকি কাজ করে না সেটি একটি তালাবদ্ধ দরজা।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

লিঙ্ক পাঠানোর পরে

ঠিকানাটি হুবহু ফিরিয়ে দেখান। যে ইমেল কোনওদিন আসবে না তার জন্য অপেক্ষা করার আগে বানান ভুল ধরার এটিই একমাত্র সুযোগ।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

লিঙ্ক পাঠানোর পরে, অন্য একটি ব্রাউজারে

ঠিকানাটি এই ব্রাউজার না পাঠালে পেজ সেটি আন্দাজ করে না।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

যখন Keymail দেখানো হয়েছিল আর লিঙ্ক চলে গেল

একটি লাইন জানায় যে এবার একটি লিঙ্ক পাঠানো হয়েছে। কারণটা আন্দাজ করে না।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

Keymail-এর পথে

পেজটি নিজে থেকেই এগিয়ে যায়, আর না গেলে তার জন্য একটি লিঙ্ক থাকে।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

যে ঠিকানা ঠিক মনে হচ্ছে না

বার্তাটি ফিল্ডেরই অংশ, আর ফোকাস সেখান থেকেই শুরু হয়।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

যখন Keymail নিশ্চিত করতে পারেনি

বোতামটি বদলে গিয়ে বরং একটি লিঙ্ক পাঠায়, যাতে কেউ আটকে না থাকে।

প্রিভিউ
{{define "title"}}{{template "signin-title" (dict "State" .Signin "Brand" .Brand)}}{{end}}
{{define "content"}}{{template "signin" (dict "State" .Signin "Brand" .Brand)}}{{end}}

Google, Apple আর বাকিরা

আমরা বোতামগুলি দিই, প্রতিটি কোম্পানির নিয়ম মেনে আঁকা। সাইন-ইন নিজে আমরা দিই না: সেটি আপনি নিজের সরবরাহকারীর সঙ্গে জুড়ে নেন।

প্রিভিউ
<section rst-box>
  <h1>সাইন ইন করুন</h1>
  <div rst-signin-providers>
    <form method="post" action="/auth/google">
      <button rst-btn="block" type="submit">
        <svg aria-hidden="true" focusable="false" width="1.1em" height="1.1em" viewBox="0 0 48 48"><path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>
        Google দিয়ে চালিয়ে যান
      </button>
    </form>
    <form method="post" action="/auth/apple">
      <button rst-btn="block" type="submit">
        <svg aria-hidden="true" focusable="false" width="1.1em" height="1.1em" viewBox="0 0 24 24"><path fill="currentColor" d="M12.15 6.9c-.95 0-2.42-1.08-3.96-1.04-2.04.03-3.91 1.18-4.96 3.01-2.12 3.68-.55 9.1 1.52 12.09 1.01 1.45 2.2 3.09 3.79 3.04 1.52-.07 2.09-.99 3.94-.99 1.83 0 2.35.99 3.96.95 1.64-.03 2.68-1.48 3.68-2.95 1.15-1.69 1.63-3.33 1.66-3.42-.04-.01-3.18-1.22-3.22-4.86-.03-3.04 2.48-4.49 2.6-4.56-1.43-2.09-3.63-2.32-4.39-2.38-2-.15-3.68 1.09-4.62 1.09zm3.38-3.07c.84-1.01 1.4-2.43 1.25-3.83-1.21.05-2.66.8-3.53 1.82-.78.9-1.46 2.34-1.27 3.71 1.34.1 2.71-.69 3.55-1.7z"/></svg>
        Apple দিয়ে চালিয়ে যান
      </button>
    </form>
    <a href="/signin">বরং আপনার ইমেল ব্যবহার করুন</a>
  </div>
</section>

ইমেল আর পাসওয়ার্ড

তবুও যদি পাসওয়ার্ড ব্যবহার করেন, একই এক-প্রধান-পথ বিন্যাসটিই রাখুন, আর রিসেট করার উপায়টি বোতামের ঠিক নিচে রাখুন, লুকিয়ে নয়।

আমরা পাসওয়ার্ড ব্যবহারের পরামর্শ দিই না

rastrillo এই স্ক্রিনটি দেয় না। মানুষ একই পাসওয়ার্ড বারবার ব্যবহার করে, সেগুলি ফাঁস হয়, আর নিরাপদে রাখার দায়িত্বটা এসে পড়ে আপনার ঘাড়ে। ইমেলের লিঙ্কের সঙ্গে পাসকি ব্যবহার করুন, বা শুধু পাসকি। মার্কআপটি এখানে আছে কারণ কিছু পণ্যের এখনও এটি দরকার।

প্রিভিউ
<section rst-box>
  <h1>সাইন ইন করুন</h1>
  <form rst-form method="post" action="/signin">
    <div rst-field>
      <label rst-field-label for="pw-email">ইমেল</label>
      <input rst-input id="pw-email" name="email" type="email" autocomplete="email" required>
    </div>
    <div rst-field>
      <label rst-field-label for="pw-pass">পাসওয়ার্ড</label>
      <input rst-input id="pw-pass" name="password" type="password" autocomplete="current-password" required>
    </div>
    <button rst-btn="primary" type="submit">চালিয়ে যান</button>
  </form>
</section>