Skip to content

Commit

Permalink
remove tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
vraja-nayaka authored and kvs96 committed Dec 26, 2024
1 parent e701ff7 commit 372a873
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 733 deletions.
Binary file removed digit-recognition/frontend/favicon.ico
Binary file not shown.
Binary file modified digit-recognition/frontend/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion digit-recognition/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" class="dark">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/favicon.png" sizes="any" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Image Recognition</title>
</head>
Expand Down
9 changes: 0 additions & 9 deletions digit-recognition/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,30 +19,21 @@
"@tanstack/react-query": "^5.59.20",
"class-variance-authority": "^0.7.1",
"jotai": "2.10.0",
"postcss": "8.4.47",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"sails-js": "^0.3.0",
"tailwind-merge": "2.5.3",
"tailwindcss-animate": "1.0.7",
"use-scramble": "2.2.15",
"wagmi": "^2.12.29"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@tailwindcss/container-queries": "0.1.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "10.4.20",
"eslint": "^9.13.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.14",
"eslint-plugin-tailwindcss": "3.17.4",
"globals": "^15.11.0",
"postcss": "8.4.47",
"tailwindcss": "3.4.13",
"tailwindcss-radix": "3.0.5",
"typescript": "~5.6.2",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10",
Expand Down
6 changes: 0 additions & 6 deletions digit-recognition/frontend/postcss.config.cjs

This file was deleted.

1 change: 0 additions & 1 deletion digit-recognition/frontend/public/vite.svg

This file was deleted.

4 changes: 2 additions & 2 deletions digit-recognition/frontend/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { clsx } from "clsx";
import { PropsWithChildren } from "react";
import { cn } from "@/lib/utils";
import styles from "./Layout.module.scss";

type Props = PropsWithChildren & {
className?: string;
};

export const Layout = ({ children, className }: Props) => {
return <div className={cn(styles.container, className)}>{children}</div>;
return <div className={clsx(styles.container, className)}>{children}</div>;
};
10 changes: 5 additions & 5 deletions digit-recognition/frontend/src/components/ui/card/Card.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { clsx } from "clsx";
import styles from "./Card.module.scss";
import { cn } from "@/lib/utils";

type Props = {
title: string;
Expand All @@ -24,10 +24,10 @@ export const Card = ({
</div>

<div className={styles.canvas}>
<div className={cn(styles.corner, styles.topLeft)} />
<div className={cn(styles.corner, styles.topRight)} />
<div className={cn(styles.corner, styles.bottomLeft)} />
<div className={cn(styles.corner, styles.bottomRight)} />
<div className={clsx(styles.corner, styles.topLeft)} />
<div className={clsx(styles.corner, styles.topRight)} />
<div className={clsx(styles.corner, styles.bottomLeft)} />
<div className={clsx(styles.corner, styles.bottomRight)} />
{canvasSlot}
</div>

Expand Down
7 changes: 0 additions & 7 deletions digit-recognition/frontend/src/lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export { mergeRefs } from "./merge-refs";
export { isMobileDevice, isMobile } from "./device-detection";

export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

export const copyToClipboard = async ({
value,
onSuccess,
Expand Down
276 changes: 0 additions & 276 deletions digit-recognition/frontend/tailwind.config.js

This file was deleted.

Loading

0 comments on commit 372a873

Please sign in to comment.