File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 263263 line-height : 1.7 ;
264264 }
265265
266+ .footer {
267+ text-align : center;
268+ margin-top : 1.5rem ;
269+ padding-top : 1rem ;
270+ border-top : 1px solid var (--border );
271+ font-size : 0.85rem ;
272+ }
273+
274+ .footer a { color : var (--text ); }
275+
266276 .hidden { display : none !important ; }
267277 </ style >
268278</ head >
Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ function renderStats(stats: { redactedEnvVars: number; redactedEmails: number; a
110110function buildSettingsPanel ( config : SanitizerConfig , onSave : ( c : SanitizerConfig ) => void ) : HTMLElement {
111111 const details = el ( 'details' , { className : 'settings' } )
112112 const summary = el ( 'summary' )
113- summary . textContent = 'Settings'
113+ summary . textContent = 'Advanced Settings'
114114 details . appendChild ( summary )
115115
116116 const form = el ( 'div' , { className : 'settings-form' } )
@@ -258,6 +258,17 @@ function init(): void {
258258 // Full disclaimer
259259 app . appendChild ( createFullDisclaimer ( ) )
260260
261+ // Source code link
262+ const footer = el ( 'div' , { className : 'footer' } )
263+ const sourceLink = el ( 'a' , {
264+ href : 'https://github.com/bakerboy448/compose-sanitizer' ,
265+ target : '_blank' ,
266+ rel : 'noopener noreferrer' ,
267+ } )
268+ sourceLink . textContent = 'Source code on GitHub'
269+ footer . appendChild ( sourceLink )
270+ app . appendChild ( footer )
271+
261272 // Sanitize handler
262273 sanitizeBtn . addEventListener ( 'click' , ( ) => {
263274 const raw = input . value
You can’t perform that action at this time.
0 commit comments