Skip to content

Commit a6bf664

Browse files
style: format code with ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format
This commit fixes the style issues introduced in ad984cc according to the output from ClangFormat, dotnet-format, Prettier, RuboCop, Rustfmt, Scalafmt, StandardJS, StandardRB and swift-format. Details: None
1 parent ad984cc commit a6bf664

9 files changed

Lines changed: 307 additions & 295 deletions

File tree

index.html

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>All-in-One Tools</title>
7-
<link rel="stylesheet" href="css/style.css">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>All-in-One Tools</title>
7+
<link rel="stylesheet" href="css/style.css" />
88

9-
<!-- Sentry SDK with Tracing + Replay -->
10-
<script
11-
src="https://browser.sentry-cdn.com/7.120.1/bundle.tracing.replay.min.js"
12-
integrity="sha384-KMYlb5C6iZLkOH4rXm0wVnCUTrUKvfxJtR3F+HlhRj3k0DL3mXjFq99iTnVVFVkT"
13-
crossorigin="anonymous"
14-
></script>
15-
<script src="js/sentry.js"></script>
16-
</head>
17-
<body>
18-
<header>
19-
<h1>All-in-One Tools</h1>
20-
<p>A collection of useful tools, all in one place.</p>
21-
</header>
9+
<!-- Sentry SDK with Tracing + Replay -->
10+
<script
11+
src="https://browser.sentry-cdn.com/7.120.1/bundle.tracing.replay.min.js"
12+
integrity="sha384-KMYlb5C6iZLkOH4rXm0wVnCUTrUKvfxJtR3F+HlhRj3k0DL3mXjFq99iTnVVFVkT"
13+
crossorigin="anonymous"
14+
></script>
15+
<script src="js/sentry.js"></script>
16+
</head>
17+
<body>
18+
<header>
19+
<h1>All-in-One Tools</h1>
20+
<p>A collection of useful tools, all in one place.</p>
21+
</header>
2222

23-
<main class="tool-grid">
24-
<div class="tool-card">
25-
<h2>Unit Converter</h2>
26-
<p>Convert between common units (length, weight, temperature).</p>
27-
<a href="tools/converter.html" class="btn">Open</a>
28-
</div>
29-
<div class="tool-card">
30-
<h2>Calculator</h2>
31-
<p>Perform quick calculations.</p>
32-
<a href="tools/calculator.html" class="btn">Open</a>
33-
</div>
34-
<div class="tool-card">
35-
<h2>Password Generator</h2>
36-
<p>Create strong and secure passwords.</p>
37-
<a href="tools/password.html" class="btn">Open</a>
38-
</div>
39-
<div class="tool-card">
40-
<h2>QR Code Generator</h2>
41-
<p>Turn text or links into QR codes.</p>
42-
<a href="tools/qr.html" class="btn">Open</a>
43-
</div>
44-
</main>
23+
<main class="tool-grid">
24+
<div class="tool-card">
25+
<h2>Unit Converter</h2>
26+
<p>Convert between common units (length, weight, temperature).</p>
27+
<a href="tools/converter.html" class="btn">Open</a>
28+
</div>
29+
<div class="tool-card">
30+
<h2>Calculator</h2>
31+
<p>Perform quick calculations.</p>
32+
<a href="tools/calculator.html" class="btn">Open</a>
33+
</div>
34+
<div class="tool-card">
35+
<h2>Password Generator</h2>
36+
<p>Create strong and secure passwords.</p>
37+
<a href="tools/password.html" class="btn">Open</a>
38+
</div>
39+
<div class="tool-card">
40+
<h2>QR Code Generator</h2>
41+
<p>Turn text or links into QR codes.</p>
42+
<a href="tools/qr.html" class="btn">Open</a>
43+
</div>
44+
</main>
4545

46-
<footer>
47-
<p>Made with ❤️ by LCS</p>
48-
</footer>
49-
</body>
50-
</html>
46+
<footer>
47+
<p>Made with ❤️ by LCS</p>
48+
</footer>
49+
</body>
50+
</html>

js/sentry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Sentry.init({
66
],
77
tracesSampleRate: 1.0,
88
replaysSessionSampleRate: 0.1,
9-
replaysOnErrorSampleRate: 1.0
9+
replaysOnErrorSampleRate: 1.0,
1010
});
1111

1212
Sentry.addBreadcrumb({
1313
category: "navigation",
1414
message: `Visited ${window.location.pathname}`,
1515
level: "info",
16-
});
16+
});

tools/calculator.html

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Calculator</title>
7-
<link rel="stylesheet" href="../css/style.css">
8-
<link rel="stylesheet" href="calculator.css">
9-
</head>
10-
<body>
11-
<header>
12-
<h1>Calculator</h1>
13-
<a href="../index.html" class="btn">← Back</a>
14-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Calculator</title>
7+
<link rel="stylesheet" href="../css/style.css" />
8+
<link rel="stylesheet" href="calculator.css" />
9+
</head>
10+
<body>
11+
<header>
12+
<h1>Calculator</h1>
13+
<a href="../index.html" class="btn">← Back</a>
14+
</header>
1515

16-
<main class="calc-container">
17-
<div class="calc-screen" id="screen">0</div>
18-
<div class="calc-buttons">
19-
<button>C</button>
20-
<button></button>
21-
<button>%</button>
22-
<button>/</button>
16+
<main class="calc-container">
17+
<div class="calc-screen" id="screen">0</div>
18+
<div class="calc-buttons">
19+
<button>C</button>
20+
<button></button>
21+
<button>%</button>
22+
<button>/</button>
2323

