refactor: reformat code for improved readability and consistent style
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
<!doctype html>
|
||||
<html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Iceberg + Frost</title></head><body><main id="app" class="frost-container"><h1>Frost</h1></main><script type="module" src="/src/main.js"></script></body></html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Iceberg + Frost</title></head>
|
||||
<body>
|
||||
<main id="app" class="frost-container"><h1>Frost</h1></main>
|
||||
<script type="module" src="./src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
import '@fretuks/frost';
|
||||
|
||||
document.querySelector('#app').dataset.built = 'true';
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
.card { padding: 2rem; }
|
||||
.card {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import './style.css';
|
||||
import { message } from './utils.js';
|
||||
import {message} from './utils.js';
|
||||
|
||||
document.querySelector('#app').textContent = message;
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
@import './components/card.css';
|
||||
body { margin: 0; font-family: system-ui, sans-serif; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: system-ui, sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user