logo and background
This commit is contained in:
parent
affd3f0a47
commit
9daf0d1fdb
BIN
FCLauncher/assets/CityBase.png
Normal file
BIN
FCLauncher/assets/CityBase.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 757 KiB |
BIN
FCLauncher/assets/Title.png
Normal file
BIN
FCLauncher/assets/Title.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
@ -19,8 +19,8 @@
|
||||
"windows": [
|
||||
{
|
||||
"title": "fclauncher",
|
||||
"width": 800,
|
||||
"height": 600
|
||||
"width": 1280,
|
||||
"height": 720
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
|
BIN
FCLauncher/src/assets/CityBase.png
Normal file
BIN
FCLauncher/src/assets/CityBase.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 757 KiB |
BIN
FCLauncher/src/assets/Title.png
Normal file
BIN
FCLauncher/src/assets/Title.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 109 KiB |
@ -8,49 +8,26 @@
|
||||
<script type="module" src="/main.js" defer></script>
|
||||
</head>
|
||||
|
||||
<style>
|
||||
body {
|
||||
background-image: src="assets/CityBase.png";
|
||||
}
|
||||
</style>
|
||||
|
||||
<body onload="load();">
|
||||
|
||||
|
||||
<div class="container">
|
||||
<h1>Welcome to Tauri!</h1>
|
||||
|
||||
<div class="row">
|
||||
<a href="https://tauri.app" target="_blank">
|
||||
<img src="/assets/tauri.svg" class="logo tauri" alt="Tauri logo" />
|
||||
</a>
|
||||
<a
|
||||
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript"
|
||||
target="_blank"
|
||||
>
|
||||
<img
|
||||
src="/assets/javascript.svg"
|
||||
class="logo vanilla"
|
||||
alt="JavaScript logo"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="dropdown">
|
||||
<button onclick="packSelect()" class="dropbtn">Dropdown</button>
|
||||
<div id="myDropdown" class="dropdown-content">
|
||||
<a href="#">Pack 1</a>
|
||||
<a href="#">Pack 2</a>
|
||||
<a href="#">Pack 3</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<select name="cars" id="Modpacks">
|
||||
<option value="volvo">Volvo</option>
|
||||
<option value="saab">Saab</option>
|
||||
<option value="mercedes">Mercedes</option>
|
||||
<option value="audi">Audi</option>
|
||||
<img src="assets/Title.png" alt="Title">
|
||||
|
||||
|
||||
|
||||
<select name="modSelect" id="Modpacks">
|
||||
</select>
|
||||
<p>Click on the Tauri logo to learn more about the framework</p>
|
||||
|
||||
<form class="row" id="greet-form">
|
||||
<input id="greet-input" placeholder="Enter a name..." />
|
||||
<button type="submit">Greet</button>
|
||||
</form>
|
||||
|
||||
<p id="greet-msg"></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -39,10 +39,14 @@ window.onload = async function() {
|
||||
|
||||
function addModpacks(modpacks) {
|
||||
var dropdown = document.getElementById("Modpacks");
|
||||
modpacks.sort();
|
||||
modpacks.reverse();
|
||||
for (let i = 0; i < modpacks.length; i++){
|
||||
var opt = document.createElement("option");
|
||||
opt.text = modpacks[0];
|
||||
opt.text = modpacks[i];
|
||||
opt.value = 'somethings value';
|
||||
dropdown.options.add(opt);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -19,13 +19,17 @@
|
||||
|
||||
.container {
|
||||
margin: 0;
|
||||
padding-top: 10vh;
|
||||
padding-top: 5vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url('assets/CityBase.png');
|
||||
}
|
||||
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
@ -149,3 +153,13 @@ button {
|
||||
.show {display:block;}
|
||||
|
||||
}
|
||||
#Modpacks{
|
||||
width:300px ;
|
||||
align-content: center;
|
||||
align-self: center;
|
||||
align-items: center;
|
||||
}
|
||||
#Logo{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user