-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4d2bc4
commit e83c12f
Showing
10 changed files
with
122 additions
and
118 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
src/apps/path-finder/components/cell-info/cell-info.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.cellInfo { | ||
display: none; | ||
gap: 20px; | ||
margin-right: 60px; | ||
|
||
& > div { | ||
display: flex; | ||
align-items: center; | ||
gap: 5px; | ||
} | ||
|
||
.item { | ||
height: 15px; | ||
width: 15px; | ||
} | ||
|
||
.start { | ||
background-color: var(--pf-cell-entry); | ||
} | ||
|
||
.end { | ||
background-color: var(--pf-cell-exit); | ||
} | ||
|
||
.wall { | ||
background-color: var(--pf-cell-wall); | ||
} | ||
|
||
.visited { | ||
background-color: var(--pf-cell-visited); | ||
} | ||
|
||
.path { | ||
background-color: var(--pf-cell-path); | ||
} | ||
} | ||
|
||
@media (width >= 768px) { | ||
.cellInfo { | ||
display: flex; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import classes from './cell-info.module.scss'; | ||
|
||
function CellInfo() { | ||
return ( | ||
<div className={classes.cellInfo}> | ||
<div> | ||
<div className={`${classes.item} ${classes.start}`}></div> | ||
<span>Start</span> | ||
</div> | ||
<div> | ||
<div className={`${classes.item} ${classes.end}`}></div> | ||
<span>End</span> | ||
</div> | ||
<div> | ||
<div className={`${classes.item} ${classes.wall}`}></div> | ||
<span>Wall</span> | ||
</div> | ||
<div> | ||
<div className={`${classes.item} ${classes.visited}`}></div> | ||
<span>Visited</span> | ||
</div> | ||
<div> | ||
<div className={`${classes.item} ${classes.path}`}></div> | ||
<span>Path</span> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
export default CellInfo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
src/apps/path-finder/components/controller/visitedCellCount.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters