diff --git a/src/Components/auth/signin/index.jsx b/src/Components/auth/signin/index.jsx index ddc53be6e..9dadbe995 100644 --- a/src/Components/auth/signin/index.jsx +++ b/src/Components/auth/signin/index.jsx @@ -13,6 +13,7 @@ import useRedirectLoggedInUser from '../../../customHooks/useRedirectLoggedInUse import useLoggedInUser from '../../../customHooks/useLoggedInUser'; const SignIn = () => { + document.title = 'SIESGSTarena | Sign In'; const [email, setEmail] = useState(''); const [password, setPassword] = useState(''); const [messageType, setMessageType] = useState(''); diff --git a/src/Components/auth/signup/index.jsx b/src/Components/auth/signup/index.jsx index 1af863c3f..2750dafaa 100644 --- a/src/Components/auth/signup/index.jsx +++ b/src/Components/auth/signup/index.jsx @@ -12,6 +12,7 @@ import PasswordField from '../../common/PasswordField/index'; import useRedirectLoggedInUser from '../../../customHooks/useRedirectLoggedInUser'; const SignUp = () => { + document.title = 'SIESGSTarena | Sign Up'; const [name, setName] = useState(''); const [username, setUsername] = useState(''); const [email, setEmail] = useState(''); diff --git a/src/Components/common/Editor/global/index.jsx b/src/Components/common/Editor/global/index.jsx index 0e7cb9163..d9530c8fc 100644 --- a/src/Components/common/Editor/global/index.jsx +++ b/src/Components/common/Editor/global/index.jsx @@ -17,6 +17,7 @@ import '../Style.css'; import initialState from '../defaults/initialState'; const Index = () => { + document.title = 'SIESGSTarena | Editor'; const isMobile = window.innerWidth <= 768; const [editorConfig, setEditorConfig] = useState( initialState({ code: languageDefaults.Java, fontSize: isMobile ? 15 : 20 }) diff --git a/src/Components/common/TimePicker/index.jsx b/src/Components/common/TimePicker/index.jsx index 2c14d1a24..fa59241b8 100644 --- a/src/Components/common/TimePicker/index.jsx +++ b/src/Components/common/TimePicker/index.jsx @@ -3,6 +3,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import DateFnsUtils from '@date-io/date-fns'; import { MuiPickersUtilsProvider, KeyboardTimePicker } from '@material-ui/pickers'; +import AccessTime from '@material-ui/icons/AccessTime'; const MaterialUITimePicker = (props) => { const { label, id, value, onChangeFunction } = props; @@ -19,6 +20,7 @@ const MaterialUITimePicker = (props) => { KeyboardButtonProps={{ 'aria-label': 'change time', }} + keyboardIcon={} /> ); diff --git a/src/Components/drawer/Api/index.jsx b/src/Components/drawer/Api/index.jsx index 88e5cb0f2..1f773e8ef 100644 --- a/src/Components/drawer/Api/index.jsx +++ b/src/Components/drawer/Api/index.jsx @@ -4,6 +4,7 @@ import 'swagger-ui-react/swagger-ui.css'; import doc from './ApiDocs.json'; const Index = () => { + document.title = 'SIESGSTArena | API'; return ; }; diff --git a/src/Components/drawer/ICPC/Index.jsx b/src/Components/drawer/ICPC/Index.jsx index ba02be89b..fe68fbffc 100644 --- a/src/Components/drawer/ICPC/Index.jsx +++ b/src/Components/drawer/ICPC/Index.jsx @@ -5,6 +5,7 @@ import NavButtons from './common/NavButtons'; import './Style.css'; const Index = () => { + document.title = 'SIESGSTarena | ICPC'; return ( diff --git a/src/Components/drawer/blogs/blogPage/index.jsx b/src/Components/drawer/blogs/blogPage/index.jsx index c7d6946d3..d05d4bfa2 100644 --- a/src/Components/drawer/blogs/blogPage/index.jsx +++ b/src/Components/drawer/blogs/blogPage/index.jsx @@ -9,6 +9,8 @@ import useSentry from '../../../../customHooks/useSentry'; import BlogLoadingScreen from './BlogLoadingScreen'; const BlogPage = () => { + document.title = 'SIESGSTArena | Blogs'; + const { redirectOnSessionExpiredBeforeRender, isSessionExpired } = useSessionExpired(); const { blogId } = useParams(); const { loading, error, data } = useQuery(GET_BLOG_BY_BLOG_ID, { diff --git a/src/Components/drawer/blogs/blogsList/index.jsx b/src/Components/drawer/blogs/blogsList/index.jsx index ab2d5eb5f..d8cbc6039 100644 --- a/src/Components/drawer/blogs/blogsList/index.jsx +++ b/src/Components/drawer/blogs/blogsList/index.jsx @@ -11,6 +11,7 @@ import BlogsArray from '../../../user/myBlogs/BlogsArray'; import { allBlogsLimit } from '../../../../utils/constants'; const AllBlogsPageContainer = ({ isSuperuserRoute = false }) => { + document.title = 'SIESGSTArena | Blogs'; const { redirectOnSessionExpiredBeforeRender, isSessionExpired } = useSessionExpired(); const limit = allBlogsLimit; const activePageNumber = useActivePageState(); diff --git a/src/Components/drawer/contests/dashboard/index.jsx b/src/Components/drawer/contests/dashboard/index.jsx index e4f271681..19a5976fa 100644 --- a/src/Components/drawer/contests/dashboard/index.jsx +++ b/src/Components/drawer/contests/dashboard/index.jsx @@ -2,11 +2,14 @@ import React from 'react'; import SubmissionDetails from './SubmissionDetails'; import DashboardContainer from './DashboardContainer'; -const DashboardPage = () => ( -
- - -
-); +const DashboardPage = () => { + document.title = 'SIESGSTArena | Dashboard'; + return ( +
+ + +
+ ); +}; export default DashboardPage; diff --git a/src/Components/drawer/contests/schedule/index.jsx b/src/Components/drawer/contests/schedule/index.jsx index ef5db4914..66e28438a 100644 --- a/src/Components/drawer/contests/schedule/index.jsx +++ b/src/Components/drawer/contests/schedule/index.jsx @@ -9,6 +9,7 @@ import LoadingTable from '../../../common/LoadingTable/index'; import ContestsTable from './ContestsTable'; const ContestScheduleContainer = () => { + document.title = 'SIESGSTArena | Contest'; const { redirectOnSessionExpiredBeforeRender, isSessionExpired } = useSessionExpired(); const { loading, error, data } = useQuery(GET_CONTEST_HOMEPAGE_DETAILS); diff --git a/src/Components/drawer/goodies/index.jsx b/src/Components/drawer/goodies/index.jsx index 322bf80b2..f3a12f138 100644 --- a/src/Components/drawer/goodies/index.jsx +++ b/src/Components/drawer/goodies/index.jsx @@ -7,37 +7,40 @@ import tshirt from './assets/tshirt.jpg'; import GoodiesCard from './GoodiesCard'; import 'tachyons'; -const Goodies = () => ( - - {/* The following row represents the heading of the route */} - - - Goodies - - - -
- - gift - - - Special goodies for winners and top performers +const Goodies = () => { + document.title = 'SIESGSTArena | Goodies'; + return ( + + {/* The following row represents the heading of the route */} + + + Goodies + -
- {/* The following row shows all the goodies */} - - - - - - - - - - - -
-); +
+ + gift + + + Special goodies for winners and top performers + +
+ + {/* The following row shows all the goodies */} + + + + + + + + + + + + + ); +}; export default Goodies; diff --git a/src/Components/drawer/lab/Index.jsx b/src/Components/drawer/lab/Index.jsx index 50f8033c5..4ffd1fc8a 100644 --- a/src/Components/drawer/lab/Index.jsx +++ b/src/Components/drawer/lab/Index.jsx @@ -8,6 +8,7 @@ import './Style.css'; import DownloadLink from 'react-download-link'; const Index = () => { + document.title = 'SIESGSTArena | Lab'; const getDataFromURL = (url) => new Promise((resolve) => { setTimeout(() => { diff --git a/src/Components/drawer/learn/index.jsx b/src/Components/drawer/learn/index.jsx index 4248906f0..da7ff71d1 100644 --- a/src/Components/drawer/learn/index.jsx +++ b/src/Components/drawer/learn/index.jsx @@ -7,6 +7,7 @@ import './styles.scss'; import LearnCard from './LearnCard'; const LearnContainer = () => { + document.title = 'SIESGSTarena | Learn'; const [activeIndex, setActiveIndex] = useState(0); const handleActiveIndexUpdate = (updatedActiveIndex) => { setActiveIndex(updatedActiveIndex); diff --git a/src/Components/drawer/playlists/homePage/index.jsx b/src/Components/drawer/playlists/homePage/index.jsx index 63e6ec7ea..b495a94e3 100644 --- a/src/Components/drawer/playlists/homePage/index.jsx +++ b/src/Components/drawer/playlists/homePage/index.jsx @@ -6,6 +6,7 @@ import welcomeImage from '../welcomePage/assets/mbri-add-submenu.svg'; import './index.scss'; const WelcomePage = () => { + document.title = 'SIESGSTarena | Playlists'; const topicsArray = topics.map((topic) => ( ( -
- Ratings - -
-); +const RatingsPage = () => { + document.title = 'SIESGSTArena | Ratings'; + return ( +
+ Ratings + +
+ ); +}; export default RatingsPage; diff --git a/src/Components/footerPages/about/index.jsx b/src/Components/footerPages/about/index.jsx index e88a1f19e..3b34e31e4 100644 --- a/src/Components/footerPages/about/index.jsx +++ b/src/Components/footerPages/about/index.jsx @@ -1,10 +1,13 @@ import React from 'react'; import AboutTabBar from './AboutTabBar'; -const About = () => ( -
- -
-); +const About = () => { + document.title = 'SIESGSTArena | About'; + return ( +
+ +
+ ); +}; export default About; diff --git a/src/Components/footerPages/branding/index.jsx b/src/Components/footerPages/branding/index.jsx index 917206482..f611cc61e 100644 --- a/src/Components/footerPages/branding/index.jsx +++ b/src/Components/footerPages/branding/index.jsx @@ -1,93 +1,96 @@ import React from 'react'; import { Headline4, Body1, Body2 } from '@material/react-typography'; -const BrandingGuidelines = () => ( -
- - SIESGSTarena Brand Guidelines - Last Updated: 20 December 2018 - +const BrandingGuidelines = () => { + document.title = 'SIESGSTArena | Branding Guidelines'; + return ( +
+ + SIESGSTarena Brand Guidelines + Last Updated: 20 December 2018 + - - Guidance on how and when to leverage the SIESGSTarena brand -
- - Welcome to SIESGSTarena's brand guidelines. Please read the below before using any - SIESGSTarena's brand features. We have these guidelines to make sure our brand is used - in the right way and to prevent confusion. - -
+ + Guidance on how and when to leverage the SIESGSTarena brand +
+ + Welcome to SIESGSTarena's brand guidelines. Please read the below before using any + SIESGSTarena's brand features. We have these guidelines to make sure our brand is + used in the right way and to prevent confusion. + +
- - Guidelines for use of SIESGSTarena brand features -
- - If we provide specific written requirements (size, typeface, colors, etc.) to you, please - implement them when using our brand features. Otherwise, use the logos below per the - following guidelines. We also ask that you follow the rules below when you use any of our - brand features. -
- ArenaLogo -
- - Logo Designed By - - Vinay Ambre - - - Always use the above resources to represent the logo as opposed to an image of the logo - sourced elsewhere, and keep a minimum clearance of space between the logo and other visual - elements akin to the images above. -
-
- - In addition, please don't do any of the following without checking with us first (please - email{' '} - - codechef@siesgst.ac.in - - ): -
- -
    -
  • - Don't try to copy or replicate SIESGSTarena's logo in your own way by changing - colors, distortion or any other methods. -
  • -
  • - Don't display a SIESGSTarena's brand feature in any manner that implies a - relationship or affiliation with, sponsorship, or endorsement by SIESGSTarena. -
  • -
  • - Don't display a SIESGSTarena's brand feature in a manner that is misleading, - unfair, defamatory, infringing, libelous, disparaging, obscene or otherwise - objectionable to SIESGSTarena. -
  • -
  • - Don't display a SIESGSTarena's brand feature on a site that violates any law - or regulation. -
  • -
  • - Don't use the SIESGSTarena's logo in a way that suggests a common, - descriptive, or generic meaning. -
  • -
  • - Please note that: The team's name is SIESGSTarena, usages such as SIESGSTArena, - arena or SIESGST Arena are incorrect and must be avoided. -
  • -
-
-
-
-); + + Guidelines for use of SIESGSTarena brand features +
+ + If we provide specific written requirements (size, typeface, colors, etc.) to you, please + implement them when using our brand features. Otherwise, use the logos below per the + following guidelines. We also ask that you follow the rules below when you use any of our + brand features. +
+ ArenaLogo +
+ + Logo Designed By + + Vinay Ambre + + + Always use the above resources to represent the logo as opposed to an image of the logo + sourced elsewhere, and keep a minimum clearance of space between the logo and other visual + elements akin to the images above. +
+
+ + In addition, please don't do any of the following without checking with us first + (please email{' '} + + codechef@siesgst.ac.in + + ): +
+ +
    +
  • + Don't try to copy or replicate SIESGSTarena's logo in your own way by + changing colors, distortion or any other methods. +
  • +
  • + Don't display a SIESGSTarena's brand feature in any manner that implies a + relationship or affiliation with, sponsorship, or endorsement by SIESGSTarena. +
  • +
  • + Don't display a SIESGSTarena's brand feature in a manner that is misleading, + unfair, defamatory, infringing, libelous, disparaging, obscene or otherwise + objectionable to SIESGSTarena. +
  • +
  • + Don't display a SIESGSTarena's brand feature on a site that violates any law + or regulation. +
  • +
  • + Don't use the SIESGSTarena's logo in a way that suggests a common, + descriptive, or generic meaning. +
  • +
  • + Please note that: The team's name is SIESGSTarena, usages such as SIESGSTArena, + arena or SIESGST Arena are incorrect and must be avoided. +
  • +
+
+
+
+ ); +}; export default BrandingGuidelines; diff --git a/src/Components/footerPages/competitions/index.jsx b/src/Components/footerPages/competitions/index.jsx index 5b3439591..07d4a6957 100644 --- a/src/Components/footerPages/competitions/index.jsx +++ b/src/Components/footerPages/competitions/index.jsx @@ -6,6 +6,7 @@ import coders1 from './assets/coders1.jpg'; import ContestCard from './ContestCard'; const Competitions = () => { + document.title = 'SIESGSTarena | Competitions'; const contests = [ { name: 'BUG4EVER', diff --git a/src/Components/footerPages/contact/index.jsx b/src/Components/footerPages/contact/index.jsx index 69bacc6b7..acdf316ca 100644 --- a/src/Components/footerPages/contact/index.jsx +++ b/src/Components/footerPages/contact/index.jsx @@ -10,39 +10,42 @@ import 'tachyons'; // Contact card contains all our social media links. // CodeChefCard contains our email address and the issues for which users can // reach out to us. -const Contact = () => ( - - - - - Contact - - You can follow us on our social media accounts to stay updated about the stuff which is - going on, on our platform. Also feel free to mail us any issues you have regarding our - platform, we will try our best to resolve them. - +const Contact = () => { + document.title = 'SIESGSTarena | Contact'; + return ( + + + + + Contact + + You can follow us on our social media accounts to stay updated about the stuff which + is going on, on our platform. Also feel free to mail us any issues you have regarding + our platform, we will try our best to resolve them. + + - - - - + + + + + + + Check out our OpenSource Projects +
+ + icon + +
+
+
+ + +
- - - Check out our OpenSource Projects -
- - icon - -
-
-
- - - -
-
-
-); + + + ); +}; export default Contact; diff --git a/src/Components/footerPages/faq/index.jsx b/src/Components/footerPages/faq/index.jsx index a264228dd..9c0426e17 100644 --- a/src/Components/footerPages/faq/index.jsx +++ b/src/Components/footerPages/faq/index.jsx @@ -3,11 +3,14 @@ import { Headline4 } from '@material/react-typography'; import ExpansionPanels from './ExpansionPanels'; import 'tachyons'; -const FAQ = () => ( -
- Frquently Asked Questions - -
-); +const FAQ = () => { + document.title = 'SIESGSTarena | FAQ'; + return ( +
+ Frquently Asked Questions + +
+ ); +}; export default FAQ; diff --git a/src/Components/footerPages/feedback/index.jsx b/src/Components/footerPages/feedback/index.jsx index 73670b93f..05a82b85e 100644 --- a/src/Components/footerPages/feedback/index.jsx +++ b/src/Components/footerPages/feedback/index.jsx @@ -10,6 +10,7 @@ import 'tachyons'; import AuthContext from '../../../Contexts/AuthContext'; const Feedback = () => { + document.title = 'SIESGSTarena | Feedback'; const { authState } = useContext(AuthContext); const [name, setName] = useState( authState.user && authState.user.name ? authState.user.name : '' diff --git a/src/Components/footerPages/ourTeam/index.jsx b/src/Components/footerPages/ourTeam/index.jsx index 869edaaa3..f94e1f692 100644 --- a/src/Components/footerPages/ourTeam/index.jsx +++ b/src/Components/footerPages/ourTeam/index.jsx @@ -6,6 +6,7 @@ import DeveloperCard from './MemberCard'; import 'tachyons'; const OurTeam = () => { + document.title = 'SIESGSTarena | Our Team'; const alumniCardsArray = alumni.map((developer) => ( ( -
- - Privacy Policy - Last Updated: 20 December 2018 - - - We recognize that your privacy is very important and take it seriously. Our SIESGSTarena - Privacy Policy (“Privacy Policy”) describes our policies and procedures on the collection, - use, disclosure, and sharing of your information when you use the SIESGSTarena Platform. We - will not use or share your information with anyone except as described in this Privacy Policy. - This Privacy Policy applies to activities by SIESGSTarena and its affiliates and subsidiaries - (collectively “SIESGSTarena,” “we” or “us”). - - - Information We Collect -
- - We collect information directly from individuals, from third-parties and automatically - through the SIESGSTarena Platform. - -
- - Account and Profile Information -
- - When you create an account and profile on the SIESGSTarena Platform, we collect your name, - contact information, and other information you provide, such as topics that you know about - or find interesting. Your name, photo, and any other information that you choose to add to - your public-facing profile will be available for viewing to users of the SIESGSTarena - Platform. Once you activate a profile, other users will be able to see in your profile - certain information about your activity on the SIESGSTarena Platform, such as your - submissions to problems, your followers and who you follow, topics of interest to you, the - information you list in profile, and your edits to your blog post. - -
- - Your Content -
- - We collect and store the information and content that you post to the SIESGSTarena Platform, - including your questions, answers, photos, comments. Unless you have posted certain content - anonymously, Your Content, date and time stamps, and all associated comments are publicly - viewable on the SIESGSTarena Platform, along with your name. This also may be indexed by - search engines and be republished elsewhere on the internet. As of December 2018, we will be - publishing all the data generated on this platform, on a website called  - - Kaggle - - . Data generated will be released as Datasets on Kaggle, for research purposes. This action - is taken to motivate and strengthen research activities. - -
- - Automatically Collected Information About Your Activity -
- - We use cookies, log files, pixel tags, local storage objects, and other tracking - technologies to automatically collect information about your activities, such as your - searches, page views, date and time of your visit, and other information about your use of - the SIESGSTarena Platform. We also collect and may store information that your computer or - mobile device provides to us in connection with your use of the SIESGSTarena Platform such - as your browser type, type of computer or mobile device, browser language, IP address, - mobile carrier, unique device identifier, location, and requested and referring URLs. We - also receive information when you view content on or otherwise interact with the - SIESGSTarena Platform, even if you have not created an account. - -
- - How We Protect Your Information -
- - The security of your information is important to us. SIESGSTarena has implemented safeguards - to protect the information we collect. However, no website or Internet transmission is - completely secure. We urge you to take steps to keep your personal data safe, such as - choosing strong password and keeping it private, as well as logging out of your user - account, and closing your web browser when finished using the SIESGSTarena Platform. - -
- - Access and Amend Your Information -
- - You may update or correct your account information at any time by logging in to your - account. You may also make a number of other adjustments to settings or the display of - information about you as described in more detail in the following section about Your - Choices. - -
- - Links to Other Web Sites -
- - The SIESGSTarena Platform may contain links to third party sites or online services. We are - not responsible for the practices of such third parties, whose information practices are - subject to their own policies and procedures, not to this Privacy Policy. - -
- - Contact Us -
- - If you have any questions about our practices or this Privacy Policy, please contact us - at  - - codechef@siesgst.ac.in - - . - -
- - Changes to Our Privacy Policy -
- - If we change our privacy policies and procedures, we will post those changes on this page. - -
-
-); +const Privacy = () => { + document.title = 'SIESGSTarena | Privacy Policy'; + return ( +
+ + Privacy Policy + Last Updated: 20 December 2018 + + + We recognize that your privacy is very important and take it seriously. Our SIESGSTarena + Privacy Policy (“Privacy Policy”) describes our policies and procedures on the collection, + use, disclosure, and sharing of your information when you use the SIESGSTarena Platform. We + will not use or share your information with anyone except as described in this Privacy + Policy. This Privacy Policy applies to activities by SIESGSTarena and its affiliates and + subsidiaries (collectively “SIESGSTarena,” “we” or “us”). + + + Information We Collect +
+ + We collect information directly from individuals, from third-parties and automatically + through the SIESGSTarena Platform. + +
+ + Account and Profile Information +
+ + When you create an account and profile on the SIESGSTarena Platform, we collect your name, + contact information, and other information you provide, such as topics that you know about + or find interesting. Your name, photo, and any other information that you choose to add to + your public-facing profile will be available for viewing to users of the SIESGSTarena + Platform. Once you activate a profile, other users will be able to see in your profile + certain information about your activity on the SIESGSTarena Platform, such as your + submissions to problems, your followers and who you follow, topics of interest to you, the + information you list in profile, and your edits to your blog post. + +
+ + Your Content +
+ + We collect and store the information and content that you post to the SIESGSTarena + Platform, including your questions, answers, photos, comments. Unless you have posted + certain content anonymously, Your Content, date and time stamps, and all associated + comments are publicly viewable on the SIESGSTarena Platform, along with your name. This + also may be indexed by search engines and be republished elsewhere on the internet. As of + December 2018, we will be publishing all the data generated on this platform, on a website + called  + + Kaggle + + . Data generated will be released as Datasets on Kaggle, for research purposes. This + action is taken to motivate and strengthen research activities. + +
+ + Automatically Collected Information About Your Activity +
+ + We use cookies, log files, pixel tags, local storage objects, and other tracking + technologies to automatically collect information about your activities, such as your + searches, page views, date and time of your visit, and other information about your use of + the SIESGSTarena Platform. We also collect and may store information that your computer or + mobile device provides to us in connection with your use of the SIESGSTarena Platform such + as your browser type, type of computer or mobile device, browser language, IP address, + mobile carrier, unique device identifier, location, and requested and referring URLs. We + also receive information when you view content on or otherwise interact with the + SIESGSTarena Platform, even if you have not created an account. + +
+ + How We Protect Your Information +
+ + The security of your information is important to us. SIESGSTarena has implemented + safeguards to protect the information we collect. However, no website or Internet + transmission is completely secure. We urge you to take steps to keep your personal data + safe, such as choosing strong password and keeping it private, as well as logging out of + your user account, and closing your web browser when finished using the SIESGSTarena + Platform. + +
+ + Access and Amend Your Information +
+ + You may update or correct your account information at any time by logging in to your + account. You may also make a number of other adjustments to settings or the display of + information about you as described in more detail in the following section about Your + Choices. + +
+ + Links to Other Web Sites +
+ + The SIESGSTarena Platform may contain links to third party sites or online services. We + are not responsible for the practices of such third parties, whose information practices + are subject to their own policies and procedures, not to this Privacy Policy. + +
+ + Contact Us +
+ + If you have any questions about our practices or this Privacy Policy, please contact us + at  + + codechef@siesgst.ac.in + + . + +
+ + Changes to Our Privacy Policy +
+ + If we change our privacy policies and procedures, we will post those changes on this page. + +
+
+ ); +}; export default Privacy; diff --git a/src/Components/homePage/index.jsx b/src/Components/homePage/index.jsx index f17d78f14..35ff95c8e 100644 --- a/src/Components/homePage/index.jsx +++ b/src/Components/homePage/index.jsx @@ -9,6 +9,7 @@ import Spinner from '../common/Spinner'; import useHomePage from '../../customHooks/useHomePage'; const HomePageContainer = () => { + document.title = 'SIESGSTarena | Home'; const { loading, CardCarouselDate,