“Billions of years from now our sun, then a distended red giant star, will have reduced Earth to a charred cinder. But the Voyager record will still be largely intact, in some other remote region of the Milky Way galaxy, preserving a murmur of an ancient civilization that once flourished — perhaps before moving on to greater deeds and other worlds — on the distant planet Earth.”
― Carl Sagan
Our Google Drive is getting more and more content! : https://drive.google.com/drive/folders/1EBHp1bMq320so4XpybKYwEpexDDpNjup?usp=sharing






| import{Component,OnInit}from'@angular/core'; | |
| import{Platform}from'@ionic/angular'; | |
| import{Plugins}from'@capacitor/core'; | |
| const{ SplashScreen, StatusBar }=Plugins; | |
| @Component({ | |
| selector: 'app-root', | |
| templateUrl: 'app.component.html', | |
| styleUrls: ['app.component.scss'] | |
| }) | |
| exportclassAppComponentimplementsOnInit{ | |
| publicselectedIndex=0; | |
| publicappPages=[ | |
| { | |
| title: 'Earth globe', | |
| url: '/pages/Home', | |
| icon: 'earth' | |
| }, | |
| { | |
| title: 'Over Me Now', | |
| url: '/pages/Over', | |
| icon: 'planet' | |
| }, | |
| { | |
| title: '3D Models', | |
| url: '/pages/Models', | |
| icon: 'color-fill' | |
| }, | |
| { | |
| title: 'Learn', | |
| url: '/pages/Learn', | |
| icon: 'school' | |
| }, | |
| { | |
| title: 'Search', | |
| url: '/pages/Search', | |
| icon: 'search' | |
| }, | |
| { | |
| title: 'About', | |
| url: 'pages/About', | |
| icon: 'information-circle' | |
| }, | |
| ]; | |
| publicpartners=[ | |
| { | |
| name: "NASA", | |
| url: "https://www.nasa.gov/" | |
| }, | |
| { | |
| name: "CSA", | |
| url: "https://www.asc-csa.gc.ca/" | |
| }, | |
| { | |
| name: "JAXA", | |
| url: "https://global.jaxa.jp/" | |
| }, | |
| { | |
| name: "ESA", | |
| url: "https://cnes.fr/fr/" | |
| }, | |
| { | |
| name: "CNES", | |
| url: "https://www.esa.int/" | |
| }, | |
| ] | |
| constructor( | |
| privateplatform: Platform, | |
| ){ | |
| this.initializeApp(); | |
| } | |
| initializeApp(){ | |
| this.platform.ready().then(()=>{ | |
| StatusBar.hide(); | |
| SplashScreen.hide(); | |
| }); | |
| } | |
| ngOnInit(){ | |
| constpath=window.location.pathname.split('pages/')[1]; | |
| if(path!==undefined){ | |
| this.selectedIndex=this.appPages.findIndex(page=>page.title.toLowerCase()===path.toLowerCase()); | |
| } | |
| } | |
| } |