File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 22 import { resolve } from ' $app/paths' ;
33
44 import logo from ' $lib/assets/cargo.png' ;
5+ import LockIcon from ' $lib/assets/lock.svg?component' ;
56
67 // TODO: import ColorSchemeMenu from './ColorSchemeMenu.svelte';
78 // TODO: import Dropdown from './Dropdown.svelte';
1011 // TODO: import UserAvatar from './UserAvatar.svelte';
1112
1213 // TODO: import session service
13- // TODO: import lock icon SVG
1414
1515 interface Props {
1616 hero? : boolean ;
5757 <!-- <Dropdown data-test-user-menu> ... </Dropdown> -->
5858 <!-- {:else} -->
5959 <button type =" button" class =" login-button button-reset" data-test-login-button >
60- <!-- TODO: add lock icon -- >
60+ <LockIcon / >
6161 Log in with GitHub
6262 </button >
6363 <!-- {/if} -->
245245 */
246246 }
247247
248- /* TODO: uncomment when lock icon is added
249- .login-icon {
248+ .login-button :global(svg ) {
250249 width : 1em ;
251250 margin-right : var (--space-2xs );
252251 opacity : 0.5 ;
253252 }
254- */
255253
256254 /* TODO: uncomment when UserAvatar is implemented
257255 .avatar {
You can’t perform that action at this time.
0 commit comments