Skip to content

Commit

Permalink
style: tweak style
Browse files Browse the repository at this point in the history
  • Loading branch information
x3388638 committed Mar 25, 2024
1 parent 96ce81d commit 649ef8d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ A React (Next.js) app integrated with Contentful (headless CMS) collects car pho

<img width="1336" alt="img" src="https://github.com/x3388638/pov/assets/8147952/3cc615b5-0ee3-4a77-95f3-5949b5cd100b">


## Dev note

### Env
Expand All @@ -28,6 +27,12 @@ npm run dev
npm run build
```

run the built version:

```
npm start
```

### Lint

```
Expand Down
2 changes: 1 addition & 1 deletion app/_assets/contentfulEntries.json

Large diffs are not rendered by default.

14 changes: 8 additions & 6 deletions app/components/cover/cover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,14 @@ const Cover: FC = () => {
>
<CoverBackground />
<CoverContainer>
<Link href="/">
<Header>
<span style={{ whiteSpace: 'nowrap' }}>Car Photography /</span>{' '}
<span style={{ whiteSpace: 'nowrap' }}>POV Driving Video</span>
</Header>
</Link>
<div style={{ display: 'flex', justifyContent: 'center' }}>
<Link href="/">
<Header>
<span style={{ whiteSpace: 'nowrap' }}>Car Photography /</span>{' '}
<span style={{ whiteSpace: 'nowrap' }}>POV Driving Video</span>
</Header>
</Link>
</div>
<h2
style={{
display: 'flex',
Expand Down
1 change: 0 additions & 1 deletion app/pages/item-list/item-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ const ItemList: FC<ItemListProps> = ({ type }) => {
<ItemContainer
key={location.id}
onClick={() => router.push(`/${type[0]}/${location.id}`)}
// FIXME: no working on prod
onMouseEnter={() => focusToMarker(location)}
onMouseLeave={() => clearTimeout(mouseEnterTimeoutRef.current)}
>
Expand Down

0 comments on commit 649ef8d

Please sign in to comment.