Skip to content

Commit da1dd54

Browse files
committed
login
1 parent aaa4d2a commit da1dd54

File tree

2 files changed

+8
-37
lines changed

2 files changed

+8
-37
lines changed

index.html

Lines changed: 4 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="en" class = "h-full bg-gray-50">
33
<head>
44
<title></title>
55

@@ -12,11 +12,11 @@
1212
</head>
1313

1414

15-
<body >
15+
<body class="h-full">
1616

1717
<div x-data="{ tab: 'map', mobileMenuOpen: false, showLogin: true,}">
1818

19-
<div x-show = "!showLogin" class="min-h-full">
19+
<div x-show = "!showLogin" class="">
2020

2121
<nav class="bg-white border-b border-gray-200">
2222
<div class="max-w-7xl mx-auto px-4 lg:px-6 lg:px-8">
@@ -124,26 +124,6 @@
124124
<div :class="{ 'hidden' : mobileMenuOpen}" class="absolute inset-x-0 top-4 lg:top-20 h-16 flex items-center justify-center">
125125
<div class = "text-3xl flex flex-row bg-white gap-y-4 gap-x-10 px-8 pt-3 pb-1 rounded-md z-20">
126126

127-
<!-- <div x-data="{battery_voltage: ''}" class = "flex flex-col">
128-
<h3 class="text-xs mb-2 uppercase"> Voltage</h3>
129-
<span class="text-2xl" x-text="battery_voltage"> </span>
130-
</div>
131-
132-
<div x-data="{controller_temp: ''}" class = "flex flex-col">
133-
<h3 class="text-xs mb-2 uppercase"> Temp</h3>
134-
<span class="text-2xl" x-text="controller_temp"></span>
135-
</div>
136-
137-
<div x-data="{current_trip: ''}" class = "flex flex-col">
138-
<h3 class="text-xs mb-2 uppercase"> Trip</h3>
139-
<span class="text-2xl" x-text="current_trip"> </span>
140-
</div>
141-
142-
<div x-data="{gps_speed: ''}" class = "flex flex-col">
143-
<h3 class="text-xs mb-2 uppercase"> Speed</h3>
144-
<span class="text-2xl" x-text="gps_speed"> </span>
145-
</div> -->
146-
147127

148128
<div class = "flex flex-col">
149129
<h3 class="text-xs mb-2 uppercase"> Voltage</h3>
@@ -228,22 +208,9 @@ <h3>Settings</h3>
228208

229209

230210

231-
232-
233-
234-
235-
<!--
236-
This example requires updating your template:
237-
238-
```
239-
<html class="h-full bg-gray-50">
240-
<body class="h-full">
241-
```
242-
-->
243-
244211
<div x-show="showLogin" class="min-h-full flex flex-col justify-center py-12 sm:px-6 lg:px-8">
245212

246-
<div class="mt-8 sm:mx-auto sm:w-full sm:max-w-md">
213+
<div class="mt-8 sm:mx-auto sm:w-full lg:max-w-lg">
247214
<div class="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
248215
<form class="space-y-6" action="#" method="POST">
249216
<div>

tailwind-dist.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,10 @@ select {
20142014
max-width: 80rem;
20152015
}
20162016

2017+
.lg\:max-w-lg {
2018+
max-width: 32rem;
2019+
}
2020+
20172021
.lg\:items-center {
20182022
align-items: center;
20192023
}

0 commit comments

Comments
 (0)