सामग्री पर जाएँ
अनुभाग
भाषा, अभी हिन्दी
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>