diff --git a/eduseg/package-lock.json b/eduseg/package-lock.json index 8376113..9d5ef9c 100644 --- a/eduseg/package-lock.json +++ b/eduseg/package-lock.json @@ -10,12 +10,15 @@ "dependencies": { "@astrojs/react": "^4.2.1", "@headlessui/react": "^2.2.0", + "@heroicons/react": "^2.2.0", "@tailwindcss/vite": "^4.0.13", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "astro": "^5.4.3", + "clsx": "^2.1.1", "react": "^19.0.0", "react-dom": "^19.0.0", + "react-hook-form": "^7.54.2", "tailwindcss": "^4.0.13" } }, @@ -886,6 +889,15 @@ "react-dom": "^18 || ^19 || ^19.0.0-rc" } }, + "node_modules/@heroicons/react": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@heroicons/react/-/react-2.2.0.tgz", + "integrity": "sha512-LMcepvRaS9LYHJGsF0zzmgKCUim/X3N/DQKc4jepAXJ7l8QxJ1PmxJzqplF2Z3FE4PqBAIGyJAQ/w4B5dsqbtQ==", + "license": "MIT", + "peerDependencies": { + "react": ">= 16 || ^19.0.0-rc" + } + }, "node_modules/@img/sharp-darwin-arm64": { "version": "0.33.5", "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz", @@ -4751,6 +4763,22 @@ "react": "^19.0.0" } }, + "node_modules/react-hook-form": { + "version": "7.54.2", + "resolved": "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.54.2.tgz", + "integrity": "sha512-eHpAUgUjWbZocoQYUHposymRb4ZP6d0uwUnooL2uOybA9/3tPUvoAKqEWK1WaSiTxxOfTpffNZP7QwlnM3/gEg==", + "license": "MIT", + "engines": { + "node": ">=18.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/react-hook-form" + }, + "peerDependencies": { + "react": "^16.8.0 || ^17 || ^18 || ^19" + } + }, "node_modules/react-refresh": { "version": "0.14.2", "resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.14.2.tgz", diff --git a/eduseg/package.json b/eduseg/package.json index ea3bd12..9cfb56b 100644 --- a/eduseg/package.json +++ b/eduseg/package.json @@ -11,12 +11,15 @@ "dependencies": { "@astrojs/react": "^4.2.1", "@headlessui/react": "^2.2.0", + "@heroicons/react": "^2.2.0", "@tailwindcss/vite": "^4.0.13", "@types/react": "^19.0.10", "@types/react-dom": "^19.0.4", "astro": "^5.4.3", + "clsx": "^2.1.1", "react": "^19.0.0", "react-dom": "^19.0.0", + "react-hook-form": "^7.54.2", "tailwindcss": "^4.0.13" } } diff --git a/eduseg/src/components/Card.tsx b/eduseg/src/components/Card.tsx new file mode 100644 index 0000000..ea39a00 --- /dev/null +++ b/eduseg/src/components/Card.tsx @@ -0,0 +1,27 @@ +import clsx from "clsx"; + +interface CardProps { + children: React.ReactNode; + color?: "gradient" | "darker" | "yellow"; + className?: string | null; +} + +export function Card({ children, color = "gradient", className }: CardProps) { + const colorVariants = { + gradient: "bg-linear-to-tr from-green-secondary to-yellow-primary", + darker: "bg-green-primary text-white", + yellow: "bg-yellow-tertiary", + }; + + return ( +
- Junte-se a milhares de profissionais capacitados e preparados - para agir com segurança e eficiência. Garanta um ambiente mais - seguro com uma certificação reconhecida. -
-