terms.js 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import React from 'react';
  2. import withRedux from 'next-redux-wrapper';
  3. import styled from 'styled-components';
  4. import initialState from '../store';
  5. import BodyWrapper from '../components/BodyWrapper';
  6. import { authUser } from '../actions';
  7. const Wrapper = styled.div`
  8. width: 600px;
  9. max-width: 97%;
  10. display: flex;
  11. flex-direction: column;
  12. align-items: flex-start;
  13. `;
  14. const TermsPage = () => (
  15. <BodyWrapper>
  16. <Wrapper>
  17. <h3>Kutt Terms of Service</h3>
  18. <p>
  19. By accessing the website at <a href="https://kutt.it">https://kutt.it</a>, you are agreeing
  20. to be bound by these terms of service, all applicable laws and regulations, and agree that
  21. you are responsible for compliance with any applicable local laws. If you do not agree with
  22. any of these terms, you are prohibited from using or accessing this site. The materials
  23. contained in this website are protected by applicable copyright and trademark law.
  24. </p>
  25. <p>
  26. In no event shall Kutt or its suppliers be liable for any damages (including, without
  27. limitation, damages for loss of data or profit, or due to business interruption) arising out
  28. of the use or inability to use the materials on {"Kutt's"} website, even if Kutt or a Kutt
  29. authorized representative has been notified orally or in writing of the possibility of such
  30. damage. Because some jurisdictions do not allow limitations on implied warranties, or
  31. limitations of liability for consequential or incidental damages, these limitations may not
  32. apply to you.
  33. </p>
  34. <p>
  35. The materials appearing on Kutt website could include technical, typographical, or
  36. photographic errors. Kutt does not warrant that any of the materials on its website are
  37. accurate, complete or current. Kutt may make changes to the materials contained on its
  38. website at any time without notice. However Kutt does not make any commitment to update the
  39. materials.
  40. </p>
  41. <p>
  42. Kutt has not reviewed all of the sites linked to its website and is not responsible for the
  43. contents of any such linked site. The inclusion of any link does not imply endorsement by
  44. Kutt of the site. Use of any such linked website is at the {"user's"} own risk.
  45. </p>
  46. <p>
  47. Kutt may revise these terms of service for its website at any time without notice. By using
  48. this website you are agreeing to be bound by the then current version of these terms of
  49. service.
  50. </p>
  51. </Wrapper>
  52. </BodyWrapper>
  53. );
  54. TermsPage.getInitialProps = ({ req, store }) => {
  55. const token = req && req.cookies && req.cookies.token;
  56. if (token && store) store.dispatch(authUser(token));
  57. };
  58. export default withRedux(initialState)(TermsPage);