diff --git a/assets/new.svg b/assets/new.svg
index 7339d0b5..a61a79be 100644
--- a/assets/new.svg
+++ b/assets/new.svg
@@ -1,3 +1,3 @@
diff --git a/assets/star.svg b/assets/star.svg
new file mode 100644
index 00000000..699249c5
--- /dev/null
+++ b/assets/star.svg
@@ -0,0 +1,3 @@
+
diff --git a/src/components/UncapIndicator/UncapIndicator.css b/src/components/UncapIndicator/UncapIndicator.css
new file mode 100644
index 00000000..ceafd8d2
--- /dev/null
+++ b/src/components/UncapIndicator/UncapIndicator.css
@@ -0,0 +1,10 @@
+.UncapIndicator {
+ display: flex;
+ flex-direction: row;
+ align-content: center;
+ justify-content: center;
+ gap: 2px;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
\ No newline at end of file
diff --git a/src/components/UncapIndicator/UncapIndicator.tsx b/src/components/UncapIndicator/UncapIndicator.tsx
new file mode 100644
index 00000000..b5a9f5ce
--- /dev/null
+++ b/src/components/UncapIndicator/UncapIndicator.tsx
@@ -0,0 +1,39 @@
+import React from 'react'
+import classnames from 'classnames'
+import UncapStar from '~components/UncapStar/UncapStar'
+
+import './UncapIndicator.css'
+
+
+interface Props {
+ uncapLevel: number
+ flb: boolean
+ ulb: boolean
+}
+
+const UncapIndicator = (props: Props) => {
+ let numStars
+ if (props.ulb) {
+ numStars = 5
+ } else if (props.flb) {
+ numStars = 4
+ } else {
+ numStars = 3
+ }
+
+ return (
+
+ {
+ Array.from(Array(numStars)).map((x, i) => {
+ if (i > 2) {
+ return
+ } else {
+ return
+ }
+ })
+ }
+
+ )
+}
+
+export default UncapIndicator
\ No newline at end of file
diff --git a/src/components/UncapStar/UncapStar.css b/src/components/UncapStar/UncapStar.css
new file mode 100644
index 00000000..7014dbef
--- /dev/null
+++ b/src/components/UncapStar/UncapStar.css
@@ -0,0 +1,7 @@
+.UncapStar {
+ color: #FFA15E;
+}
+
+.UncapStar.uncap {
+ color: #65DAFF;
+}
\ No newline at end of file
diff --git a/src/components/UncapStar/UncapStar.tsx b/src/components/UncapStar/UncapStar.tsx
new file mode 100644
index 00000000..de255ab6
--- /dev/null
+++ b/src/components/UncapStar/UncapStar.tsx
@@ -0,0 +1,23 @@
+import React from 'react'
+import classnames from 'classnames'
+
+import './UncapStar.css'
+
+import Star from '../../../assets/star'
+
+interface Props {
+ uncap: boolean
+}
+
+const UncapStar = (props: Props) => {
+ const classes = classnames({
+ UncapStar: true,
+ 'uncap': props.uncap
+ })
+
+ return (
+
+ )
+}
+
+export default UncapStar
\ No newline at end of file
diff --git a/src/components/WeaponGrid/WeaponGrid.css b/src/components/WeaponGrid/WeaponGrid.css
index d4722a79..ad176b84 100644
--- a/src/components/WeaponGrid/WeaponGrid.css
+++ b/src/components/WeaponGrid/WeaponGrid.css
@@ -14,7 +14,7 @@
}
#grid_weapons > * {
- margin-bottom: 72px;
+ margin-bottom: 24px;
margin-right: 24px;
}
diff --git a/src/components/WeaponGridMainhand/WeaponGridMainhand.css b/src/components/WeaponGridMainhand/WeaponGridMainhand.css
index a14187b8..5e1696bb 100644
--- a/src/components/WeaponGridMainhand/WeaponGridMainhand.css
+++ b/src/components/WeaponGridMainhand/WeaponGridMainhand.css
@@ -1,31 +1,47 @@
.WeaponGridMainhand {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+ font-size: 14px;
+ margin-right: 24px;
+ max-width: 200px;
+}
+
+.WeaponGridMainhand .WeaponGridImage {
+ display: flex;
align-items: center;
+ justify-content: center;
+
background: white;
border: 1px solid rgba(0, 0, 0, 0);
border-radius: 8px;
- display: flex;
height: 420px;
- justify-content: center;
- margin-right: 24px;
overflow: hidden;
transition: all 0.18s ease-in-out;
width: 200px;
}
-.WeaponGridMainhand.editable:hover {
+.editable .WeaponGridMainhand:hover {
border: 1px solid rgba(0, 0, 0, 0.1);
box-shadow: rgba(0, 0, 0, 0.14) 0px 0px 14px;
cursor: pointer;
transform: scale(1.05, 1.05);
}
+.WeaponGridMainhand h3 {
+ color: #333;
+ font-weight: 500;
+ margin: 0;
+ text-align: center;
+}
+
.WeaponGridMainhand img {
position: relative;
width: 100%;
z-index: 2;
}
-.WeaponGridMainhand .icon {
+.WeaponGridImage .icon {
position: absolute;
color: #c9c9c9;
height: 20px;
@@ -33,6 +49,6 @@
z-index: 1;
}
-.WeaponGridMainhand:hover .icon {
+.WeaponGridImage:hover .icon {
color: #555;
}
\ No newline at end of file
diff --git a/src/components/WeaponGridMainhand/WeaponGridMainhand.tsx b/src/components/WeaponGridMainhand/WeaponGridMainhand.tsx
index 15328ce9..2865cf37 100644
--- a/src/components/WeaponGridMainhand/WeaponGridMainhand.tsx
+++ b/src/components/WeaponGridMainhand/WeaponGridMainhand.tsx
@@ -1,8 +1,10 @@
import React, { useEffect } from 'react'
import classnames from 'classnames'
-import SearchModal from '~components/SearchModal/SearchModal'
import { useModal as useModal } from '~utils/useModal'
+import SearchModal from '~components/SearchModal/SearchModal'
+import UncapIndicator from '~components/UncapIndicator/UncapIndicator'
+
import mainhandImages from '../../images/mainhand/*.jpg'
import Plus from '../../../assets/plus.svg'
@@ -33,11 +35,21 @@ function WeaponGridMainhand(props: WeaponGridProps) {
'editable': props.editable
})
+ const weapon = props.weapon
+
return (
-

- { (props.editable) ?
: '' }
+
+

+ { (props.editable) ?
: '' }
+
+
+
{weapon?.name.en}
{open ? (
-

- { (props.editable) ?
: '' }
+
+

+ { (props.editable) ?
: '' }
+
+
+
{weapon?.name.en}
{open ? (