-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1182 from Vizzuality/fix/lang-sel
Fix/lang sel
- Loading branch information
Showing
28 changed files
with
169 additions
and
95 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
File renamed without changes
File renamed without changes
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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 |
---|---|---|
|
@@ -18,20 +18,14 @@ import Info from 'components/widget-controls/info'; | |
import { WIDGET_CARD_WRAPPER_STYLE } from 'styles/widgets'; | ||
import type { ContextualBasemapsId, MosaicId, WidgetSlugType } from 'types/widget'; | ||
|
||
import analyticThumb from 'images/thumbs/analytic.png'; | ||
import darkThumb from 'images/thumbs/[email protected]'; | ||
import lightThumb from 'images/thumbs/[email protected]'; | ||
import satelliteThumb from 'images/thumbs/[email protected]'; | ||
import visualThumb from 'images/thumbs/visual.png'; | ||
|
||
import CHECK_SVG from 'svgs/ui/check.svg?sprite'; | ||
|
||
const THUMBS = { | ||
light: lightThumb as StaticImageData, | ||
dark: darkThumb as StaticImageData, | ||
satellite: satelliteThumb as StaticImageData, | ||
planet_medres_analytic_monthly: analyticThumb as StaticImageData, | ||
planet_medres_visual_monthly: visualThumb as StaticImageData, | ||
light: 'images/thumbs/analytic.png', | ||
dark: 'images/thumbs/[email protected]', | ||
satellite: 'images/thumbs/[email protected]', | ||
planet_medres_analytic_monthly: 'images/thumbs/[email protected]', | ||
planet_medres_visual_monthly: 'images/thumbs/visual.png', | ||
mangrove_tidal_flats: '/images/thumbs/contextual/tidal_flats.png', | ||
mangrove_allen_coral_reef: '/images/thumbs/contextual/allen_coral_reef.png', | ||
mangrove_global_tidal_wetland_change: '/images/thumbs/contextual/global_tidal_wetland_change.png', | ||
|
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,9 @@ | ||
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'; | ||
|
||
const Collapsible = CollapsiblePrimitive.Root; | ||
|
||
const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger; | ||
|
||
const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent; | ||
|
||
export { Collapsible, CollapsibleTrigger, CollapsibleContent }; |
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
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
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,57 @@ | ||
import Image from 'next/image'; | ||
import Link from 'next/link'; | ||
|
||
import { Media } from 'components/media-query'; | ||
import Icon from 'components/ui/icon'; | ||
|
||
import ABERYSTWYTH_SVG from 'svgs/partners/aberystwyth.svg?sprite'; | ||
import NATURE_CONSERVANCY_SVG from 'svgs/partners/nature.svg?sprite'; | ||
import SOLO_SVG from 'svgs/partners/solo.svg?sprite'; | ||
import WETLANDS_SVG from 'svgs/partners/wetlands.svg?sprite'; | ||
|
||
const PartnersLinks = () => { | ||
return ( | ||
<div className="flex w-full space-x-12"> | ||
<div className="space-y-4 pb-6"> | ||
<p className="text-xs font-bold uppercase">Powered by</p> | ||
<Link | ||
href="https://www.mangrovealliance.org/" | ||
className="pb-3 text-left text-2lg font-light leading-3" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Media lessThan="md"> | ||
<Image alt="GMA" src="/images/menu/gma.webp" width={88} height={50} /> | ||
</Media> | ||
<Media greaterThanOrEqual="md"> | ||
<Image alt="GMA" src="/images/menu/gma.webp" width={133} height={58} /> | ||
</Media> | ||
</Link> | ||
</div> | ||
|
||
<div className="space-y-4 pb-6"> | ||
<p className="text-xs font-bold uppercase">Partners</p> | ||
<div className="flex w-full flex-wrap items-center gap-6"> | ||
<Link href="https://www.aber.ac.uk/en/"> | ||
<Icon icon={ABERYSTWYTH_SVG} className="h-full w-32" description="ABERYSTWYTH" /> | ||
</Link> | ||
<Link href="https://soloeo.com/"> | ||
<Icon icon={SOLO_SVG} className="h-full w-32" description="SOLO" /> | ||
</Link> | ||
<Link href="https://www.wetlands.org/"> | ||
<Icon icon={WETLANDS_SVG} className="h-full w-32" description="Wetlands" /> | ||
</Link> | ||
<Link href="https://www.nature.org/"> | ||
<Icon | ||
icon={NATURE_CONSERVANCY_SVG} | ||
className="h-full w-32" | ||
description="NATURE_CONSERVANCY" | ||
/> | ||
</Link> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default PartnersLinks; |
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
Binary file not shown.
Oops, something went wrong.