├── img ├── bus.png ├── logo.png ├── search.png ├── engines.png ├── rocket1.png ├── rocket2.png ├── rocket3.png ├── sunrise.jpg └── astronaut.png ├── README.md ├── variables.css ├── utlilities.css ├── app.js ├── index.html └── styles.css /img/bus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/bus.png -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/logo.png -------------------------------------------------------------------------------- /img/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/search.png -------------------------------------------------------------------------------- /img/engines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/engines.png -------------------------------------------------------------------------------- /img/rocket1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/rocket1.png -------------------------------------------------------------------------------- /img/rocket2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/rocket2.png -------------------------------------------------------------------------------- /img/rocket3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/rocket3.png -------------------------------------------------------------------------------- /img/sunrise.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/sunrise.jpg -------------------------------------------------------------------------------- /img/astronaut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DYNAMICMORTAL/SpaceX_redesign/HEAD/img/astronaut.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SpaceX_redesign 2 | A complete static re-design of Space X. 3 | 4 | Updates:- 5 | => Responsive Design on the way. 6 | -------------------------------------------------------------------------------- /variables.css: -------------------------------------------------------------------------------- 1 | :root{ 2 | --primary: #1E1E1E; 3 | --dark: #121212; 4 | --pure: #ffffff; 5 | --gray: #1D1D1D; 6 | --mild: #B9B8B8; 7 | } -------------------------------------------------------------------------------- /utlilities.css: -------------------------------------------------------------------------------- 1 | .container{ 2 | width: 1460px; 3 | max-width: 90%; 4 | margin: 0 auto; 5 | } 6 | .btn{ 7 | padding: 8px 30px; 8 | border: 1px solid transparent; 9 | border-radius: 50px; 10 | outline: none; 11 | cursor: pointer; 12 | font-size: 16px; 13 | transition: all .5s ease-in-out; 14 | } 15 | .btn-primary{ 16 | color: var(--dark); 17 | background: var(--pure); 18 | } 19 | .btn-primary:hover{ 20 | background: transparent; 21 | color: var(--pure); 22 | border: 1px solid var(--pure); 23 | } 24 | .btn-secondary{ 25 | background: transparent; 26 | color: var(--pure); 27 | border: 1px solid var(--pure); 28 | } 29 | .btn-secondary:hover{ 30 | color: var(--dark); 31 | background: var(--pure); 32 | } -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- 1 | (function (){ 2 | let socials = document.querySelectorAll('.social div') 3 | 4 | socials.forEach(function(social, index) { 5 | social.style.animation = `moveIn 1s ease-in-out forwards $(index/5)s` 6 | }) 7 | 8 | let rocketPieces = document.querySelectorAll('.rocket-body span') 9 | 10 | let rocket = document.querySelector('.rocket') 11 | 12 | let triggerStart = window.innerHeight / 5; 13 | 14 | let rocketOffsetTop = rocket.offsetTop; 15 | 16 | let thirdOffsetTop = rocketPieces[2].offsetTop; 17 | 18 | document.addEventListener('scroll', (e) =>{ 19 | if(window.scrollY > (rocketOffsetTop - triggerStart)){ 20 | rocketPieces[0].classList.add('active'); 21 | rocketPieces[1].classList.add('active'); 22 | } else { 23 | rocketPieces[0].classList.remove('active'); 24 | rocketPieces[1].classList.remove('active'); 25 | } 26 | 27 | if(window.scrollY > (thirdOffsetTop - triggerStart)){ 28 | rocketPieces[2].classList.add('active'); 29 | } else { 30 | rocketPieces[2].classList.remove('active'); 31 | } 32 | } ) 33 | 34 | 35 | }()) -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | 6 | 7 | 8 |
52 | 66 | Falcon 9 is a two-stage rocket designed and manafactured by Space X for the reliable and safe transport of Satellites and the Dragon Spacecraft into Orbit. 67 |
68 |72 | Dragon carries cargo in the spacecraft's pressurized cap and unpressurized trunk, which can also accomodate secondary payloads. In future, Dragon will carry astronauts in the pressurized capsule as well. 73 |
74 | 75 |79 | The payload fairing is for the delivery of the satellites to the destinations in Low Earth Orbit (LEO), Geosynchronous transfer orbit (GTO) and beyond. 80 |
81 | 82 |86 | Falcon 9's first stage incorporates nine Merlin engines and aluminum-lithium alloy tanks containing liquid oxygen and rocket-grade kerosene (RP-1) propellant. 87 |
88 | 89 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
121 | 125 | Falcon 9 delivers payloads to space aboard the Dragon spacecraft or inside a composite fairing. 126 |
127 |131 | The second stage powered by a single Merlin vaccumm engine delivers Falcon 9's payload to the desired orbit. For maximum reliablity the second stage has redundant igniter systems. 132 |
133 |
152 | 156 | With its nine first-stage Merlin engines clustered together, Falcon 9 can sustain upto two engines shutdown during flight and successfully complete its mission. Falcon 9 is the only launch vehicle in its class with this key reliablity feature. 157 |
158 |