@luxfi/core 5.2.13 → 5.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,17 @@
1
- import React from 'react'
1
+ import React from 'react';
2
2
 
3
- const FIRST = 2020
3
+ const FIRST = 2020;
4
4
 
5
- const Copyright: React.FC<{
6
- className?: string
7
- }> = ({
8
- className=''
9
- }) => {
10
-
11
- const year = new Date().getFullYear()
12
- const yearString = (year > FIRST) ? `${FIRST} - ${year}` : FIRST.toString()
5
+ const Copyright: React.FC<{ className?: string }> = ({ className = '' }) => {
6
+ const year = new Date().getFullYear();
7
+ const yearString = year > FIRST ? `${FIRST} - ${year}` : FIRST.toString();
13
8
 
14
9
  return (
15
10
  <div className={className}>
16
- {`Copyright © ${yearString}`}&nbsp;<br className='sm:hidden'/>Lux Partners Ltd (Isle of Man) and Lux Industries Inc (Delaware, USA).&nbsp;<br className='md:hidden'/>&nbsp;All rights reserved.
11
+ <p>Copyright © {yearString} all rights reserved</p>
12
+ <p>Lux Industries Inc (Delaware) + Lux Partners Ltd (Isle of Man)</p>
17
13
  </div>
18
- )
19
- }
14
+ );
15
+ };
20
16
 
21
- export default Copyright
17
+ export default Copyright;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxfi/core",
3
- "version": "5.2.13",
3
+ "version": "5.2.14",
4
4
  "description": "Library that contains shared UI primitives, support for a common design system, and other boilerplate support.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",