12 SCSS files (1167 lines) replaced by centralized index.css with Tailwind v4 @theme tokens, @layer components, and utility classes. Game panel design system (gp-*) preserved as CSS components. Inline styles in Settings/Login/MilestoneBar converted to Tailwind utilities. sass removed from dependencies. Build clean, 53 tests pass.
16 lines
357 B
JavaScript
Executable File
16 lines
357 B
JavaScript
Executable File
import PropTypes from "prop-types";
|
|
import { Link } from "react-router-dom";
|
|
|
|
export default function PrimaryButton({ btnText, btnLink }) {
|
|
PrimaryButton.propTypes = {
|
|
btnText: PropTypes.string.isRequired,
|
|
btnLink: PropTypes.string.isRequired,
|
|
};
|
|
|
|
return (
|
|
<Link className="primary-button" to={btnLink}>
|
|
{btnText}
|
|
</Link>
|
|
);
|
|
}
|