24-
<button>7</button>
25-
<button>8</button>
26-
<button>9</button>
27-
<button>*</button>
24+
<button>7</button>
25+
<button>8</button>
26+
<button>9</button>
27+
<button>*</button>
2828

29-
<button>4</button>
30-
<button>5</button>
31-
<button>6</button>
32-
<button>-</button>
29+
<button>4</button>
30+
<button>5</button>
31+
<button>6</button>
32+
<button>-</button>
3333

34-
<button>1</button>
35-
<button>2</button>
36-
<button>3</button>
37-
<button>+</button>
34+
<button>1</button>
35+
<button>2</button>
36+
<button>3</button>
37+
<button>+</button>
3838

39-
<button>0</button>
40-
<button>.</button>
41-
<button>=</button>
42-
</div>
43-
</main>
39+
<button>0</button>
40+
<button>.</button>
41+
<button>=</button>
42+
</div>
43+
</main>
4444

45-
<script src="calculator.js"></script>
46-
</body>
45+
<script src="calculator.js"></script>
46+
</body>
4747
</html>
4848

4949
<script src="https://browser.sentry-cdn.com/7.120.1/bundle.tracing.replay.min.js"></script>
50-
<script src="../js/sentry.js"></script>
50+
<script src="../js/sentry.js"></script>

tools/clock.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Live Clock</title>
7-
<link rel="stylesheet" href="clock.css">
8-
</head>
9-
<body>
10-
<header>
11-
<h1>🕒 Live Clock</h1>
12-
<p>See the current date and time in real time.</p>
13-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Live Clock</title>
7+
<link rel="stylesheet" href="clock.css" />
8+
</head>
9+
<body>
10+
<header>
11+
<h1>🕒 Live Clock</h1>
12+
<p>See the current date and time in real time.</p>
13+
</header>
1414

15-
<main class="clock-container">
16-
<div id="clock" class="clock-display">--:--:--</div>
17-
<div id="date" class="date-display">Loading date...</div>
18-
</main>
15+
<main class="clock-container">
16+
<div id="clock" class="clock-display">--:--:--</div>
17+
<div id="date" class="date-display">Loading date...</div>
18+
</main>
1919

20-
<footer>
21-
<p><a href="../index.html">⬅ Back to Tools</a></p>
22-
</footer>
20+
<footer>
21+
<p><a href="../index.html">⬅ Back to Tools</a></p>
22+
</footer>
2323

24-
<script src="clock.js"></script>
25-
</body>
24+
<script src="clock.js"></script>
25+
</body>
2626
</html>
2727

2828
<script src="https://browser.sentry-cdn.com/7.120.1/bundle.tracing.replay.min.js"></script>
29-
<script src="../js/sentry.js"></script>
29+
<script src="../js/sentry.js"></script>

tools/converter.html

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
<!DOCTYPE html>
1+
<!doctype html>
22
<html lang="en">
3-
<head>
4-
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Unit Converter</title>
7-
<link rel="stylesheet" href="../css/style.css">
8-
<link rel="stylesheet" href="converter.css">
9-
</head>
10-
<body>
11-
<header>
12-
<h1>Unit Converter</h1>
13-
<a href="../index.html" class="btn">← Back</a>
14-
</header>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Unit Converter</title>
7+
<link rel="stylesheet" href="../css/style.css" />
8+
<link rel="stylesheet" href="converter.css" />
9+
</head>
10+
<body>
11+
<header>
12+
<h1>Unit Converter</h1>
13+
<a href="../index.html" class="btn">← Back</a>
14+
</header>
1515

16-
<main class="converter-container">
17-
<div class="converter-box">
18-
<label for="type">Conversion Type:</label>
19-
<select id="type">
20-
<option value="length">Length (m ↔ km)</option>
21-
<option value="weight">Weight (kg ↔ g)</option>
22-
<option value="temperature">Temperature (°C ↔ °F)</option>
23-
</select>
24-
</div>
16+
<main class="converter-container">
17+
<div class="converter-box">
18+
<label for="type">Conversion Type:</label>
19+
<select id="type">
20+
<option value="length">Length (m ↔ km)</option>
21+
<option value="weight">Weight (kg ↔ g)</option>
22+
<option value="temperature">Temperature (°C ↔ °F)</option>
23+
</select>
24+
</div>
2525

26-
<div class="converter-box">
27-
<label for="inputValue">Input Value:</label>
28-
<input type="number" id="inputValue" placeholder="Enter value">
29-
</div>
26+
<div class="converter-box">
27+
<label for="inputValue">Input Value:</label>
28+
<input type="number" id="inputValue" placeholder="Enter value" />
29+
</div>
3030

31-
<div class="converter-box">
32-
<button id="convertBtn" class="btn">Convert</button>
33-
</div>
31+
<div class="converter-box">
32+
<button id="convertBtn" class="btn">Convert</button>
33+
</div>
3434

35-
<div class="converter-box">
36-
<h2>Result: <span id="result">-</span></h2>
37-
</div>
38-
</main>
35+
<div class="converter-box">
36+
<h2>Result: <span id="result">-</span></h2>
37+
</div>
38+
</main>
3939

40-
<script src="converter.js"></script>
41-
</body>
40+
<script src="converter.js"></script>
41+
</body>
4242
</html>
4343

4444
<script src="https://browser.sentry-cdn.com/7.120.1/bundle.tracing.replay.min.js"></script>
45-
<script src="../js/sentry.js"></script>
45+
<script src="../js/sentry.js"></script>

0 commit comments

Comments
 (0)