Star Wars Battlefront I 2016 Interface

Developer
Size
6,229 Kb
Views
22,264

How do I make an star wars battlefront i 2016 interface?

What is a star wars battlefront i 2016 interface? How do you make a star wars battlefront i 2016 interface? This script and codes were developed by Joost Jansen on 19 November 2022, Saturday.

Star Wars Battlefront I 2016 Interface Previews

Star Wars Battlefront I 2016 Interface - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Star Wars Battlefront I 2016 Interface</title> <link rel='stylesheet prefetch' href='https://fonts.googleapis.com/css?family=Muli:300,400,700'>
<link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react-dom.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

Star Wars Battlefront I 2016 Interface - Script Codes CSS Codes

html, body { height: 100%;
}
body { margin: 0; overflow: hidden; font-family: 'Muli', sans-serif;
}
button { border: 2px solid #ccc; background-color: #d1d1d1; border-radius: 2px; font-family: 'Muli', sans-serif; font-size: 16px; padding: 5px 10px;
}
.ucase { text-transform: uppercase;
}
.selected { font-weight: 700;
}
.Client { display: flex; flex-flow: column nowrap; width: 1280px; height: 720px; margin: 0 auto; background: url(http://www.hqgaming.de/wp-content/uploads/2015/10/STAR-WARS-Battlefront-Tie-Fighter-Wallpaper-FullHD1.jpg) no-repeat center bottom/119%;
}
.Topbar { display: flex; justify-content: space-between; padding: 30px 80px 15px;
}
.Navigation { display: flex; width: 400px; padding: 15px 80px 30px;
}
.Navigation span { border-radius: 2px; transition: background-color 100ms linear; padding: 5px 3px; font-size: 20px; cursor: pointer;
}
.Navigation span:hover { background-color: #f3ca2f;
}
.Navigation span:not(:last-child) { margin-right: 40px;
}
.View { display: flex; flex-flow: row wrap; padding: 0 80px; flex: 1;
}
.View .left,
.View .right { flex: 0 0 400px; border-radius: 2px; margin-right: 8px; overflow: hidden; cursor: pointer;
}
.View .left h1, .View .left p,
.View .right h1,
.View .right p { margin: 0; text-transform: uppercase; background-color: #fff; position: relative; z-index: 2;
}
.View .left h1,
.View .right h1 { padding: 10px 10px 0; font-size: 42px;
}
.View .left p,
.View .right p { padding: 0 10px 5px; font-size: 10px;
}
.View .left img,
.View .right img { height: calc(100% + 50px); transform: scale(0.8); position: relative; top: -70px; left: -100px; z-index: 1;
}
.View .left:hover,
.View .right:hover { color: #f3ca2f; box-shadow: 0 0 0 3px #f3ca2f; background-color: #000;
}
.View .left:hover h1, .View .left:hover p,
.View .right:hover h1,
.View .right:hover p { background-color: #000;
}
.Bottombar { padding: 40px 80px; margin-top: auto;
}
.icon__player { padding: 5px 10px; background-color: #ccc;
}

Star Wars Battlefront I 2016 Interface - Script Codes JS Codes

'use strict';
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
////////////////////// IMPORTS //////////////////////
var _React = React;
var Component = _React.Component;
var _ReactDOM = ReactDOM;
var render = _ReactDOM.render;
var allViews = ['Play', 'Collect', 'Stats', 'Settings'];
////////////////////// URLS //////////////////////
var urlLeft = "http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg";
var urlRight = "https://data2.origin.com/live/content/dam/originx/web/app/games/star-wars/star-wars-battlefront/screenshots/rogueonescarif/swbf_rogueonescarif_pdp_screenhi_3840x2160_en_ww_v1_beachtroopers.jpg";
////////////////////// COMPONENTS //////////////////////
var Client = function (_Component) { _inherits(Client, _Component); function Client(props) { _classCallCheck(this, Client); var _this = _possibleConstructorReturn(this, _Component.call(this, props)); _this.state = { selectedView: "Play" }; _this.changeSelectedView = _this.changeSelectedView.bind(_this); return _this; } Client.prototype.changeSelectedView = function changeSelectedView(s) { this.setState({ selectedView: s }); }; Client.prototype.renderView = function renderView() { switch (this.state.selectedView) { case "Play": return React.createElement(PlayView, null); case "Collect": return React.createElement(CollectView, null); case "Stats": return React.createElement(StatsView, null); case "Settings": return React.createElement(SettingsView, null); default: return null; } }; Client.prototype.render = function render() { return React.createElement( 'div', { className: 'Client' }, React.createElement(Topbar, null), React.createElement(Navigation, { selectedView: this.state.selectedView, changeSelectedView: this.changeSelectedView }), this.renderView(), React.createElement(Bottombar, null) ); }; return Client;
}(Component);
var Topbar = function Topbar() { return React.createElement( 'div', { className: 'Topbar' }, React.createElement( 'div', { className: 'icon icon__player' }, React.createElement('i', { className: 'fa fa-1x fa-user' }) ) );
};
var Navigation = function Navigation(_ref) { var selectedView = _ref.selectedView; var changeSelectedView = _ref.changeSelectedView; var selectedButtons = allViews.map(function (s) { var classNames = 'ucase ' + (s === selectedView && 'selected'); return React.createElement( 'span', { key: s, className: classNames, onClick: function onClick() { return changeSelectedView(s); } }, s ); }); return React.createElement( 'div', { className: 'Navigation' }, selectedButtons );
};
var PlayView = function PlayView() { return React.createElement( 'div', { className: 'View' }, React.createElement( 'div', { className: 'left' }, React.createElement( 'h1', null, 'Multiplayer' ), React.createElement( 'p', null, 'Online games for 6-40 players' ), React.createElement('img', { src: urlLeft }) ), React.createElement( 'div', { className: 'right' }, React.createElement( 'h1', null, 'Missions' ), React.createElement( 'p', null, 'Single player or two player action' ), React.createElement('img', { src: urlRight }) ) );
};
var CollectView = function CollectView() { return React.createElement( 'div', { className: 'View' }, React.createElement( 'div', { className: 'left' }, React.createElement( 'h1', null, 'Multiplayer' ), React.createElement( 'p', null, 'Online games for 6-40 players' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ), React.createElement( 'div', { className: 'right' }, React.createElement( 'h1', null, 'Missions' ), React.createElement( 'p', null, 'Single player or two player action' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ) );
};
var StatsView = function StatsView() { return React.createElement( 'div', { className: 'View' }, React.createElement( 'div', { className: 'left' }, React.createElement( 'h1', null, 'Multiplayer' ), React.createElement( 'p', null, 'Online games for 6-40 players' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ), React.createElement( 'div', { className: 'right' }, React.createElement( 'h1', null, 'Missions' ), React.createElement( 'p', null, 'Single player or two player action' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ) );
};
var SettingsView = function SettingsView() { return React.createElement( 'div', { className: 'View' }, React.createElement( 'div', { className: 'left' }, React.createElement( 'h1', null, 'Multiplayer' ), React.createElement( 'p', null, 'Online games for 6-40 players' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ), React.createElement( 'div', { className: 'right' }, React.createElement( 'h1', null, 'Missions' ), React.createElement( 'p', null, 'Single player or two player action' ), React.createElement('img', { src: 'http://blog.hdwallsource.com/wp-content/uploads/2015/12/star-wars-battlefront-game-wallpaper-48665-50277-hd-wallpapers.jpg' }) ) );
};
var Bottombar = function Bottombar() { return React.createElement( 'div', { className: 'Bottombar' }, React.createElement( 'button', { className: 'ucase' }, 'Quit' ) );
};
////////////////////// RENDERING //////////////////////
render(React.createElement(Client, null), document.querySelector('body'));
Star Wars Battlefront I 2016 Interface - Script Codes
Star Wars Battlefront I 2016 Interface - Script Codes
Home Page Home
Developer Joost Jansen
Username DevItWithDavid
Uploaded November 19, 2022
Rating 3
Size 6,229 Kb
Views 22,264
Do you need developer help for Star Wars Battlefront I 2016 Interface?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Joost Jansen (DevItWithDavid) Script Codes
Create amazing captions with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!