File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
apps/svelte.dev/src/routes/packages Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change 70
70
</a >
71
71
72
72
<!-- this is a sibling element so that we don't have links inside links -->
73
- < div class = " links " >
74
- <span style = " display: flex; gap: 0.75rem " >
75
- { #if ! pkg . svAlias }
73
+ { #if ! pkg . svAlias }
74
+ <div class = " links " >
75
+ < span style = " display: flex; gap: 0.75rem " >
76
76
<a
77
77
href ="https://npmjs.org/package/ {pkg .name }"
78
78
target =" _blank"
81
81
aria-label =" View on npm"
82
82
onclick ={(e ) => e .stopPropagation ()}
83
83
></a >
84
- {/if }
85
84
86
- {#if pkg .repo_url }
87
- <a
88
- href ={pkg .repo_url }
89
- target =" _blank"
90
- rel =" noreferrer"
91
- data-icon =" github"
92
- aria-label =" View on GitHub"
93
- onclick ={(e ) => e .stopPropagation ()}
94
- ></a >
95
- {/if }
96
- </span >
97
- </div >
85
+ {#if pkg .repo_url }
86
+ <a
87
+ href ={pkg .repo_url }
88
+ target =" _blank"
89
+ rel =" noreferrer"
90
+ data-icon =" github"
91
+ aria-label =" View on GitHub"
92
+ onclick ={(e ) => e .stopPropagation ()}
93
+ ></a >
94
+ {/if }
95
+ </span >
96
+ </div >
97
+ {/if }
98
98
</article >
99
99
100
100
<style >
You can’t perform that action at this time.
0 commit comments