Skip to content

Commit 5d55a64

Browse files
fixing file format
1 parent f0e21aa commit 5d55a64

Some content is hidden

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

59 files changed

+564
-489
lines changed

website/src/assets/styles/tailwind.css

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ limitations under the License.
1818
@tailwind components;
1919
@tailwind utilities;
2020

21-
2221
@layer base {
2322
:root {
2423
--background: 0 0% 100%;
@@ -47,13 +46,13 @@ limitations under the License.
4746

4847
--warning: 38 92% 50%;
4948
--warning-foreground: 48 96% 89%;
50-
49+
5150
--success: 120, 100%, 25%;
5251
--success-foreground: 60 9.1% 97.8%;
5352

5453
--progress: 240, 83%, 58%;
5554
--progress-foreground: 60 9.1% 97.8%;
56-
55+
5756
--border: 20 5.9% 90%;
5857
--input: 20 5.9% 90%;
5958
--ring: 24.6 95% 53.1%;
@@ -105,7 +104,7 @@ limitations under the License.
105104

106105
--warning: 38 92% 50%;
107106
--warning-foreground: 48 96% 89%;
108-
107+
109108
--border: 12 6.5% 15.1%;
110109
--input: 12 6.5% 15.1%;
111110
--ring: 20.5 90.2% 48.2%;
@@ -131,7 +130,6 @@ limitations under the License.
131130
}
132131
}
133132

134-
135133
@layer base {
136134
/* setting default background, text color and font */
137135
html {

website/src/common/CommandMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export function CommandMenu() {
6464
<Button
6565
variant="outline"
6666
className={cn(
67-
"relative h-8 w-full justify-start rounded-[0.5rem] bg-muted/50 text-sm font-normal text-muted-foreground shadow-none sm:pr-12 md:w-40 lg:w-64"
67+
"relative h-8 w-full justify-start rounded-[0.5rem] bg-muted/50 text-sm font-normal text-muted-foreground shadow-none sm:pr-12 md:w-40 lg:w-64",
6868
)}
6969
onClick={() => setOpen(true)}
7070
>

website/src/common/CompareActionsWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default function CompareActionsWrapper() {
4343
};
4444

4545
const { data: vitessRefs } = useApiCall<VitessRefs>(
46-
`${import.meta.env.VITE_API_URL}vitess/refs`
46+
`${import.meta.env.VITE_API_URL}vitess/refs`,
4747
);
4848

4949
const nodeRef = useRef(null);

website/src/common/DailySummary.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function DailySummary(props: DailySummaryProps) {
5959
<Card
6060
className={twMerge(
6161
"w-[310px] h-[124px] md:w-[316px] md:h-[124px] hover:scale-105 duration-300 hover:bg-muted border-border",
62-
workload === data.name && "border-2 border-front"
62+
workload === data.name && "border-2 border-front",
6363
)}
6464
onClick={() => getWorkload()}
6565
>

website/src/common/DisplayList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,5 @@ const DisplayList: React.FC<DisplayListProps> = (props) => {
8585
</div>
8686
</div>
8787
);
88-
}
89-
export default DisplayList;
88+
};
89+
export default DisplayList;

website/src/common/Footer.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,11 @@ const Footer: React.FC = () => {
9393
<h5 className="font-bold md:text-lg text-base">{item.title}</h5>
9494
<div className="my-4 md:my-7 flex flex-col gap-y-2">
9595
{item.links.map((link, key) => (
96-
<Link className="md:text-base text-xs text-foreground/80 hover:text-primary/80" key={key} to={link.to}>
96+
<Link
97+
className="md:text-base text-xs text-foreground/80 hover:text-primary/80"
98+
key={key}
99+
to={link.to}
100+
>
97101
{link.title}
98102
</Link>
99103
))}
@@ -109,4 +113,4 @@ const Footer: React.FC = () => {
109113
);
110114
};
111115

112-
export default Footer;
116+
export default Footer;

website/src/common/Hero.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,14 @@ export default function Hero({ title, description, children }: HeroProps) {
2525
return (
2626
<section className="flex flex-col items-center p-12">
2727
<div className="flex flex-col items-center gap-4 max-w-screen-lg">
28-
<h2 className="text-4xl md:text-6xl font-semibold text-primary mb-4">{title}</h2>
28+
<h2 className="text-4xl md:text-6xl font-semibold text-primary mb-4">
29+
{title}
30+
</h2>
2931
<p className="md:my-6 leading-loose text-foreground/80">
3032
{description}
3133
</p>
3234
{children}
3335
</div>
3436
</section>
3537
);
36-
}
38+
}

website/src/common/Macrobench.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
import PropTypes from 'prop-types';
17+
import PropTypes from "prop-types";
1818
import { Link } from "react-router-dom";
1919
import { twMerge } from "tailwind-merge";
2020
import { fixed, formatByte, secondToMicrosecond } from "../utils/Utils";

website/src/common/Navbar.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default function Navbar(): JSX.Element {
5757
<nav className="flex flex-col relative">
5858
<div
5959
className={twMerge(
60-
"w-full bg-background z-[49] flex justify-between lg:justify-center p-4 border-b border-border"
60+
"w-full bg-background z-[49] flex justify-between lg:justify-center p-4 border-b border-border",
6161
)}
6262
>
6363
<Link to="/" className="flex flex-1 gap-x-2 items-center">
@@ -79,8 +79,8 @@ export default function Navbar(): JSX.Element {
7979
isPending
8080
? "pointer-events-none opacity-50"
8181
: isActive
82-
? "text-primary"
83-
: ""
82+
? "text-primary"
83+
: "",
8484
)
8585
}
8686
>
@@ -132,8 +132,8 @@ export default function Navbar(): JSX.Element {
132132
isPending
133133
? "pointer-events-none "
134134
: isActive
135-
? "text-primary"
136-
: ""
135+
? "text-primary"
136+
: "",
137137
)
138138
}
139139
>
@@ -149,8 +149,8 @@ export default function Navbar(): JSX.Element {
149149
isPending
150150
? "pointer-events-none "
151151
: isActive
152-
? "text-primary"
153-
: ""
152+
? "text-primary"
153+
: "",
154154
)
155155
}
156156
>

website/src/common/VitessRefsCommand.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default function VitessRefsCommand({
9494
<Button
9595
variant="outline"
9696
className={cn(
97-
"relative justify-between rounded-[0.5rem] bg-muted/50 text-sm font-normal text-muted-foreground shadow-none sm:pr-4 w-full md:w-40 lg:w-64"
97+
"relative justify-between rounded-[0.5rem] bg-muted/50 text-sm font-normal text-muted-foreground shadow-none sm:pr-4 w-full md:w-40 lg:w-64",
9898
)}
9999
onClick={() => setOpen(true)}
100100
>

0 commit comments

Comments
 (0)