-
Notifications
You must be signed in to change notification settings - Fork 0
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
2ac7e7c
commit f6a3427
Showing
4 changed files
with
39 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
import { useState } from 'react' | ||
import { useTranslation } from 'react-i18next' | ||
import { Dropdown, DropdownItem, DropdownMenu, DropdownToggle } from 'reactstrap' | ||
|
||
export const Photogallery = () => { | ||
const { t } = useTranslation() | ||
const [dropdownOpen, setDropdownOpen] = useState(false) | ||
|
||
const toggle = () => setDropdownOpen((prevState) => !prevState) | ||
return ( | ||
<Dropdown | ||
isOpen={dropdownOpen} | ||
toggle={toggle} | ||
direction="down" | ||
style={{ display: 'inline-block', margin: '0.5rem' }}> | ||
<DropdownToggle caret size="lg" color="primary"> | ||
{t('homepage.photos')} | ||
</DropdownToggle> | ||
<DropdownMenu> | ||
<DropdownItem header>tcup 2024</DropdownItem> | ||
<DropdownItem href="https://eu.zonerama.com/eraa/Album/11735429" target="_blank"> | ||
Grid | ||
</DropdownItem> | ||
<DropdownItem href="https://eu.zonerama.com/eraa/Album/11720304" target="_blank"> | ||
6. - 8. 7. 2024 | ||
</DropdownItem> | ||
<DropdownItem divider /> | ||
<DropdownItem href="https://lipty.rajce.idnes.cz" target="_blank"> | ||
tcup 2022-2018 | ||
</DropdownItem> | ||
</DropdownMenu> | ||
</Dropdown> | ||
) | ||
} |
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 @@ | ||
export * from './Photogallery'; |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './Footer' | ||
export * from './Spinner' | ||
export * from './SpinnerFullPage' | ||
export * from './Photogallery' |