Skip to content

Commit 6806083

Browse files
committed
bunch of pre commit fixes
1 parent ef2a48b commit 6806083

113 files changed

Lines changed: 1164 additions & 1097 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/CODE_OF_CONDUCT.md‎

Lines changed: 25 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -2,127 +2,78 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
116

12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
148

159
## Our Standards
1610

17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
11+
Examples of behavior that contributes to a positive environment for our community include:
1912

2013
- Demonstrating empathy and kindness toward other people
2114
- Being respectful of differing opinions, viewpoints, and experiences
2215
- Giving and gracefully accepting constructive feedback
23-
- Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
- Focusing on what is best not just for us as individuals, but for the
26-
overall community
16+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
- Focusing on what is best not just for us as individuals, but for the overall community
2718

2819
Examples of unacceptable behavior include:
2920

30-
- The use of sexualized language or imagery, and sexual attention or
31-
advances of any kind
21+
- The use of sexualized language or imagery, and sexual attention or advances of any kind
3222
- Trolling, insulting or derogatory comments, and personal or political attacks
3323
- Public or private harassment
34-
- Publishing others' private information, such as a physical or email
35-
address, without their explicit permission
36-
- Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
24+
- Publishing others' private information, such as a physical or email address, without their explicit permission
25+
- Other conduct which could reasonably be considered inappropriate in a professional setting
3826

3927
## Enforcement Responsibilities
4028

41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
44-
or harmful.
29+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
4530

46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
31+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
5032

5133
## Scope
5234

53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
35+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
5836

5937
## Enforcement
6038

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at
63-
haydenbleasel.com/contact.
64-
All complaints will be reviewed and investigated promptly and fairly.
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at haydenbleasel.com/contact. All complaints will be reviewed and investigated promptly and fairly.
6540

66-
All community leaders are obligated to respect the privacy and security of the
67-
reporter of any incident.
41+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
6842

6943
## Enforcement Guidelines
7044

71-
Community leaders will follow these Community Impact Guidelines in determining
72-
the consequences for any action they deem in violation of this Code of Conduct:
45+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
7346

7447
### 1. Correction
7548

76-
**Community Impact**: Use of inappropriate language or other behavior deemed
77-
unprofessional or unwelcome in the community.
49+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
7850

79-
**Consequence**: A private, written warning from community leaders, providing
80-
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
51+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
8252

8353
### 2. Warning
8454

85-
**Community Impact**: A violation through a single incident or series
86-
of actions.
55+
**Community Impact**: A violation through a single incident or series of actions.
8756

88-
**Consequence**: A warning with consequences for continued behavior. No
89-
interaction with the people involved, including unsolicited interaction with
90-
those enforcing the Code of Conduct, for a specified period of time. This
91-
includes avoiding interactions in community spaces as well as external channels
92-
like social media. Violating these terms may lead to a temporary or
93-
permanent ban.
57+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
9458

9559
### 3. Temporary Ban
9660

97-
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
61+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
9962

100-
**Consequence**: A temporary ban from any sort of interaction or public
101-
communication with the community for a specified period of time. No public or
102-
private interaction with the people involved, including unsolicited interaction
103-
with those enforcing the Code of Conduct, is allowed during this period.
104-
Violating these terms may lead to a permanent ban.
63+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
10564

10665
### 4. Permanent Ban
10766

108-
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
110-
individual, or aggression toward or disparagement of classes of individuals.
67+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
11168

112-
**Consequence**: A permanent ban from any sort of public interaction within
113-
the community.
69+
**Consequence**: A permanent ban from any sort of public interaction within the community.
11470

11571
## Attribution
11672

117-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
73+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
12074

