@birdycom/omniaui-blocks 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +10 -10
- package/blocks/about-timeline.html +23 -23
- package/blocks/app-header.html +32 -32
- package/blocks/app-shell.html +84 -84
- package/blocks/auth-split.html +45 -45
- package/blocks/auth.html +21 -21
- package/blocks/contact-grid.html +38 -38
- package/blocks/cta.html +8 -8
- package/blocks/data-table.html +111 -111
- package/blocks/faq.html +33 -33
- package/blocks/features.html +18 -18
- package/blocks/footer.html +41 -41
- package/blocks/forgot-password.html +34 -34
- package/blocks/form-page.html +28 -28
- package/blocks/hero-code.html +27 -27
- package/blocks/hero-orbit.html +38 -38
- package/blocks/hero-split.html +12 -12
- package/blocks/hero.html +10 -10
- package/blocks/login-01.html +41 -41
- package/blocks/login-02.html +55 -55
- package/blocks/login-03.html +47 -47
- package/blocks/module-header.html +24 -24
- package/blocks/otp-01.html +36 -36
- package/blocks/otp-02.html +46 -46
- package/blocks/page-hero.html +10 -10
- package/blocks/portfolio-grid.html +31 -31
- package/blocks/pricing.html +42 -42
- package/blocks/process.html +19 -19
- package/blocks/product-grid.html +37 -37
- package/blocks/profile-header.html +27 -27
- package/blocks/reset-password.html +45 -45
- package/blocks/showcase.html +27 -27
- package/blocks/sidebar-01.html +56 -56
- package/blocks/sidebar-02.html +55 -55
- package/blocks/sidebar-03.html +53 -53
- package/blocks/sidebar-04.html +56 -56
- package/blocks/sidebar-05.html +68 -68
- package/blocks/signup-01.html +53 -53
- package/blocks/signup-02.html +56 -56
- package/blocks/site-footer.html +39 -39
- package/blocks/site-header.html +14 -14
- package/blocks/spotlight.html +22 -22
- package/blocks/stats-counter.html +15 -15
- package/blocks/stats.html +19 -19
- package/blocks/team-list.html +30 -30
- package/blocks/two-factor.html +33 -33
- package/blocks/wizard-dialog.html +36 -36
- package/dist/blocks.css +371 -343
- package/dist/blocks.min.css +1 -1
- package/dist/parts/site-about-timeline.css +61 -61
- package/dist/parts/site-contact-grid.css +58 -58
- package/dist/parts/site-faq.css +52 -52
- package/dist/parts/site-hero-orbit.css +62 -62
- package/dist/parts/site-portfolio-grid.css +23 -23
- package/dist/parts/site-profile-header.css +77 -77
- package/package.json +55 -55
package/blocks/hero-orbit.html
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<!-- OmniaUI block: hero-orbit - Landing hero with a code window and product marks that slowly orbit around it. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
File: packages/blocks/blocks/hero-orbit.html | Map: section -> container + split -> copy (eyebrow, display, lead, buttons) -> visual (ring with marks + center window)
|
|
3
|
-
Class API: .oc-block-orbit-visual (square stage), -ring (turning circle), -mark (style="--oc-orbit-angle: 60deg"),
|
|
4
|
-
-center (the code window or any visual). --oc-orbit-duration sets the speed (default 60s). Reduced motion: no orbit.
|
|
5
|
-
Copy uses the showcase classes (.oc-eyebrow, .oc-display, .oc-text-gradient, .oc-lead, .oc-btn--gradient / --glass).
|
|
6
|
-
-->
|
|
7
|
-
<section class="oc-block-orbit oc-section-pad">
|
|
8
|
-
<div class="oc-container oc-split">
|
|
9
|
-
<div>
|
|
10
|
-
<p class="oc-eyebrow">Software studio · since 2012</p>
|
|
11
|
-
<h1 class="oc-display">One team for all your <span class="oc-text-gradient">software</span>.</h1>
|
|
12
|
-
<p class="oc-lead">Business apps, websites and desktop tools. We design, build and maintain them, and stay your single point of contact.</p>
|
|
13
|
-
<div class="flex flex-wrap gap-1 mt-2">
|
|
14
|
-
<a class="oc-btn oc-btn--gradient oc-btn--lg" href="#products">See our products →</a>
|
|
15
|
-
<a class="oc-btn oc-btn--glass oc-btn--lg" href="#contact">Start a project</a>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
<div class="oc-block-orbit-visual">
|
|
19
|
-
<div class="oc-block-orbit-ring" aria-hidden="true">
|
|
20
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 0deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--green">◆</span></span>
|
|
21
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 60deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--violet">◉</span></span>
|
|
22
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 120deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--orange">▲</span></span>
|
|
23
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 180deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--cyan">★</span></span>
|
|
24
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 240deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--red">♥</span></span>
|
|
25
|
-
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 300deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--yellow">☀</span></span>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="oc-code-window oc-block-orbit-center">
|
|
28
|
-
<div class="oc-code-window__bar"><i></i><i></i><i></i><span class="oc-code-window__title">products.php</span></div>
|
|
29
|
-
<pre class="oc-code-window__body">return [
|
|
30
|
-
'erp' => AcmeDesk::class,
|
|
31
|
-
'shop' => AcmeShop::class,
|
|
32
|
-
'design' => AcmeDesign::class,
|
|
33
|
-
'next' => YourProject::class,
|
|
34
|
-
];</pre>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
</section>
|
|
1
|
+
<!-- OmniaUI block: hero-orbit - Landing hero with a code window and product marks that slowly orbit around it. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
File: packages/blocks/blocks/hero-orbit.html | Map: section -> container + split -> copy (eyebrow, display, lead, buttons) -> visual (ring with marks + center window)
|
|
3
|
+
Class API: .oc-block-orbit-visual (square stage), -ring (turning circle), -mark (style="--oc-orbit-angle: 60deg"),
|
|
4
|
+
-center (the code window or any visual). --oc-orbit-duration sets the speed (default 60s). Reduced motion: no orbit.
|
|
5
|
+
Copy uses the showcase classes (.oc-eyebrow, .oc-display, .oc-text-gradient, .oc-lead, .oc-btn--gradient / --glass).
|
|
6
|
+
-->
|
|
7
|
+
<section class="oc-block-orbit oc-section-pad">
|
|
8
|
+
<div class="oc-container oc-split">
|
|
9
|
+
<div>
|
|
10
|
+
<p class="oc-eyebrow">Software studio · since 2012</p>
|
|
11
|
+
<h1 class="oc-display">One team for all your <span class="oc-text-gradient">software</span>.</h1>
|
|
12
|
+
<p class="oc-lead">Business apps, websites and desktop tools. We design, build and maintain them, and stay your single point of contact.</p>
|
|
13
|
+
<div class="flex flex-wrap gap-1 mt-2">
|
|
14
|
+
<a class="oc-btn oc-btn--gradient oc-btn--lg" href="#products">See our products →</a>
|
|
15
|
+
<a class="oc-btn oc-btn--glass oc-btn--lg" href="#contact">Start a project</a>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="oc-block-orbit-visual">
|
|
19
|
+
<div class="oc-block-orbit-ring" aria-hidden="true">
|
|
20
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 0deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--green">◆</span></span>
|
|
21
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 60deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--violet">◉</span></span>
|
|
22
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 120deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--orange">▲</span></span>
|
|
23
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 180deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--cyan">★</span></span>
|
|
24
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 240deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--red">♥</span></span>
|
|
25
|
+
<span class="oc-block-orbit-mark" style="--oc-orbit-angle: 300deg;"><span class="oc-product-mark oc-product-mark--sm oc-accent--yellow">☀</span></span>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="oc-code-window oc-block-orbit-center">
|
|
28
|
+
<div class="oc-code-window__bar"><i></i><i></i><i></i><span class="oc-code-window__title">products.php</span></div>
|
|
29
|
+
<pre class="oc-code-window__body">return [
|
|
30
|
+
'erp' => AcmeDesk::class,
|
|
31
|
+
'shop' => AcmeShop::class,
|
|
32
|
+
'design' => AcmeDesign::class,
|
|
33
|
+
'next' => YourProject::class,
|
|
34
|
+
];</pre>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</section>
|
package/blocks/hero-split.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<!-- OmniaUI block: hero-split — Hero with text left and visual right. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS. -->
|
|
2
|
-
<div class="oc-block-hero-split">
|
|
3
|
-
<div>
|
|
4
|
-
<h1>Ship products, not CSS</h1>
|
|
5
|
-
<p>Stop writing repetitive styles. Use pre-built utilities and components to move fast.</p>
|
|
6
|
-
<div class="oc-block-hero-actions justify-start">
|
|
7
|
-
<button class="oc-btn">Start building</button>
|
|
8
|
-
<button class="oc-btn oc-btn--ghost">Learn more</button>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="oc-block-hero-visual">Preview / Image placeholder</div>
|
|
12
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: hero-split — Hero with text left and visual right. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS. -->
|
|
2
|
+
<div class="oc-block-hero-split">
|
|
3
|
+
<div>
|
|
4
|
+
<h1>Ship products, not CSS</h1>
|
|
5
|
+
<p>Stop writing repetitive styles. Use pre-built utilities and components to move fast.</p>
|
|
6
|
+
<div class="oc-block-hero-actions justify-start">
|
|
7
|
+
<button class="oc-btn">Start building</button>
|
|
8
|
+
<button class="oc-btn oc-btn--ghost">Learn more</button>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="oc-block-hero-visual">Preview / Image placeholder</div>
|
|
12
|
+
</div>
|
package/blocks/hero.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<!-- OmniaUI block: hero — Centered hero with badge, headline, text and actions. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS. -->
|
|
2
|
-
<div class="oc-block-hero">
|
|
3
|
-
<span class="oc-block-hero-badge">New in v0.1.6</span>
|
|
4
|
-
<h1>Build faster with OmniaCSS</h1>
|
|
5
|
-
<p>A utility-first CSS framework with component primitives and pre-composed blocks for modern web apps.</p>
|
|
6
|
-
<div class="oc-block-hero-actions">
|
|
7
|
-
<button class="oc-btn oc-btn--lg">Get started</button>
|
|
8
|
-
<button class="oc-btn oc-btn--outline oc-btn--lg">View docs</button>
|
|
9
|
-
</div>
|
|
10
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: hero — Centered hero with badge, headline, text and actions. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS. -->
|
|
2
|
+
<div class="oc-block-hero">
|
|
3
|
+
<span class="oc-block-hero-badge">New in v0.1.6</span>
|
|
4
|
+
<h1>Build faster with OmniaCSS</h1>
|
|
5
|
+
<p>A utility-first CSS framework with component primitives and pre-composed blocks for modern web apps.</p>
|
|
6
|
+
<div class="oc-block-hero-actions">
|
|
7
|
+
<button class="oc-btn oc-btn--lg">Get started</button>
|
|
8
|
+
<button class="oc-btn oc-btn--outline oc-btn--lg">View docs</button>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
package/blocks/login-01.html
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
<!-- OmniaUI block: login-01 - Centered sign-in card with e-mail, password and a link to sign up. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
-
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
-
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
-
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
-
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
-
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
-
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
-
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
-
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
-
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
-
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted) and form column
|
|
14
|
-
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
-
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
-
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
-
-->
|
|
18
|
-
<div class="oc-block-authpage oc-block-authpage--plain">
|
|
19
|
-
<form class="oc-block-authcard" action="#" method="post">
|
|
20
|
-
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
21
|
-
<div class="oc-block-authcard-head">
|
|
22
|
-
<h1 class="oc-block-authcard-title">Login to your account</h1>
|
|
23
|
-
<p class="oc-block-authcard-text">Enter your e-mail below to login</p>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="oc-block-authcard-fields">
|
|
26
|
-
<div class="oc-field">
|
|
27
|
-
<label class="oc-field-label" for="oc-login01-email">E-mail</label>
|
|
28
|
-
<input class="oc-input" id="oc-login01-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
29
|
-
</div>
|
|
30
|
-
<div class="oc-field">
|
|
31
|
-
<label class="oc-field-label" for="oc-login01-password">Password</label>
|
|
32
|
-
<div class="oc-input-reveal">
|
|
33
|
-
<input class="oc-input" id="oc-login01-password" name="oc-login01-password" type="password" autocomplete="current-password" required>
|
|
34
|
-
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<button class="oc-btn oc-block-authcard-submit" type="submit">Login</button>
|
|
38
|
-
</div>
|
|
39
|
-
<p class="oc-block-authcard-foot">Don't have an account? <a href="#">Sign up</a></p>
|
|
40
|
-
</form>
|
|
41
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: login-01 - Centered sign-in card with e-mail, password and a link to sign up. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
+
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
+
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
+
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
+
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
+
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
+
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
+
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
+
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
+
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
+
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted, --photo with style="--oc-authduo-photo: url(…)") and form column
|
|
14
|
+
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
+
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
+
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
+
-->
|
|
18
|
+
<div class="oc-block-authpage oc-block-authpage--plain">
|
|
19
|
+
<form class="oc-block-authcard" action="#" method="post">
|
|
20
|
+
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
21
|
+
<div class="oc-block-authcard-head">
|
|
22
|
+
<h1 class="oc-block-authcard-title">Login to your account</h1>
|
|
23
|
+
<p class="oc-block-authcard-text">Enter your e-mail below to login</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="oc-block-authcard-fields">
|
|
26
|
+
<div class="oc-field">
|
|
27
|
+
<label class="oc-field-label" for="oc-login01-email">E-mail</label>
|
|
28
|
+
<input class="oc-input" id="oc-login01-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
29
|
+
</div>
|
|
30
|
+
<div class="oc-field">
|
|
31
|
+
<label class="oc-field-label" for="oc-login01-password">Password</label>
|
|
32
|
+
<div class="oc-input-reveal">
|
|
33
|
+
<input class="oc-input" id="oc-login01-password" name="oc-login01-password" type="password" autocomplete="current-password" required>
|
|
34
|
+
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<button class="oc-btn oc-block-authcard-submit" type="submit">Login</button>
|
|
38
|
+
</div>
|
|
39
|
+
<p class="oc-block-authcard-foot">Don't have an account? <a href="#">Sign up</a></p>
|
|
40
|
+
</form>
|
|
41
|
+
</div>
|
package/blocks/login-02.html
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
<!-- OmniaUI block: login-02 - Two columns: image/brand panel with a quote and the form on the other side; the panel hides when the block is narrow. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
-
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
-
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
-
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
-
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
-
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
-
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
-
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
-
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
-
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
-
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted) and form column
|
|
14
|
-
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
-
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
-
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
-
-->
|
|
18
|
-
<div class="oc-block-authduo">
|
|
19
|
-
<div class="oc-block-authduo-grid">
|
|
20
|
-
<aside class="oc-block-authduo-panel oc-block-authduo-panel--image">
|
|
21
|
-
<a class="oc-block-authduo-logo" href="#"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg> OmniaDesk</a>
|
|
22
|
-
<blockquote class="oc-block-authduo-quote">
|
|
23
|
-
<p>“This workspace saved me hours of admin every week.”</p>
|
|
24
|
-
<footer>Sofia Davis, operations lead</footer>
|
|
25
|
-
</blockquote>
|
|
26
|
-
</aside>
|
|
27
|
-
<div class="oc-block-authduo-form">
|
|
28
|
-
<form class="oc-block-authcard oc-block-authcard--flat" action="#" method="post">
|
|
29
|
-
<div class="oc-block-authcard-head">
|
|
30
|
-
<h1 class="oc-block-authcard-title">Welcome back</h1>
|
|
31
|
-
<p class="oc-block-authcard-text">Sign in to your workspace</p>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="oc-block-authcard-fields">
|
|
34
|
-
<div class="oc-field">
|
|
35
|
-
<label class="oc-field-label" for="oc-login02-email">E-mail</label>
|
|
36
|
-
<input class="oc-input" id="oc-login02-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
37
|
-
</div>
|
|
38
|
-
<div class="oc-field">
|
|
39
|
-
<label class="oc-field-label" for="oc-login02-password">Password</label>
|
|
40
|
-
<div class="oc-input-reveal">
|
|
41
|
-
<input class="oc-input" id="oc-login02-password" name="oc-login02-password" type="password" autocomplete="current-password" required>
|
|
42
|
-
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
<div class="oc-block-authcard-row">
|
|
46
|
-
<label><input class="oc-checkbox" type="checkbox" name="remember"> Remember me</label>
|
|
47
|
-
<a class="oc-link" href="#">Forgot password?</a>
|
|
48
|
-
</div>
|
|
49
|
-
<button class="oc-btn oc-block-authcard-submit" type="submit">Sign in</button>
|
|
50
|
-
</div>
|
|
51
|
-
<p class="oc-block-authcard-foot">No account yet? <a href="#">Create one</a></p>
|
|
52
|
-
</form>
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: login-02 - Two columns: image/brand panel with a quote and the form on the other side; the panel hides when the block is narrow. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
+
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
+
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
+
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
+
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
+
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
+
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
+
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
+
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
+
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
+
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted, --photo with style="--oc-authduo-photo: url(…)") and form column
|
|
14
|
+
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
+
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
+
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
+
-->
|
|
18
|
+
<div class="oc-block-authduo">
|
|
19
|
+
<div class="oc-block-authduo-grid">
|
|
20
|
+
<aside class="oc-block-authduo-panel oc-block-authduo-panel--image">
|
|
21
|
+
<a class="oc-block-authduo-logo" href="#"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg> OmniaDesk</a>
|
|
22
|
+
<blockquote class="oc-block-authduo-quote">
|
|
23
|
+
<p>“This workspace saved me hours of admin every week.”</p>
|
|
24
|
+
<footer>Sofia Davis, operations lead</footer>
|
|
25
|
+
</blockquote>
|
|
26
|
+
</aside>
|
|
27
|
+
<div class="oc-block-authduo-form">
|
|
28
|
+
<form class="oc-block-authcard oc-block-authcard--flat" action="#" method="post">
|
|
29
|
+
<div class="oc-block-authcard-head">
|
|
30
|
+
<h1 class="oc-block-authcard-title">Welcome back</h1>
|
|
31
|
+
<p class="oc-block-authcard-text">Sign in to your workspace</p>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="oc-block-authcard-fields">
|
|
34
|
+
<div class="oc-field">
|
|
35
|
+
<label class="oc-field-label" for="oc-login02-email">E-mail</label>
|
|
36
|
+
<input class="oc-input" id="oc-login02-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
37
|
+
</div>
|
|
38
|
+
<div class="oc-field">
|
|
39
|
+
<label class="oc-field-label" for="oc-login02-password">Password</label>
|
|
40
|
+
<div class="oc-input-reveal">
|
|
41
|
+
<input class="oc-input" id="oc-login02-password" name="oc-login02-password" type="password" autocomplete="current-password" required>
|
|
42
|
+
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="oc-block-authcard-row">
|
|
46
|
+
<label><input class="oc-checkbox" type="checkbox" name="remember"> Remember me</label>
|
|
47
|
+
<a class="oc-link" href="#">Forgot password?</a>
|
|
48
|
+
</div>
|
|
49
|
+
<button class="oc-btn oc-block-authcard-submit" type="submit">Sign in</button>
|
|
50
|
+
</div>
|
|
51
|
+
<p class="oc-block-authcard-foot">No account yet? <a href="#">Create one</a></p>
|
|
52
|
+
</form>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
package/blocks/login-03.html
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
<!-- OmniaUI block: login-03 - Card on a muted page with social sign-in buttons above the e-mail form. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
-
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
-
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
-
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
-
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
-
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
-
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
-
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
-
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
-
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
-
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted) and form column
|
|
14
|
-
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
-
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
-
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
-
-->
|
|
18
|
-
<div class="oc-block-authpage">
|
|
19
|
-
<form class="oc-block-authcard" action="#" method="post">
|
|
20
|
-
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
21
|
-
<div class="oc-block-authcard-head">
|
|
22
|
-
<h1 class="oc-block-authcard-title">Welcome back</h1>
|
|
23
|
-
<p class="oc-block-authcard-text">Login with your Apple or Google account</p>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="oc-block-authsocial">
|
|
26
|
-
<button class="oc-btn oc-btn--outline" type="button">Apple</button>
|
|
27
|
-
<button class="oc-btn oc-btn--outline" type="button">Google</button>
|
|
28
|
-
</div>
|
|
29
|
-
<div class="oc-separator-text">Or continue with</div>
|
|
30
|
-
<div class="oc-block-authcard-fields">
|
|
31
|
-
<div class="oc-field">
|
|
32
|
-
<label class="oc-field-label" for="oc-login03-email">E-mail</label>
|
|
33
|
-
<input class="oc-input" id="oc-login03-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
34
|
-
</div>
|
|
35
|
-
<div class="oc-field">
|
|
36
|
-
<label class="oc-field-label" for="oc-login03-password">Password</label>
|
|
37
|
-
<div class="oc-input-reveal">
|
|
38
|
-
<input class="oc-input" id="oc-login03-password" name="oc-login03-password" type="password" autocomplete="current-password" required>
|
|
39
|
-
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<button class="oc-btn oc-block-authcard-submit" type="submit">Login</button>
|
|
43
|
-
</div>
|
|
44
|
-
<p class="oc-block-authcard-foot">Don't have an account? <a href="#">Sign up</a></p>
|
|
45
|
-
<p class="oc-block-authcard-legal">By clicking continue, you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</p>
|
|
46
|
-
</form>
|
|
47
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: login-03 - Card on a muted page with social sign-in buttons above the e-mail form. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
+
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
+
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
+
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
+
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
+
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
+
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
+
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
+
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
+
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
+
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted, --photo with style="--oc-authduo-photo: url(…)") and form column
|
|
14
|
+
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
+
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
+
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
+
-->
|
|
18
|
+
<div class="oc-block-authpage">
|
|
19
|
+
<form class="oc-block-authcard" action="#" method="post">
|
|
20
|
+
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m12 3 9 5-9 5-9-5z"/><path d="m3 13 9 5 9-5"/></svg></span>
|
|
21
|
+
<div class="oc-block-authcard-head">
|
|
22
|
+
<h1 class="oc-block-authcard-title">Welcome back</h1>
|
|
23
|
+
<p class="oc-block-authcard-text">Login with your Apple or Google account</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="oc-block-authsocial">
|
|
26
|
+
<button class="oc-btn oc-btn--outline" type="button">Apple</button>
|
|
27
|
+
<button class="oc-btn oc-btn--outline" type="button">Google</button>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="oc-separator-text">Or continue with</div>
|
|
30
|
+
<div class="oc-block-authcard-fields">
|
|
31
|
+
<div class="oc-field">
|
|
32
|
+
<label class="oc-field-label" for="oc-login03-email">E-mail</label>
|
|
33
|
+
<input class="oc-input" id="oc-login03-email" name="email" type="email" autocomplete="username" required placeholder="name@company.com">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="oc-field">
|
|
36
|
+
<label class="oc-field-label" for="oc-login03-password">Password</label>
|
|
37
|
+
<div class="oc-input-reveal">
|
|
38
|
+
<input class="oc-input" id="oc-login03-password" name="oc-login03-password" type="password" autocomplete="current-password" required>
|
|
39
|
+
<button class="oc-input-reveal-button" type="button" aria-pressed="false" aria-label="Toggle password visibility">Show</button>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<button class="oc-btn oc-block-authcard-submit" type="submit">Login</button>
|
|
43
|
+
</div>
|
|
44
|
+
<p class="oc-block-authcard-foot">Don't have an account? <a href="#">Sign up</a></p>
|
|
45
|
+
<p class="oc-block-authcard-legal">By clicking continue, you agree to our <a href="#">Terms of Service</a> and <a href="#">Privacy Policy</a>.</p>
|
|
46
|
+
</form>
|
|
47
|
+
</div>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<!-- OmniaUI block: module-header - Page header with icon tile, title, intro, meta badges and action row. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-modulehead: Wrapper
|
|
4
|
-
.oc-block-modulehead-band: Tinted band with icon and text
|
|
5
|
-
.oc-block-modulehead-icon: Icon tile
|
|
6
|
-
.oc-block-modulehead-title / -intro: Title and intro
|
|
7
|
-
.oc-block-modulehead-meta: Row for badges under the title (optional)
|
|
8
|
-
.oc-block-modulehead-actions: Row for buttons below the band (optional)
|
|
9
|
-
Slots: icon, title, intro, meta, actions
|
|
10
|
-
-->
|
|
11
|
-
<header class="oc-block-modulehead">
|
|
12
|
-
<div class="oc-block-modulehead-band">
|
|
13
|
-
<span class="oc-block-modulehead-icon" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="9" cy="8" r="4"/><path d="M2 21c0-4 3-6 7-6s7 2 7 6"/></svg></span>
|
|
14
|
-
<div class="oc-block-modulehead-body">
|
|
15
|
-
<h1 class="oc-block-modulehead-title">Contacts</h1>
|
|
16
|
-
<p class="oc-block-modulehead-intro">Manage customers, suppliers and the people who work there.</p>
|
|
17
|
-
<div class="oc-block-modulehead-meta"><span class="oc-badge oc-badge--info">Pro</span><span class="oc-badge oc-badge--success">Synced</span></div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="oc-block-modulehead-actions">
|
|
21
|
-
<a class="oc-back-link" href="#">Back to CRM</a>
|
|
22
|
-
<button class="oc-btn" type="button">New contact</button>
|
|
23
|
-
</div>
|
|
24
|
-
</header>
|
|
1
|
+
<!-- OmniaUI block: module-header - Page header with icon tile, title, intro, meta badges and action row. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-modulehead: Wrapper
|
|
4
|
+
.oc-block-modulehead-band: Tinted band with icon and text
|
|
5
|
+
.oc-block-modulehead-icon: Icon tile
|
|
6
|
+
.oc-block-modulehead-title / -intro: Title and intro
|
|
7
|
+
.oc-block-modulehead-meta: Row for badges under the title (optional)
|
|
8
|
+
.oc-block-modulehead-actions: Row for buttons below the band (optional)
|
|
9
|
+
Slots: icon, title, intro, meta, actions
|
|
10
|
+
-->
|
|
11
|
+
<header class="oc-block-modulehead">
|
|
12
|
+
<div class="oc-block-modulehead-band">
|
|
13
|
+
<span class="oc-block-modulehead-icon" aria-hidden="true"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="9" cy="8" r="4"/><path d="M2 21c0-4 3-6 7-6s7 2 7 6"/></svg></span>
|
|
14
|
+
<div class="oc-block-modulehead-body">
|
|
15
|
+
<h1 class="oc-block-modulehead-title">Contacts</h1>
|
|
16
|
+
<p class="oc-block-modulehead-intro">Manage customers, suppliers and the people who work there.</p>
|
|
17
|
+
<div class="oc-block-modulehead-meta"><span class="oc-badge oc-badge--info">Pro</span><span class="oc-badge oc-badge--success">Synced</span></div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="oc-block-modulehead-actions">
|
|
21
|
+
<a class="oc-back-link" href="#">Back to CRM</a>
|
|
22
|
+
<button class="oc-btn" type="button">New contact</button>
|
|
23
|
+
</div>
|
|
24
|
+
</header>
|
package/blocks/otp-01.html
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
<!-- OmniaUI block: otp-01 - Verification card: six-digit code, verify button and a resend link. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
-
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
-
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
-
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
-
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
-
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
-
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
-
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
-
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
-
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
-
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
-
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
-
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted) and form column
|
|
14
|
-
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
-
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
-
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
-
.oc-otp: Code input drawn as cells (component); set --oc-otp-length and maxlength
|
|
18
|
-
-->
|
|
19
|
-
<div class="oc-block-authpage oc-block-authpage--plain">
|
|
20
|
-
<form class="oc-block-authcard" action="#" method="post">
|
|
21
|
-
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z"/></svg></span>
|
|
22
|
-
<div class="oc-block-authcard-head">
|
|
23
|
-
<h1 class="oc-block-authcard-title">Enter verification code</h1>
|
|
24
|
-
<p class="oc-block-authcard-text">We sent a 6-digit code to your e-mail</p>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="oc-block-authcard-fields">
|
|
27
|
-
<div class="oc-field">
|
|
28
|
-
<label class="oc-field-label" for="oc-otp01-code">Verification code</label>
|
|
29
|
-
<input class="oc-otp" id="oc-otp01-code" name="code" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]*" style="--oc-otp-length: 6">
|
|
30
|
-
<p class="oc-field-description">Enter the 6-digit code we sent to name@company.com.</p>
|
|
31
|
-
</div>
|
|
32
|
-
<button class="oc-btn oc-block-authcard-submit" type="submit">Verify</button>
|
|
33
|
-
</div>
|
|
34
|
-
<p class="oc-block-authcard-foot">Didn't receive the code? <a href="#">Resend</a></p>
|
|
35
|
-
</form>
|
|
36
|
-
</div>
|
|
1
|
+
<!-- OmniaUI block: otp-01 - Verification card: six-digit code, verify button and a resend link. Needs @birdycom/omniaui-blocks + @birdycom/omniaui CSS.
|
|
2
|
+
Class API (modifiers are extra classes / attributes on the same element):
|
|
3
|
+
.oc-block-authpage: Page wrapper that centers one card. Modifier: --plain (page background instead of muted)
|
|
4
|
+
.oc-block-authcard: Card column. Modifiers: --flat (no card chrome), --wide
|
|
5
|
+
.oc-block-authcard-logo: Icon tile above the title
|
|
6
|
+
.oc-block-authcard-head / -title / -text: Centered heading block, title and description
|
|
7
|
+
.oc-block-authcard-fields / -row: Field stack and a justified row (remember me / forgot password)
|
|
8
|
+
.oc-block-authcard-submit: Full-width submit button
|
|
9
|
+
.oc-block-authcard-foot / -legal / -hint: Switch-form line, legal line, small helper text
|
|
10
|
+
.oc-block-authcard-center: Centered column (OTP input)
|
|
11
|
+
.oc-block-authsocial: Auto-fit grid of social buttons
|
|
12
|
+
.oc-block-authduo: Split layout root (container query: two columns from 42rem of its own width). Modifier: --reverse
|
|
13
|
+
.oc-block-authduo-grid / -panel / -form: Grid, brand panel (modifiers --image, --muted, --photo with style="--oc-authduo-photo: url(…)") and form column
|
|
14
|
+
.oc-block-authduo-logo / -quote: Panel logo and quote
|
|
15
|
+
.oc-block-authmin: Minimal centered column without a card
|
|
16
|
+
.oc-separator-text: Divider with centered text (separator component)
|
|
17
|
+
.oc-otp: Code input drawn as cells (component); set --oc-otp-length and maxlength
|
|
18
|
+
-->
|
|
19
|
+
<div class="oc-block-authpage oc-block-authpage--plain">
|
|
20
|
+
<form class="oc-block-authcard" action="#" method="post">
|
|
21
|
+
<span class="oc-block-authcard-logo"><svg class="" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z"/></svg></span>
|
|
22
|
+
<div class="oc-block-authcard-head">
|
|
23
|
+
<h1 class="oc-block-authcard-title">Enter verification code</h1>
|
|
24
|
+
<p class="oc-block-authcard-text">We sent a 6-digit code to your e-mail</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="oc-block-authcard-fields">
|
|
27
|
+
<div class="oc-field">
|
|
28
|
+
<label class="oc-field-label" for="oc-otp01-code">Verification code</label>
|
|
29
|
+
<input class="oc-otp" id="oc-otp01-code" name="code" type="text" inputmode="numeric" autocomplete="one-time-code" maxlength="6" pattern="[0-9]*" style="--oc-otp-length: 6">
|
|
30
|
+
<p class="oc-field-description">Enter the 6-digit code we sent to name@company.com.</p>
|
|
31
|
+
</div>
|
|
32
|
+
<button class="oc-btn oc-block-authcard-submit" type="submit">Verify</button>
|
|
33
|
+
</div>
|
|
34
|
+
<p class="oc-block-authcard-foot">Didn't receive the code? <a href="#">Resend</a></p>
|
|
35
|
+
</form>
|
|
36
|
+
</div>
|