Create individual directory for each page
This commit is contained in:
		
							parent
							
								
									8fae92267e
								
							
						
					
					
						commit
						2383609c15
					
				
					 2 changed files with 23 additions and 19 deletions
				
			
		
							
								
								
									
										21
									
								
								static/js/directives/components/publicRepo/publicRepo.tsx
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								static/js/directives/components/publicRepo/publicRepo.tsx
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,21 @@ | |||
| import * as angular from "angular"; | ||||
| 
 | ||||
| import repoHeader from "./header"; | ||||
| import repoSidebar from "./sidebar"; | ||||
| import repoMain from "./main"; | ||||
| 
 | ||||
| var publicRepo =  function(){ | ||||
|   angular.module('quayPages').directive('rpHeader', function(reactDirective) { | ||||
|   return reactDirective(repoHeader); | ||||
|   }); | ||||
| 
 | ||||
|   angular.module('quayPages').directive('rpSidebar', function(reactDirective) { | ||||
|   return reactDirective(repoSidebar); | ||||
|   }); | ||||
| 
 | ||||
|   angular.module('quayPages').directive('rpMain', function(reactDirective) { | ||||
|   return reactDirective(repoMain); | ||||
|   }); | ||||
| } | ||||
| 
 | ||||
| export default publicRepo; | ||||
		Reference in a new issue