Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header copy update and shorter distance labels #9

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/GalleryItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class GalleryItem extends Component<IProps> {
<div className="gallery__item__labels-container">
{labels}
{shift.distance && shift.distance !== 9999 &&
<Label key={-1} text={`約距 ${shift.distance.toFixed(2)} 公里`} />
<Label key={-1} text={`約距 ${shift.distance.toFixed(1)} 公里`} />
}
</div>
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function Navbar(props: any) {
return (
<nav className="navbar navbar-expand-lg navbar-light bg-light">
<div className="container">
<a className="navbar-brand" href="#">兩好三壞,全台開團資訊(11月16日更新)</a>
<a className="navbar-brand" href="#">兩好三壞,全台開團資訊</a>
<button
className="navbar-toggler"
type="button"
Expand Down