Skip to content

Commit

Permalink
559-refactor: Widget places (#662)
Browse files Browse the repository at this point in the history
* refactor: 559 - change scss to modules

* refactor: 559 - get rid of marquee dependency

* refactor: 559 - reduce code duplication

* refactor: 559 - move test file inside ui folder

* refactor: 559 - move constant to constants file

* refactor: 559 - remove use client directive

* refactor: 559 - replace div with section

* fix: 559 - incorrect test

* refactor: 559 - replace css values with constants

* refactor: remove will-change property

* refactor: reduce code duplication
  • Loading branch information
Quiddlee authored Dec 16, 2024
1 parent 3827450 commit 1ddbb3e
Show file tree
Hide file tree
Showing 14 changed files with 159 additions and 407 deletions.
287 changes: 0 additions & 287 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"next": "15.0.3",
"react": "19.0.0-rc.1",
"react-dom": "19.0.0-rc.1",
"react-double-marquee": "^1.1.0",
"react-responsive-carousel": "^3.2.23"
},
"devDependencies": {
Expand Down
13 changes: 13 additions & 0 deletions src/widgets/places/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export const places = [
'Kazakhstan',
'Belarus',
'Latvia',
'Poland',
'Turkey',
'Georgia',
'Montenegro',
'Uzbekistan',
'Online',
'Kyrgyzstan',
'Lithuania',
] as const;
2 changes: 1 addition & 1 deletion src/widgets/places/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Places } from './ui/places';
export { Places } from './ui/places/places';
Loading

0 comments on commit 1ddbb3e

Please sign in to comment.