-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
116 lines (111 loc) · 5.74 KB
/
Copy pathindex.html
File metadata and controls
116 lines (111 loc) · 5.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Aura UI - Router — демо</title>
<link rel="stylesheet" href="/demo.css" />
</head>
<body>
<div class="shell">
<div class="demo-page">
<header class="demo-header">
<div class="demo-header__brand">
<span class="demo-header__title">Aura UI</span>
<code class="demo-header__tag"><aura-router></code>
</div>
</header>
<main class="demo-index">
<div class="demo-index__hero">
<h1 class="demo-index__title">Демонстрации</h1>
<p class="demo-index__lead">
Каждый сценарий — отдельная страница со своим
<code><aura-router></code>.
Из оглавления — полная загрузка документа; внутри сценария — навигация без перезагрузки вкладки.
</p>
</div>
<section class="demo-index__section" aria-labelledby="demo-index-routing">
<h2 class="demo-index__section-title" id="demo-index-routing">
<span class="demo-index__section-label">01</span>
Маршрутизация
</h2>
<ul class="demo-index__grid">
<li>
<a class="demo-index__card" href="/features/routing-basics/index.html">
<span class="demo-index__card-kicker demo-index__card-kicker--basics">Basics</span>
<span class="demo-index__card-title">Основы</span>
<span class="demo-index__card-desc">Плоские маршруты, полная замена view, back/forward</span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
<li>
<a class="demo-index__card" href="/features/routing-nested/index.html">
<span class="demo-index__card-kicker demo-index__card-kicker--nested">Nested</span>
<span class="demo-index__card-title">Вложенные</span>
<span class="demo-index__card-desc">Layout-оболочка, index <code>path="."</code>, параметр <code>:id</code></span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
<li>
<a class="demo-index__card" href="/features/routing-advanced/index.html">
<span class="demo-index__card-kicker demo-index__card-kicker--advanced">Advanced</span>
<span class="demo-index__card-title">Продвинутые</span>
<span class="demo-index__card-desc">Layout L1/L2, приоритет matching, catch-all <code>*</code></span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
</ul>
</section>
<section class="demo-index__section" aria-labelledby="demo-index-lifecycle">
<h2 class="demo-index__section-title" id="demo-index-lifecycle">
<span class="demo-index__section-label">02</span>
Жизненный цикл
</h2>
<ul class="demo-index__grid demo-index__grid--single">
<li>
<a class="demo-index__card" href="/features/phase-update/index.html">
<span class="demo-index__card-kicker demo-index__card-kicker--update">Lifecycle</span>
<span class="demo-index__card-title">Update shortcut</span>
<span class="demo-index__card-desc">Query, hash и <code>:id</code> — remount vs param-update</span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
</ul>
</section>
<section class="demo-index__section" aria-labelledby="demo-index-animations">
<h2 class="demo-index__section-title" id="demo-index-animations">
<span class="demo-index__section-label">03</span>
Анимации
</h2>
<ul class="demo-index__grid demo-index__grid--single">
<li>
<a class="demo-index__card" href="/features/animations/index.html">
<span class="demo-index__card-kicker demo-index__card-kicker--animations">Transitions</span>
<span class="demo-index__card-title">Fade</span>
<span class="demo-index__card-desc">Пакет <code>transition="fade"</code>, staged mount, хуки Web Animations API</span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
</ul>
</section>
<section class="demo-index__section" aria-labelledby="demo-index-mpa">
<h2 class="demo-index__section-title" id="demo-index-mpa">
<span class="demo-index__section-label">04</span>
MPA → SPA
</h2>
<ul class="demo-index__grid demo-index__grid--single">
<li>
<a class="demo-index__card" href="/features/hydration">
<span class="demo-index__card-kicker demo-index__card-kicker--hydration">Hydration</span>
<span class="demo-index__card-title">First paint</span>
<span class="demo-index__card-desc">Серверный HTML с <code>aura-router-ssr</code> — adopt без refetch</span>
<span class="demo-index__card-action" aria-hidden="true">Открыть →</span>
</a>
</li>
</ul>
</section>
</main>
</div>
</div>
</body>
</html>