mirror of
https://github.com/bitbaum/datacat.git
synced 2026-12-04 05:07:47 +01:00
* chore: add a formatter, matching the style this repo already writes singleQuote=true was chosen by counting this repo's own imports, not by fleet decree. The fleet is genuinely split and the two repos that already had a .prettierrc disagreed with each other, so there was no standard to restore. Quote style does not cross repo boundaries; having a gate does. Markdown is ignored for now — prettier rewraps prose, which would bury the real diff. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * style: format with prettier (199 files) Mechanical. No behaviour change. This SHA is listed in .git-blame-ignore-revs so `git blame` skips it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore: teach git blame to skip the reformat Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(ci): put prettier where CI actually installs The formatter was added to the root package.json, but CI installs with working-directory: frontend and then runs npm run verify at the root, so root devDependencies are never installed at all. format:check died with 'prettier: not found' before checking a single file. Root now delegates into frontend the way every other root script already does, and prettier is a devDependency of frontend, whose lockfile CI installs. frontend also needs its own .prettierignore: prettier resolves that file relative to the working directory, so the root one stopped applying the moment the command ran from frontend/ — which is how README.md and Playwright output ended up being checked. * fix(ci): do not format contentlayer's generated output format:check ran green locally and failed in CI on files that do not exist locally: CI builds contentlayer before verify, so .contentlayer/generated is present by the time prettier looks. One generated module imports with assert { type: 'json' }, which prettier's parser rejects outright. A local --check cannot see build output, so generated directories have to be ignored by name rather than discovered. --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
73 lines
1.7 KiB
HTML
73 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>Test Contact Form</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 20px;
|
|
}
|
|
.form-field {
|
|
margin: 15px 0;
|
|
}
|
|
label {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
input,
|
|
select,
|
|
textarea {
|
|
padding: 8px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
input[type='text'],
|
|
input[type='email'],
|
|
input[type='tel'] {
|
|
width: 300px;
|
|
}
|
|
textarea {
|
|
width: 300px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Contact Information Form</h1>
|
|
<form>
|
|
<div class="form-field">
|
|
<label for="firstName">First Name:</label>
|
|
<input type="text" id="firstName" name="firstName" required />
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label for="lastName">Last Name:</label>
|
|
<input type="text" id="lastName" name="lastName" required />
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label for="email">Email Address:</label>
|
|
<input type="email" id="email" name="email" required />
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label for="phone">Phone Number:</label>
|
|
<input type="tel" id="phone" name="phone" />
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label for="company">Company:</label>
|
|
<input type="text" id="company" name="company" />
|
|
</div>
|
|
|
|
<div class="form-field">
|
|
<label for="message">Message:</label>
|
|
<textarea id="message" name="message"></textarea>
|
|
</div>
|
|
|
|
<button type="submit">Submit</button>
|
|
</form>
|
|
</body>
|
|
</html>
|