diff --git a/nepalingo-web/src/components/Button.tsx b/nepalingo-web/src/components/Button.tsx index c8c93ec..8029ff9 100644 --- a/nepalingo-web/src/components/Button.tsx +++ b/nepalingo-web/src/components/Button.tsx @@ -5,7 +5,7 @@ interface ButtonProps extends React.ButtonHTMLAttributes {} const Button = forwardRef((props, ref) => { const { className, children, ...rest } = props; - const buttonClasses = `bg-blue-500 hover:md:bg-opacity-80 text-white font-bold py-2 px-4 rounded ${className}`; + const buttonClasses = `bg-[#D03641] hover:bg-opacity-80 text-white font-primary font-bold py-2 px-4 rounded-lg ${className}`; return ( {error &&

{error.message}

} @@ -91,4 +88,4 @@ const DictionarySearchBar: React.FC = ({ ); }; -export default DictionarySearchBar; +export default DictionarySearchBar; \ No newline at end of file diff --git a/nepalingo-web/src/components/InputText.tsx b/nepalingo-web/src/components/InputText.tsx new file mode 100644 index 0000000..31e64b3 --- /dev/null +++ b/nepalingo-web/src/components/InputText.tsx @@ -0,0 +1,28 @@ +import React from "react"; + +interface InputTextProps { + value: string; + onChange: (e: React.ChangeEvent) => void; + onKeyDown?: (e: React.KeyboardEvent) => void; + placeholder?: string; +} + +const InputText: React.FC = ({ + value, + onChange, + onKeyDown, + placeholder, +}) => { + return ( + + ); +}; + +export default InputText; diff --git a/nepalingo-web/src/components/header/Header.tsx b/nepalingo-web/src/components/header/Header.tsx index 0824afc..bee0c95 100644 --- a/nepalingo-web/src/components/header/Header.tsx +++ b/nepalingo-web/src/components/header/Header.tsx @@ -1,5 +1,5 @@ import React from "react"; -import logo from "@/assets/NepaLingoLogoWhiteBg.jpg"; +import logo from "@/assets/NewLogo.png"; import UserProfile from "@/components/header/UserProfile"; import ChangeLanguage from "@/components/header/ChangeLanguage";