mirror of
https://github.com/ivuorinen/generic-landing-page.git
synced 2026-02-10 14:47:57 +00:00
chore(linting): Added eslint and stylelint
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const container = document.querySelector('h1');
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const container = document.querySelector("h1");
|
||||
const hostname = window.location.hostname || document.title;
|
||||
|
||||
container.textContent = hostname;
|
||||
document.title = hostname
|
||||
document.title = hostname;
|
||||
});
|
||||
|
||||
@@ -1,19 +1,20 @@
|
||||
<!doctype html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>hi there!</title>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="app.css" rel="stylesheet">
|
||||
<link href="app.css" rel="stylesheet" />
|
||||
<script src="app.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="h-screen bg-gray-50">
|
||||
|
||||
<div class="flex items-center justify-between h-screen px-4 px-8 py-12 py-16 mx-auto min-w-max max-w-7xl">
|
||||
<h1 class="text-3xl font-extrabold tracking-tight text-gray-900">
|
||||
hi there!
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-between h-screen px-8 py-16 mx-auto min-w-max max-w-7xl">
|
||||
<h1 class="text-3xl font-extrabold tracking-tight text-gray-900">
|
||||
hi there!
|
||||
</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user