Skip to content

Commit 2eaafa9

Browse files
committed
New review app Init
1 parent 1e47bf8 commit 2eaafa9

File tree

166 files changed

+7601
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+7601
-19
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ The following summarizes the various [apps](#adding-a-new-platform-ui-applicatio
556556
- [Gamification Admin](#gamification-admin)
557557
- [Learn](#learn)
558558
- [Self Service](#self-service)
559+
- [Review](#review)
559560
560561
## Platform App
561562
@@ -599,3 +600,10 @@ Application that allows customers to submit/start challenges self-service.
599600
600601
[Work README TBD](./src/apps/self-service/README.md)
601602
[Work Routes](./src/apps/self-service/src/self-service.routes.tsx)
603+
604+
## Review
605+
606+
The application that allows managing the review submissions.
607+
608+
[Review README TBD](./src/apps/review/README.md)
609+
[Review Routes](./src/apps/review/src/review-app.routes.tsx)

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@storybook/react": "7.6.10",
2929
"@stripe/react-stripe-js": "1.13.0",
3030
"@stripe/stripe-js": "1.41.0",
31+
"@types/codemirror": "^5.60.15",
3132
"apexcharts": "^3.36.0",
3233
"axios": "^1.7.9",
3334
"browser-cookies": "^1.2.0",
@@ -43,6 +44,7 @@
4344
"draft-js-export-html": "^1.2.0",
4445
"draft-js-markdown-shortcuts-plugin": "^0.3.0",
4546
"draft-js-plugins-editor": "^2.0.3",
47+
"easymde": "^2.20.0",
4648
"express": "^4.21.2",
4749
"express-fileupload": "^1.4.0",
4850
"express-interceptor": "^1.2.0",
@@ -92,9 +94,12 @@
9294
"redux-promise": "^0.6.0",
9395
"redux-promise-middleware": "^6.1.3",
9496
"redux-thunk": "^2.4.1",
97+
"rehype-raw": "^7.0.0",
98+
"rehype-stringify": "^10.0.1",
9599
"remark-breaks": "^3.0.2",
96100
"remark-frontmatter": "^4.0.1",
97101
"remark-gfm": "^3.0.1",
102+
"remark-parse": "^11.0.0",
98103
"remove": "^0.1.5",
99104
"sanitize-html": "^2.12.1",
100105
"sass": "^1.79.0",

src/apps/admin/src/lib/components/common/TableMobile/TableMobile.module.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,10 @@
5959
text-transform: uppercase;
6060
white-space: nowrap !important;
6161
}
62+
63+
.blockCellLastValue {
64+
:global(.TableCell_blockCell) {
65+
justify-content: flex-end;
66+
text-align: right;
67+
}
68+
}

src/apps/admin/src/lib/components/common/TableMobile/TableMobile.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export const TableMobile: <T extends { [propertyName: string]: any }>(
8181
[styles.blockCellLabel]:
8282
itemItemColumns.mobileType
8383
=== 'label',
84+
[styles.blockCellLastValue]:
85+
itemItemColumns.mobileType
86+
=== 'last-value',
8487
},
8588
styles.blockCell,
8689
)}

src/apps/admin/src/lib/models/MobileTableColumn.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
import { TableColumn } from '~/libs/ui'
55

66
export interface MobileTableColumn<T> extends TableColumn<T> {
7-
readonly mobileType?: 'label'
7+
readonly mobileType?: 'label' | 'last-value'
88
}

src/apps/platform/src/platform.routes.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { walletRoutes } from '~/apps/wallet'
1212
import { walletAdminRoutes } from '~/apps/wallet-admin'
1313
import { copilotsRoutes } from '~/apps/copilots'
1414
import { adminRoutes } from '~/apps/admin'
15+
import { reviewRoutes } from '~/apps/review'
1516

1617
const Home: LazyLoadedComponent = lazyLoad(
1718
() => import('./routes/home'),
@@ -41,6 +42,7 @@ export const platformRoutes: Array<PlatformRoute> = [
4142
...walletAdminRoutes,
4243
...accountsRoutes,
4344
...skillsManagerRoutes,
45+
...reviewRoutes,
4446
...homeRoutes,
4547
...adminRoutes,
4648
]

src/apps/review/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Instructions For Running The Review Locally
2+
3+
### Build and run:
4+
5+
- Run this script to start the app, you may have to type the admin password for the `sudo` command:
6+
7+
```bash
8+
nvm use
9+
export NVM_DIR=~/.nvm
10+
yarn install
11+
sudo yarn start
12+
```
13+
14+
- If you have any problem when running the above script, please check `README.md` in the root of the project for more info.
15+
- After running successfully, please open `https://local.topcoder-dev.com/review` in the browser to start the admin app
16+
17+
### Configuration:
18+
19+
- Configuration files are under src/apps/review/src/config
20+
21+
### Mock data:
22+
23+
- Mock data files are under src/apps/review/src/mock-datas

src/apps/review/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './src'

src/apps/review/src/ReviewApp.tsx

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/**
2+
* The review app.
3+
*/
4+
import { FC, useContext, useEffect, useMemo } from 'react'
5+
import { Outlet, Routes } from 'react-router-dom'
6+
7+
import { routerContext, RouterContextData } from '~/libs/core'
8+
9+
import { Layout, SWRConfigProvider } from './lib'
10+
import { toolTitle } from './review-app.routes'
11+
import './lib/styles/index.scss'
12+
13+
const ReviewApp: FC = () => {
14+
const { getChildRoutes }: RouterContextData = useContext(routerContext)
15+
// eslint-disable-next-line react-hooks/exhaustive-deps -- missing dependency: getChildRoutes
16+
const childRoutes = useMemo(() => getChildRoutes(toolTitle), [])
17+
18+
useEffect(() => {
19+
document.body.classList.add('review-app')
20+
return () => {
21+
document.body.classList.remove('review-app')
22+
}
23+
}, [])
24+
25+
return (
26+
<SWRConfigProvider>
27+
<Layout>
28+
<Outlet />
29+
<Routes>{childRoutes}</Routes>
30+
</Layout>
31+
</SWRConfigProvider>
32+
)
33+
}
34+
35+
export default ReviewApp
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
/**
2+
* Common config for ui.
3+
*/
4+
5+
import { InputSelectOption } from '~/libs/ui'
6+
7+
export const CHALLENGE_TYPE_SELECT_OPTIONS: InputSelectOption[] = [
8+
{
9+
label: 'All',
10+
value: '',
11+
},
12+
...[
13+
'Design',
14+
'Code',
15+
'Bug Hunt',
16+
'Test Suite',
17+
'Copilot Opportunity',
18+
'Marathon Match',
19+
'First2Finish',
20+
'Other',
21+
].map(item => ({ label: item, value: item })),
22+
]
23+
export const QUESTION_YES_NO_OPTIONS: InputSelectOption[] = ['Yes', 'No'].map(
24+
item => ({ label: item, value: item }),
25+
)
26+
export const QUESTION_RESPONSE_OPTIONS: InputSelectOption[] = [
27+
{
28+
label: 'Comment',
29+
value: 'COMMENT',
30+
},
31+
{
32+
label: 'Required',
33+
value: 'REQUIRED',
34+
},
35+
{
36+
label: 'Recommended',
37+
value: 'RECOMMENDED',
38+
},
39+
]
40+
export const QUESTION_RESPONSE_TYPE_MAPPING_DISPLAY: { [key: string]: string }
41+
= {
42+
COMMENT: 'Comment',
43+
RECOMMENDED: 'Recommended',
44+
REQUIRED: 'Required',
45+
}
46+
export const TABLE_DATE_FORMAT = 'MMM DD, HH:mm A'
47+
export const THRESHOLD_SHORT_TIME = 2 * 60 * 60 * 1000 // in miliseconds
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/**
2+
* Common config for routes in review app.
3+
*/
4+
import { AppSubdomain, EnvironmentConfig } from '~/config'
5+
6+
export const rootRoute: string
7+
= EnvironmentConfig.SUBDOMAIN === AppSubdomain.review
8+
? ''
9+
: `/${AppSubdomain.review}`
10+
11+
export const activeReviewAssigmentsRouteId = 'active-review-assigments'
12+
export const openOpportunitiesRouteId = 'open-opportunities'
13+
export const pastReviewAssignmentsRouteId = 'past-review-assignments'

src/apps/review/src/declarations.d.ts

Whitespace-only changes.

src/apps/review/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { reviewRoutes } from './review-app.routes'
2+
export { rootRoute as reviewRootRoute } from './config/routes.config'
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/* eslint-disable max-len */
2+
export const IconBold
3+
= '<svg width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M14.4231 8.91244L14.3874 8.95602L14.4367 8.98324C15.2168 9.41318 15.8317 10.0902 16.1848 10.9079C16.5379 11.7255 16.6092 12.6374 16.3874 13.5C16.1656 14.3626 15.6633 15.127 14.9596 15.6729C14.2559 16.2188 13.3906 16.5152 12.5 16.5156C12.5 16.5156 12.5 16.5156 12.5 16.5156H6.25C6.01379 16.5156 5.78726 16.4218 5.62023 16.2548C5.45321 16.0877 5.35938 15.8612 5.35938 15.625V3.75C5.35938 3.51379 5.45321 3.28726 5.62023 3.12023C5.78726 2.95321 6.01379 2.85938 6.25 2.85938L11.5625 2.85937C11.5625 2.85937 11.5625 2.85938 11.5625 2.85938C12.2639 2.85963 12.9509 3.05909 13.5434 3.43455C14.1358 3.81001 14.6095 4.34603 14.9092 4.98021C15.2089 5.6144 15.3224 6.32066 15.2363 7.01681C15.1503 7.71295 14.8683 8.37033 14.4231 8.91244ZM7.1875 4.64062H7.14062V4.6875V8.4375V8.48438H7.1875H11.5625C12.0722 8.48438 12.561 8.28189 12.9215 7.92147C13.2819 7.56105 13.4844 7.07221 13.4844 6.5625C13.4844 6.05279 13.2819 5.56395 12.9215 5.20353C12.561 4.84311 12.0722 4.64062 11.5625 4.64062H7.1875ZM7.14062 14.6875V14.7344H7.1875H12.5C13.0926 14.7344 13.6609 14.499 14.0799 14.0799C14.499 13.6609 14.7344 13.0926 14.7344 12.5C14.7344 11.9074 14.499 11.3391 14.0799 10.9201C13.6609 10.501 13.0926 10.2656 12.5 10.2656H7.1875H7.14062V10.3125V14.6875Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/></svg>'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/* eslint-disable max-len */
2+
export const IconCode = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<path d="M2.62983 10.035L7.46888 14.3319C7.64607 14.4894 7.75343 14.7108 7.76735 14.9475C7.78127 15.1841 7.70061 15.4166 7.54311 15.5938C7.38561 15.771 7.16417 15.8784 6.92751 15.8923C6.69085 15.9062 6.45835 15.8255 6.28116 15.668L0.656162 10.668L0.656024 10.6679C0.561256 10.5843 0.485356 10.4816 0.433368 10.3664C0.381379 10.2512 0.354492 10.1263 0.354492 9.99996C0.354492 9.8736 0.381379 9.74869 0.433368 9.63352C0.485356 9.51835 0.561256 9.41556 0.656024 9.33199L0.656161 9.33187L6.28116 4.33187C6.45835 4.17436 6.69085 4.0937 6.92751 4.10762C7.16417 4.12154 7.38561 4.22891 7.54311 4.4061C7.70061 4.58329 7.78127 4.81578 7.76735 5.05245C7.75343 5.28911 7.64607 5.51054 7.46888 5.66805L2.62983 9.9649L2.59036 9.99996L2.62983 10.035ZM19.3439 9.33187L19.344 9.33199C19.4388 9.41556 19.5147 9.51835 19.5667 9.63352C19.6187 9.74869 19.6455 9.8736 19.6455 9.99996C19.6455 10.1263 19.6187 10.2512 19.5667 10.3664C19.5147 10.4816 19.4388 10.5843 19.344 10.6679L19.3439 10.668L13.7189 15.668C13.6311 15.746 13.5289 15.806 13.418 15.8444C13.3071 15.8829 13.1897 15.8992 13.0725 15.8923C12.9553 15.8854 12.8407 15.8555 12.735 15.8043C12.6294 15.7531 12.5349 15.6815 12.4569 15.5938C12.3789 15.5061 12.319 15.4038 12.2805 15.2929C12.242 15.182 12.2258 15.0646 12.2327 14.9475C12.2396 14.8303 12.2695 14.7156 12.3207 14.61C12.3719 14.5044 12.4434 14.4099 12.5312 14.3319C12.5312 14.3319 12.5312 14.3319 12.5312 14.3319L17.3679 10.035L17.4073 9.99996L17.3679 9.96491L12.5312 5.66805C12.4434 5.59006 12.3719 5.49556 12.3207 5.38993C12.2695 5.28431 12.2396 5.16963 12.2327 5.05245C12.2258 4.93526 12.242 4.81787 12.2805 4.70697C12.319 4.59607 12.3789 4.49383 12.4569 4.4061C12.5349 4.31836 12.6294 4.24685 12.735 4.19564C12.8407 4.14442 12.9553 4.11452 13.0725 4.10762C13.1897 4.10073 13.3071 4.11699 13.418 4.15546C13.5289 4.19394 13.6311 4.25388 13.7189 4.33187L19.3439 9.33187Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/>
4+
</svg>
5+
`
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* eslint-disable max-len */
2+
export const IconHeading1 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<path d="M18.3906 8.74993V8.75V16.25C18.3906 16.4862 18.2968 16.7127 18.1298 16.8798C17.9627 17.0468 17.7362 17.1406 17.5 17.1406C17.2638 17.1406 17.0373 17.0468 16.8702 16.8798C16.7032 16.7127 16.6094 16.4862 16.6094 16.25V10.5016V10.4137L16.5364 10.4626L16.1193 10.7422C16.1193 10.7422 16.1193 10.7423 16.1193 10.7423C16.0218 10.8072 15.9125 10.8522 15.7977 10.8749C15.6828 10.8976 15.5645 10.8974 15.4497 10.8744C15.3349 10.8514 15.2257 10.806 15.1284 10.7407C15.0312 10.6755 14.9477 10.5918 14.8828 10.4943C14.8178 10.3969 14.7728 10.2876 14.7501 10.1727C14.7274 10.0578 14.7276 9.93953 14.7506 9.8247C14.7736 9.70988 14.819 9.60071 14.8843 9.50344C14.9495 9.40616 15.0332 9.32268 15.1307 9.25776L15.1307 9.25775L17.0057 8.00775L17.0057 8.00774C17.1399 7.9182 17.2959 7.86679 17.4571 7.85902C17.6182 7.85124 17.7785 7.88739 17.9207 7.9636C18.0629 8.03981 18.1817 8.15322 18.2645 8.29172C18.3473 8.43021 18.3909 8.58859 18.3906 8.74993ZM18.4375 8.75V16.25C18.4375 16.4986 18.3387 16.7371 18.1629 16.9129C17.9871 17.0887 17.7486 17.1875 17.5 17.1875C17.2514 17.1875 17.0129 17.0887 16.8371 16.9129C16.6613 16.7371 16.5625 16.4986 16.5625 16.25V10.558L16.5886 10.5405L16.5625 10.5016H16.5156L18.4375 8.75ZM10.3125 8.17188H10.3594V8.125V4.375C10.3594 4.13879 10.4532 3.91226 10.6202 3.74523C10.7873 3.57821 11.0138 3.48438 11.25 3.48438C11.4862 3.48438 11.7127 3.57821 11.8798 3.74523C12.0468 3.91226 12.1406 4.13879 12.1406 4.375V13.75C12.1406 13.9862 12.0468 14.2127 11.8798 14.3798C11.7127 14.5468 11.4862 14.6406 11.25 14.6406C11.0138 14.6406 10.7873 14.5468 10.6202 14.3798C10.4532 14.2127 10.3594 13.9862 10.3594 13.75V10V9.95312H10.3125H4.0625H4.01562V10V13.75C4.01562 13.9862 3.92179 14.2127 3.75477 14.3798C3.58774 14.5468 3.36121 14.6406 3.125 14.6406C2.88879 14.6406 2.66226 14.5468 2.49523 14.3798C2.32821 14.2127 2.23438 13.9862 2.23438 13.75V4.375C2.23438 4.13879 2.32821 3.91226 2.49523 3.74523C2.66226 3.57821 2.88879 3.48438 3.125 3.48438C3.36121 3.48438 3.58774 3.57821 3.75477 3.74523C3.92179 3.91226 4.01562 4.13879 4.01562 4.375V8.125V8.17188H4.0625H10.3125Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/>
4+
</svg>`
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* eslint-disable max-len */
2+
export const IconHeading2 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<path d="M16.7813 15.3594L16.8375 15.2844L19.0828 12.2898L19.0829 12.2898C19.3229 11.9713 19.4912 11.6046 19.5762 11.215C19.6613 10.8253 19.661 10.4219 19.5755 10.0324C19.49 9.64286 19.3213 9.27642 19.0809 8.95821C18.8405 8.64 18.5341 8.37755 18.1828 8.18885C17.8314 8.00014 17.4435 7.88966 17.0454 7.86497C16.6474 7.84029 16.2487 7.90198 15.8767 8.04581C15.5048 8.18965 15.1683 8.41224 14.8904 8.6983C14.6125 8.98437 14.3998 9.32714 14.2668 9.70313C14.1881 9.92585 14.2011 10.1707 14.3029 10.3839C14.4047 10.5971 14.587 10.7611 14.8098 10.8398C15.0325 10.9185 15.2774 10.9056 15.4905 10.8037C15.7037 10.7019 15.8677 10.5196 15.9464 10.2969C15.9796 10.202 16.0274 10.113 16.0882 10.033C16.0883 10.0328 16.0884 10.0327 16.0885 10.0326L16.1258 10.0609C16.199 9.96022 16.2916 9.87511 16.3981 9.81057C16.5046 9.74603 16.6229 9.70336 16.7461 9.68504C16.8693 9.66672 16.9948 9.67313 17.1155 9.70388C17.2362 9.73464 17.3495 9.78913 17.4489 9.86417C17.5483 9.93922 17.6317 10.0333 17.6943 10.1409C17.757 10.2486 17.7975 10.3676 17.8136 10.4911C17.8297 10.6146 17.821 10.7401 17.7881 10.8602C17.7552 10.9803 17.6987 11.0926 17.6219 11.1906L16.7813 15.3594ZM16.7813 15.3594H16.875H18.75C18.9862 15.3594 19.2127 15.4532 19.3798 15.6202C19.5468 15.7873 19.6406 16.0138 19.6406 16.25C19.6406 16.4862 19.5468 16.7127 19.3798 16.8798C19.2127 17.0468 18.9862 17.1406 18.75 17.1406H15C14.8346 17.1406 14.6725 17.0946 14.5318 17.0076C14.3911 16.9207 14.2774 16.7962 14.2034 16.6483C14.1294 16.5004 14.0981 16.3347 14.113 16.17C14.1278 16.0053 14.1883 15.8479 14.2875 15.7156L14.2521 15.6891L14.2875 15.7156L17.6588 11.2195C17.6589 11.2194 17.659 11.2193 17.6591 11.2191L16.7813 15.3594ZM10.3594 10V9.95312H10.3125H4.0625H4.01562V10V13.75C4.01562 13.9862 3.92179 14.2127 3.75477 14.3798C3.58774 14.5468 3.36121 14.6406 3.125 14.6406C2.88879 14.6406 2.66226 14.5468 2.49523 14.3798C2.32821 14.2127 2.23438 13.9862 2.23438 13.75V4.375C2.23438 4.13879 2.32821 3.91226 2.49523 3.74523C2.66226 3.57821 2.88879 3.48438 3.125 3.48438C3.36121 3.48438 3.58774 3.57821 3.75477 3.74523C3.92179 3.91226 4.01562 4.13879 4.01562 4.375V8.125V8.17188H4.0625H10.3125H10.3594V8.125V4.375C10.3594 4.13879 10.4532 3.91226 10.6202 3.74523C10.7873 3.57821 11.0138 3.48438 11.25 3.48438C11.4862 3.48438 11.7127 3.57821 11.8798 3.74523C12.0468 3.91226 12.1406 4.13879 12.1406 4.375V13.75C12.1406 13.9862 12.0468 14.2127 11.8798 14.3798C11.7127 14.5468 11.4862 14.6406 11.25 14.6406C11.0138 14.6406 10.7873 14.5468 10.6202 14.3798C10.4532 14.2127 10.3594 13.9862 10.3594 13.75V10Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/>
4+
</svg>`
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* eslint-disable max-len */
2+
export const IconHeading3 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<path d="M14.3639 16.2172L14.3632 16.2164C14.2781 16.1336 14.2105 16.0346 14.1643 15.9252C14.1181 15.8159 14.0942 15.6984 14.094 15.5797C14.0938 15.461 14.1174 15.3434 14.1633 15.234C14.2092 15.1245 14.2766 15.0253 14.3614 14.9422C14.4462 14.8591 14.5468 14.7939 14.6572 14.7502C14.7676 14.7066 14.8856 14.6854 15.0042 14.688C15.1229 14.6907 15.2399 14.717 15.3483 14.7654C15.4566 14.8139 15.5542 14.8836 15.6353 14.9703L15.6353 14.9703L15.6361 14.9711C15.7858 15.1236 15.9709 15.2368 16.175 15.3004C16.379 15.3641 16.5956 15.3764 16.8055 15.3362C17.0154 15.296 17.2121 15.2045 17.3781 15.0699C17.5441 14.9353 17.6743 14.7618 17.7571 14.5648C17.8399 14.3677 17.8727 14.1533 17.8526 13.9405C17.8325 13.7277 17.7601 13.5232 17.6419 13.3451C17.5236 13.1671 17.3632 13.021 17.1749 12.9199C16.9866 12.8188 16.7763 12.7658 16.5625 12.7656H16.5625C16.3996 12.7656 16.2398 12.7209 16.1006 12.6364C15.9613 12.5519 15.8479 12.4308 15.7727 12.2863C15.6975 12.1418 15.6633 11.9795 15.6739 11.8169C15.6845 11.6544 15.7395 11.4978 15.8329 11.3644L16.9915 9.71444L17.0433 9.64062H16.9531H15C14.7638 9.64062 14.5373 9.54679 14.3702 9.37977C14.2032 9.21274 14.1094 8.98621 14.1094 8.75C14.1094 8.51379 14.2032 8.28726 14.3702 8.12023C14.5373 7.95321 14.7638 7.85938 15 7.85938H18.75C18.9129 7.8594 19.0727 7.9041 19.2119 7.98861C19.3512 8.07313 19.4646 8.19421 19.5398 8.3387C19.615 8.48319 19.6492 8.64554 19.6386 8.80809C19.628 8.97064 19.573 9.12716 19.4796 9.26062L18.0468 11.3075L18.017 11.35L18.0623 11.3753C18.5407 11.6422 18.9392 12.032 19.2167 12.5044C19.4941 12.9768 19.6405 13.5147 19.6406 14.0625C19.6407 14.674 19.4586 15.2716 19.1177 15.7792C18.7767 16.2868 18.2923 16.6814 17.7262 16.9125C17.16 17.1437 16.5379 17.201 15.9391 17.0772C15.3403 16.9533 14.7919 16.6539 14.3639 16.2172ZM10.3125 8.17188H10.3594V8.125V4.375C10.3594 4.13879 10.4532 3.91226 10.6202 3.74523C10.7873 3.57821 11.0138 3.48438 11.25 3.48438C11.4862 3.48438 11.7127 3.57821 11.8798 3.74523C12.0468 3.91226 12.1406 4.13879 12.1406 4.375V13.75C12.1406 13.9862 12.0468 14.2127 11.8798 14.3798C11.7127 14.5468 11.4862 14.6406 11.25 14.6406C11.0138 14.6406 10.7873 14.5468 10.6202 14.3798C10.4532 14.2127 10.3594 13.9862 10.3594 13.75V10V9.95312H10.3125H4.0625H4.01562V10V13.75C4.01562 13.9862 3.92179 14.2127 3.75477 14.3798C3.58774 14.5468 3.36121 14.6406 3.125 14.6406C2.88879 14.6406 2.66226 14.5468 2.49523 14.3798C2.32821 14.2127 2.23438 13.9862 2.23438 13.75V4.375C2.23438 4.13879 2.32821 3.91226 2.49523 3.74523C2.66226 3.57821 2.88879 3.48438 3.125 3.48438C3.36121 3.48438 3.58774 3.57821 3.75477 3.74523C3.92179 3.91226 4.01562 4.13879 4.01562 4.375V8.125V8.17188H4.0625H10.3125Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/>
4+
</svg>`
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* eslint-disable max-len */
2+
export const IconImage = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
3+
<path d="M15.9844 4.0625V4.01562H15.9375H4.0625H4.01562V4.0625V15.9156V16.0288L4.09565 15.9488L12.366 7.67846C12.6502 7.39433 13.0356 7.23471 13.4375 7.23471C13.8394 7.23471 14.2248 7.39433 14.509 7.67846L15.9044 9.07377L15.9844 9.15379V9.04063V4.0625ZM6.65904 15.9044L6.57902 15.9844H6.69219H15.9375H15.9844V15.9375V11.6922V11.6728L15.9706 11.659L13.4706 9.15904L13.4375 9.1259L13.4044 9.15904L6.65904 15.9044ZM3.75 2.23438H16.25C16.652 2.23438 17.0375 2.39406 17.3217 2.67829C17.6059 2.96253 17.7656 3.34803 17.7656 3.75V16.25C17.7656 16.652 17.6059 17.0375 17.3217 17.3217C17.0375 17.6059 16.652 17.7656 16.25 17.7656H3.75C3.34803 17.7656 2.96253 17.6059 2.67829 17.3217C2.39406 17.0375 2.23438 16.652 2.23438 16.25V3.75C2.23438 3.34803 2.39406 2.96253 2.67829 2.67829C2.96253 2.39406 3.34803 2.23438 3.75 2.23438ZM5.98438 7.5C5.98438 7.20024 6.07326 6.90721 6.2398 6.65796C6.40634 6.40872 6.64305 6.21446 6.92 6.09975C7.19694 5.98503 7.50168 5.95502 7.79568 6.0135C8.08969 6.07198 8.35974 6.21633 8.57171 6.42829C8.78367 6.64026 8.92802 6.91031 8.9865 7.20432C9.04498 7.49832 9.01497 7.80306 8.90026 8.08C8.78554 8.35695 8.59128 8.59366 8.34204 8.7602C8.09279 8.92674 7.79976 9.01562 7.5 9.01562C7.09803 9.01562 6.71253 8.85594 6.42829 8.57171C6.14406 8.28747 5.98438 7.90197 5.98438 7.5Z" fill="#545F71" stroke="#545F71" stroke-width="0.09375"/>
4+
</svg>`

0 commit comments

Comments
 (0)