121-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122-
enforcement ladder](https://github.com/mozilla/diversity).
75+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
12376

12477
[homepage]: https://www.contributor-covenant.org
12578

126-
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
79+
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,20 @@ labels: bug
66
assignees: ""
77
---
88

9-
**Describe the bug**
10-
A clear and concise description of what the bug is.
9+
**Describe the bug** A clear and concise description of what the bug is.
1110

12-
**Ghost version**
13-
I am using version ...
11+
**Ghost version** I am using version ...
1412

15-
**To Reproduce**
16-
Steps to reproduce the behavior:
13+
**To Reproduce** Steps to reproduce the behavior:
1714

1815
1. Go to '...'
1916
2. Click on '....'
2017
3. Scroll down to '....'
2118
4. See error
2219

23-
**Expected behavior**
24-
A clear and concise description of what you expected to happen.
20+
**Expected behavior** A clear and concise description of what you expected to happen.
2521

26-
**Screenshots**
27-
If applicable, add screenshots to help explain your problem.
22+
**Screenshots** If applicable, add screenshots to help explain your problem.
2823

2924
**Desktop (please complete the following information):**
3025

‎.github/ISSUE_TEMPLATE/feature_request.md‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,8 @@ labels: enhancement
66
assignees: ""
77
---
88

9-
**Is your feature request related to a problem? Please describe.**
10-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
1110

12-
**Describe the solution you'd like**
13-
A clear and concise description of what you want to happen.
11+
**Describe the solution you'd like** A clear and concise description of what you want to happen.
1412

15-
**Describe alternatives you've considered**
16-
A clear and concise description of any alternative solutions or features you've considered.
13+
**Describe alternatives you've considered** A clear and concise description of any alternative solutions or features you've considered.

‎app/(auth)/layout.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ const AuthLayout = async ({ children }: { children: ReactNode }) => {
1717
}
1818

1919
return (
20-
<main className="relative flex min-h-screen items-center justify-center overflow-hidden bg-background px-6">
20+
<main className="bg-background relative flex min-h-screen items-center justify-center overflow-hidden px-6">
2121
{/* Background gradient */}
22-
<div className="absolute inset-0 bg-linear-to-b from-primary/5 via-background to-background" />
22+
<div className="from-primary/5 via-background to-background absolute inset-0 bg-linear-to-b" />
2323
{/* Animated orbs */}
2424
<div className="absolute inset-0 overflow-hidden">
25-
<div className="absolute left-1/4 top-1/4 h-125 w-125 animate-pulse rounded-full bg-primary/10 blur-[120px]" />
25+
<div className="bg-primary/10 absolute top-1/4 left-1/4 h-125 w-125 animate-pulse rounded-full blur-[120px]" />
2626
<div
27-
className="absolute bottom-1/4 right-1/4 h-100 w-100 animate-pulse rounded-full bg-accent/10 blur-[100px]"
27+
className="bg-accent/10 absolute right-1/4 bottom-1/4 h-100 w-100 animate-pulse rounded-full blur-[100px]"
2828
style={{ animationDelay: "1s" }}
2929
/>
3030
</div>
3131
{/* Grid overlay */}
32-
<div className="absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.015)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.015)_1px,transparent_1px)] bg-size-[64px_64px] mask-[radial-gradient(ellipse_60%_60%_at_50%_50%,black_40%,transparent_100%)]" />
32+
<div className="absolute inset-0 bg-[linear-gradient(rgba(255,255,255,0.015)_1px,transparent_1px),linear-gradient(90deg,rgba(255,255,255,0.015)_1px,transparent_1px)] mask-[radial-gradient(ellipse_60%_60%_at_50%_50%,black_40%,transparent_100%)] bg-size-[64px_64px]" />
3333
<div className="relative z-10 w-full max-w-sm space-y-6">{children}</div>
3434
</main>
3535
);

‎app/(auth)/sign-in/page.tsx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ const SignInPage = () => {
8181
<div className="flex flex-col gap-6">
8282
<div className="text-center">
8383
<h1 className="text-2xl font-bold tracking-tight">
84-
<span className="bg-linear-to-r from-primary via-primary to-accent bg-clip-text text-transparent">
84+
<span className="from-primary via-primary to-accent bg-linear-to-r bg-clip-text text-transparent">
8585
NodeByte Panel
8686
</span>
8787
</h1>
88-
<p className="mt-1 text-sm text-muted-foreground">
88+
<p className="text-muted-foreground mt-1 text-sm">
8989
Sign in to your account
9090
</p>
9191
</div>
9292
<form
9393
onSubmit={handleSubmit}
94-
className="space-y-4 rounded-2xl border border-border/50 bg-card/30 p-6 backdrop-blur-sm"
94+
className="border-border/50 bg-card/30 space-y-4 rounded-2xl border p-6 backdrop-blur-sm"
9595
>
9696
<div className="space-y-2">
9797
<Label htmlFor="email">Email</Label>
@@ -118,26 +118,26 @@ const SignInPage = () => {
118118
</Button>
119119
<div className="relative py-1">
120120
<div className="absolute inset-0 flex items-center">
121-
<span className="w-full border-t border-border/50" />
121+
<span className="border-border/50 w-full border-t" />
122122
</div>
123123
<div className="relative flex justify-center text-xs uppercase">
124-
<span className="bg-card/30 px-2 text-muted-foreground">or</span>
124+
<span className="bg-card/30 text-muted-foreground px-2">or</span>
125125
</div>
126126
</div>
127127
<Button
128128
type="button"
129129
variant="outline"
130-
className="w-full border-border/50 bg-card/30 hover:border-primary/30 hover:bg-card/50"
130+
className="border-border/50 bg-card/30 hover:border-primary/30 hover:bg-card/50 w-full"
131131
onClick={handlePasskeySignIn}
132132
disabled={passkeyPending}
133133
>
134134
<FingerprintIcon />
135135
{passkeyPending ? "Waiting…" : "Sign in with a passkey"}
136136
</Button>
137-
<p className="text-center text-sm text-muted-foreground">
137+
<p className="text-muted-foreground text-center text-sm">
138138
No account?{" "}
139139
<Link
140-
className="text-primary underline underline-offset-4 hover:text-primary/80"
140+
className="text-primary hover:text-primary/80 underline underline-offset-4"
141141
href="/sign-up"
142142
>
143143
Create one

‎app/(auth)/sign-up/page.tsx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ const SignUpPage = () => {
3535
<div className="flex flex-col gap-6">
3636
<div className="text-center">
3737
<h1 className="text-2xl font-bold tracking-tight">
38-
<span className="bg-linear-to-r from-primary via-primary to-accent bg-clip-text text-transparent">
38+
<span className="from-primary via-primary to-accent bg-linear-to-r bg-clip-text text-transparent">
3939
NodeByte Panel
4040
</span>
4141
</h1>
42-
<p className="mt-1 text-sm text-muted-foreground">
42+
<p className="text-muted-foreground mt-1 text-sm">
4343
Create your account
4444
</p>
4545
</div>
4646
<form
4747
onSubmit={handleSubmit}
48-
className="space-y-4 rounded-2xl border border-border/50 bg-card/30 p-6 backdrop-blur-sm"
48+
className="border-border/50 bg-card/30 space-y-4 rounded-2xl border p-6 backdrop-blur-sm"
4949
>
5050
<div className="space-y-2">
5151
<Label htmlFor="name">Name</Label>
@@ -75,10 +75,10 @@ const SignUpPage = () => {
7575
<Button type="submit" className="w-full" disabled={pending}>
7676
{pending ? "Creating…" : "Create account"}
7777
</Button>
78-
<p className="text-center text-sm text-muted-foreground">
78+
<p className="text-muted-foreground text-center text-sm">
7979
Already have an account?{" "}
8080
<Link
81-
className="text-primary underline underline-offset-4 hover:text-primary/80"
81+
className="text-primary hover:text-primary/80 underline underline-offset-4"
8282
href="/sign-in"
8383
>
8484
Sign in

0 commit comments

Comments
 (0)