Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
royallyscrewd committed Jul 16, 2024
2 parents 1bfed2f + 87c3816 commit 2debd34
Show file tree
Hide file tree
Showing 23 changed files with 4,717 additions and 385 deletions.
7 changes: 5 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"tailwindCSS.classAttributes": ["class", "class:list"],
"tailwindCSS.classAttributes": ["class", "class:list", "className"],
"tailwindCSS.includeLanguages": {
"astro": "html",
"typescriptreact": "html",
"plaintext": "html",
},
"tailwindCSS.experimental.classRegex": ["width: \"\\s*\""]
"tailwindCSS.experimental.classRegex": [
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"]
],
"editor.rulers": [80],
}
6 changes: 4 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
const isProd = import.meta.env.PROD;
// const isProd = import.meta.env.PROD;
const isProd = true;

// https://astro.build/config
export default defineConfig({
site: "https://unimibinside.github.io/sti-website/",
base: isProd ? "/sti-website" : "/",
base: "/sti-website",
trailingSlash: "never",
integrations: [tailwind(), react()],
});
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@
"@astrojs/check": "^0.7.0",
"@astrojs/react": "^3.6.0",
"@astrojs/tailwind": "^5.1.0",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@tanstack/react-table": "^8.19.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"astro": "^4.9.3",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"d3": "^7.9.0",
"flowbite": "^2.3.0",
"lucide-react": "^0.408.0",
Expand Down
Loading

0 comments on commit 2debd34

Please sign in to comment.