diff --git a/com-dict-client/src/components/AddWord/index.js b/com-dict-client/src/components/AddWord/index.js index 77dde09..5231d0c 100644 --- a/com-dict-client/src/components/AddWord/index.js +++ b/com-dict-client/src/components/AddWord/index.js @@ -19,8 +19,11 @@ import { addWord, addHeadTerm } from "../../store/actions"; import { useSelector } from "react-redux"; import { languages } from "../../constants"; +import { categories } from "../../constants"; import { toTitleCase } from "../../utils.js/toTitleCase"; + + const { Text } = Typography; // var optionText; @@ -59,7 +62,7 @@ function WordForm() { user_id: user.uid, uname: user.displayName, createdAt: new Date().getTime(), - alphabatical: headTerm[0].toUpperCase(), + // alphabatical: headTerm[0].toUpperCase(), word_of_the_day: null, pronunciation: null, trending_factor: 0, @@ -68,7 +71,7 @@ function WordForm() { return addWord(data)(firestore); }; - const categories = useSelector((state) => state.firestore.ordered.categories); + // const categories = useSelector((state) => state.firestore.ordered.categories); const headTerms = useSelector((state) => state.firestore.ordered.headTerms); @@ -219,16 +222,19 @@ function WordForm() { /> - + diff --git a/com-dict-client/src/components/ContactUS/index.js b/com-dict-client/src/components/ContactUS/index.js new file mode 100644 index 0000000..bcf4846 --- /dev/null +++ b/com-dict-client/src/components/ContactUS/index.js @@ -0,0 +1,245 @@ +import React from 'react' +import { Row, Col, Card, Typography } from "antd"; +import contact from "../../images/pablo-contact.png"; +import sports from "../../images/pablo-sports.png"; +const { Text } = Typography; +const { Title } = Typography; + +function Contact_Us(props) { + console.log(props.data); + return ( +
+
+ + {/*

Contact Us

*/} + + +
+ + Contact Us + +
+ +
+ + + {/* + 1 + */} + + + {/* + {cats["Sports"] && + cats["Sports"].map((val, i) => ( + + + + + ))} + */} + + + + + + + + + + + +

+

+ {/*
*/} + + +
+
+
+
+

Thank you for your interest in SCoReLab Community Dictionary.

+

+ Don't forget to check our FAQ Pages before asking a question.They have answers + to many commonly asked questions. +

+

If you can't find the answer to your question on our FAQ Pages, feel free to use the + form below to send us your comment or question. Please remember to select the + appropriate topic so we can assist you more efficiently!

+
+
+ {/*Intro text*/} +
Contact Form
+ {/*Actual form*/} +
+ +
+ +
+ +
+
    +
+
+ +
+ +
+
    +
+
+ +
+ +
+
    +
+
+ +
+