feat(SW-2264): Added campaign overview page
Approved-by: Matilda Landström
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Button } from '@scandic-hotels/design-system/Button'
|
||||
import { Chips } from '@scandic-hotels/design-system/Chips'
|
||||
import { ChipButton } from '@scandic-hotels/design-system/ChipButton'
|
||||
import { ChipLink } from '@scandic-hotels/design-system/ChipLink'
|
||||
import { Chips } from '@scandic-hotels/design-system/Chips'
|
||||
import { Typography } from '@scandic-hotels/design-system/Typography'
|
||||
|
||||
import styles from './header.module.css'
|
||||
@@ -10,8 +10,6 @@ import type { PressEvent } from 'react-aria-components'
|
||||
|
||||
export function Header() {
|
||||
const onPress = (e: PressEvent) => alert(e.target.innerHTML)
|
||||
const onClick = (e: React.MouseEvent<HTMLAnchorElement>) =>
|
||||
alert(`Link to: ${e.currentTarget.href}`)
|
||||
|
||||
return (
|
||||
<header className={styles.header}>
|
||||
@@ -42,27 +40,27 @@ export function Header() {
|
||||
<div className={styles.chips}>
|
||||
<Chips>
|
||||
<ChipButton onPress={onPress}>Restaurants and bars</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/kristianshavn">
|
||||
<ChipLink onPress={onPress} href="/kristianshavn">
|
||||
Kristianshavn
|
||||
</ChipLink>
|
||||
<ChipButton onPress={onPress}>Tivoli Gardens</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/copenhagen">
|
||||
<ChipLink onPress={onPress} href="/copenhagen">
|
||||
See all Copenhagen
|
||||
</ChipLink>
|
||||
<ChipButton onPress={onPress}>See all Copenhagen</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/copenhagen">
|
||||
<ChipLink onPress={onPress} href="/copenhagen">
|
||||
See all Copenhagen
|
||||
</ChipLink>
|
||||
<ChipButton onPress={onPress}>See all Copenhagen</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/copenhagen">
|
||||
<ChipLink onPress={onPress} href="/copenhagen">
|
||||
See all Copenhagen
|
||||
</ChipLink>
|
||||
<ChipButton onPress={onPress}>See all Copenhagen</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/copenhagen">
|
||||
<ChipLink onPress={onPress} href="/copenhagen">
|
||||
See all Copenhagen
|
||||
</ChipLink>
|
||||
<ChipButton onPress={onPress}>See all Copenhagen</ChipButton>
|
||||
<ChipLink onClick={onClick} href="/copenhagen">
|
||||
<ChipLink onPress={onPress} href="/copenhagen">
|
||||
See all Copenhagen
|
||||
</ChipLink>
|
||||
</Chips>
|
||||
|
||||
Reference in New Issue
Block a user