File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 </div >
2121
2222 <div class =" continue-section" id =" continue-section" style =" display: none;" >
23+ <span class =" continue-label" >Continue with</span >
2324 <a class =" continue-link" id =" continue-link" href =" /" >
24- <span >Continue with </span >
2525 <span class =" continue-title" id =" continue-title" ></span >
2626 <span class =" continue-arrow" aria-hidden =" true" >→ </span >
2727 </a >
9494 const firstIncomplete = lessons.find(({ slug }) => !progress[slug]);
9595 if (firstIncomplete) {
9696 const href = firstIncomplete.link.getAttribute('href') || '';
97- const label = firstIncomplete.link.textContent?.trim() || '';
97+ const label = firstIncomplete.link.querySelector('span')?. textContent?.trim() || '';
9898
9999 const continueSection = document.getElementById('continue-section');
100100 const continueLink = document.getElementById('continue-link') as HTMLAnchorElement | null;
162162 border-top: 1px solid var(--sl-color-hairline);
163163 }
164164
165+ .continue-label {
166+ display: block;
167+ font-size: var(--sl-text-xs);
168+ color: var(--sl-color-gray-3);
169+ margin-bottom: 0.25rem;
170+ }
171+
165172 .continue-link {
166173 display: inline-flex;
167174 align-items: center;
168175 gap: 0.25rem;
169176 font-size: var(--sl-text-sm);
177+ font-weight: 600;
170178 color: var(--sl-color-text-accent);
171179 text-decoration: none;
172180 }
175183 text-decoration: underline;
176184 }
177185
178- .continue-title {
179- font-weight: 600;
180- }
181-
182186 .continue-arrow {
183187 font-size: 1rem;
184188 }
You can’t perform that action at this time.
0 commit comments