File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 116116 <input
117117 type =" url"
118118 name =" repo_url"
119+ id =" repo_url"
119120 value =" {{ repo_url }}"
120121 placeholder =" https://github.com/username/repository"
121122 required
132133 </button >
133134 </div >
134135 </form >
136+
137+ <!-- Example repositories section -->
138+ <div class =" mt-6" >
139+ <p class =" text-gray-700 mb-3 font-medium" >Try these example repositories:</p >
140+ <div class =" flex flex-wrap gap-2" >
141+ <button onclick =" submitExample('https://github.com/cyclotruc/gitingest')"
142+ class =" px-4 py-2 bg-[#E6F2FF] hover:bg-[#5A9BF5] text-gray-900 rounded transition-colors duration-200 border-[3px] border-gray-900 relative hover:-translate-y-px hover:-translate-x-px text-sm font-medium" >
143+ Gitingest
144+ </button >
145+ <button onclick =" submitExample('https://github.com/cyclotruc/gitcontainer')"
146+ class =" px-4 py-2 bg-[#E6F2FF] hover:bg-[#5A9BF5] text-gray-900 rounded transition-colors duration-200 border-[3px] border-gray-900 relative hover:-translate-y-px hover:-translate-x-px text-sm font-medium" >
147+ Gitcontainer
148+ </button >
149+ </div >
150+ </div >
135151 </div >
136152 </div >
137153
324340 </footer >
325341
326342 <script >
343+ // Example submission function
344+ function submitExample (repoUrl ) {
345+ const input = document .getElementById (' repo_url' );
346+ input .value = repoUrl;
347+ input .focus ();
348+ // Optionally auto-submit the form
349+ // input.form.submit();
350+ }
351+
327352 // Monaco Editor setup
328353 let dockerfileEditor = null ;
329354 let composeEditor = null ;
You can’t perform that action at this time.
0 commit comments