Skip to content

Commit

Permalink
recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ogeobubu committed Oct 23, 2024
1 parent 835cc3a commit e88a5a7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
6 changes: 3 additions & 3 deletions client/src/pages/homepage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const Homepage = () => {
</p>
</div>
<div className="flex md:flex-row flex-col gap-3 justify-between items-center w-full mb-8">
<Button className="w-[300px]" href="/upload">Identify Leaf</Button>
<Button>Learn More</Button>
<Button>About Us</Button>
<Button className="md:w-full" href="/upload">Identify Leaf</Button>
<Button className="md:w-full">Learn More</Button>
<Button className="md:w-full">About Us</Button>
</div>
</div>

Expand Down
19 changes: 10 additions & 9 deletions client/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": false,
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,

/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
"strict": false,
"noUnusedLocals": false,
"noUnusedParameters": false,

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": [
"src/**/*",
"src/types/images.d.ts"
]
}
"include": ["src"]
}
20 changes: 13 additions & 7 deletions client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{

"files": [],
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
]
}
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"jsx": "react-jsx",
"strict": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node"
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}

0 comments on commit e88a5a7

Please sign in to comment.