diff --git a/deployment/frontend/src/components/_shared/CarouselNavButton.tsx b/deployment/frontend/src/components/_shared/CarouselNavButton.tsx index 525ed0e13..ec1d385f4 100644 --- a/deployment/frontend/src/components/_shared/CarouselNavButton.tsx +++ b/deployment/frontend/src/components/_shared/CarouselNavButton.tsx @@ -1,5 +1,5 @@ -import { ArrowRightIcon, ArrowLeftIcon } from "@heroicons/react/20/solid"; +import { ChevronLeftIcon, ChevronRightIcon } from "@heroicons/react/24/outline"; const sizes = { small: 'w-[30px] h-[30px]', @@ -15,8 +15,8 @@ const CarouselNavButton: React.FC<{ ); @@ -24,4 +24,4 @@ const CarouselNavButton: React.FC<{ CarouselNavButton.defaultProps = { orientation: 'left', size: 'medium' }; -export default CarouselNavButton; \ No newline at end of file +export default CarouselNavButton; diff --git a/deployment/frontend/src/components/_shared/Footer.tsx b/deployment/frontend/src/components/_shared/Footer.tsx index 8b5323d3c..ab0122708 100644 --- a/deployment/frontend/src/components/_shared/Footer.tsx +++ b/deployment/frontend/src/components/_shared/Footer.tsx @@ -1,6 +1,7 @@ import React from "react"; import { EnvelopeIcon } from "@heroicons/react/20/solid"; import Image from "next/image"; +import { Button } from "./Button"; export default function Footer({ links = { @@ -37,73 +38,68 @@ export default function Footer({ - -
-
-
+
+
+

ABOUT WRI

About us

Our Work

Our Approach

-
+

USEFUL LINKS

About us

Our Work

Our Approach

-
+

GET STARTED

About us

Our Work

Our Approach

-
-

+

+
STAY UP TO DATE WITH THE NEWS{" "} -

-
-
-
- -
-
- +
+
+
+ +
+ + Enter your email
-
- SUBSCRIBE -
+
-
+
-
+
{""}
-
+
{""}
-
+
{""}
-
-
+
+
Picture of the author
- + ); } diff --git a/deployment/frontend/src/components/_shared/Login.tsx b/deployment/frontend/src/components/_shared/Login.tsx index 091603161..51e505d36 100644 --- a/deployment/frontend/src/components/_shared/Login.tsx +++ b/deployment/frontend/src/components/_shared/Login.tsx @@ -1,48 +1,71 @@ -import React from 'react' -import { ExclamationCircleIcon, EnvelopeIcon, LockClosedIcon } from '@heroicons/react/24/outline' -import Image from 'next/image' +import React from "react"; +import { + ExclamationCircleIcon, + EnvelopeIcon, + LockClosedIcon, +} from "@heroicons/react/24/outline"; +import Image from "next/image"; export default function Login() { return ( -
+
-
- -

Registration Not Available Yet! Login for WRI Members Only. You Can Still Use All Portal Features.

-

Log In

+
+ +

+ Registration Not Available Yet! Login for WRI Members Only.{" "} + You Can Still Use All Portal Features. +

+

Log In

-
-
- -
-
-
+
+ +
+ +
+ +
- -
-
-
+
+ +
+ +
-
+ +
Forgot password?
- +
-
-
-
or
-
+
+
+
or
+
-
-
- comment +
+
+ comment
-
+
Sign In with your WRI Credentials
- ) + ); } diff --git a/deployment/frontend/src/components/_shared/Modal.tsx b/deployment/frontend/src/components/_shared/Modal.tsx index 36948a786..c8aa97f3e 100644 --- a/deployment/frontend/src/components/_shared/Modal.tsx +++ b/deployment/frontend/src/components/_shared/Modal.tsx @@ -34,7 +34,7 @@ export default function Modal({ open, setOpen, children, className = "" }: { ope
) -} \ No newline at end of file +} diff --git a/deployment/frontend/src/components/dashboard/Favourites.tsx b/deployment/frontend/src/components/dashboard/Favourites.tsx index d5b2d6ab4..8791191f7 100644 --- a/deployment/frontend/src/components/dashboard/Favourites.tsx +++ b/deployment/frontend/src/components/dashboard/Favourites.tsx @@ -27,7 +27,7 @@ export default function Favourites({ drag }: { drag: boolean }) { }

My Favourites

-
See all
+
See all
{ [1, 2, 3, 4, 5, 6].map((items) => { diff --git a/deployment/frontend/src/components/dashboard/Notifications.tsx b/deployment/frontend/src/components/dashboard/Notifications.tsx index 9988e4a82..d9b23796b 100644 --- a/deployment/frontend/src/components/dashboard/Notifications.tsx +++ b/deployment/frontend/src/components/dashboard/Notifications.tsx @@ -34,7 +34,7 @@ export default function Notifications({ drag }: { drag: boolean }) {

Notifications

3
-
See all
+
See all
{ [1, 2, 3, 4, 5, 6].map((items) => { diff --git a/deployment/frontend/src/components/dashboard/_shared/SearchHeader.tsx b/deployment/frontend/src/components/dashboard/_shared/SearchHeader.tsx index 99fbfdc4c..552f2a1d7 100644 --- a/deployment/frontend/src/components/dashboard/_shared/SearchHeader.tsx +++ b/deployment/frontend/src/components/dashboard/_shared/SearchHeader.tsx @@ -5,7 +5,7 @@ import { MagnifyingGlassIcon } from "@heroicons/react/20/solid"; function LeftNode({ placeholder }: { placeholder?: string }) { return (
-
+
) diff --git a/deployment/frontend/src/components/dashboard/datasets/DatasetTabs.tsx b/deployment/frontend/src/components/dashboard/datasets/DatasetTabs.tsx index 68dee0bbc..a872b538e 100644 --- a/deployment/frontend/src/components/dashboard/datasets/DatasetTabs.tsx +++ b/deployment/frontend/src/components/dashboard/datasets/DatasetTabs.tsx @@ -10,7 +10,7 @@ import { Swiper, SwiperSlide } from "swiper/react"; import "swiper/css"; import "swiper/css/navigation"; import "swiper/css/pagination"; -import { PlusSmallIcon, PlusCircleIcon } from '@heroicons/react/24/outline' +import { PlusSmallIcon, PlusCircleIcon } from "@heroicons/react/24/outline"; type TabProps = { name: string; @@ -25,7 +25,7 @@ export default function DatasetTabs({ tabs }: { tabs: TabProps[] }) { return ( <> {tabs.map((tab) => ( - + {({ selected }) => (
- {tab.title === 'Add dataset' ? ( -
-
- + {tab.title === "Add dataset" ? ( +
+
+
{tab.title}
- ) : ({tab.title}) - } - + ) : ( + {tab.title} + )}
)} @@ -59,14 +65,10 @@ export default function DatasetTabs({ tabs }: { tabs: TabProps[] }) { ))} ); diff --git a/deployment/frontend/src/components/datasets/DatasetHeader.tsx b/deployment/frontend/src/components/datasets/DatasetHeader.tsx index 2b437a3b5..cb8403876 100644 --- a/deployment/frontend/src/components/datasets/DatasetHeader.tsx +++ b/deployment/frontend/src/components/datasets/DatasetHeader.tsx @@ -18,12 +18,14 @@ import Link from "next/link"; export function DatasetHeader() { return ( -
+
- + + + + ); } diff --git a/deployment/frontend/src/components/home/Hero.tsx b/deployment/frontend/src/components/home/Hero.tsx index 3fa5afbdc..5d5d94079 100644 --- a/deployment/frontend/src/components/home/Hero.tsx +++ b/deployment/frontend/src/components/home/Hero.tsx @@ -170,7 +170,7 @@ export function Hero() { eiusmod tempor incididunt ut labore et dolore.

- +
diff --git a/deployment/frontend/src/components/home/HomeFooter.tsx b/deployment/frontend/src/components/home/HomeFooter.tsx index 7d1571766..89fce5087 100644 --- a/deployment/frontend/src/components/home/HomeFooter.tsx +++ b/deployment/frontend/src/components/home/HomeFooter.tsx @@ -1,6 +1,6 @@ import Image from "next/image"; import { Button } from "../_shared/Button"; -import { EnvelopeIcon } from "@heroicons/react/24/outline"; +import { EnvelopeIcon } from "@heroicons/react/20/solid"; export function HomeFooter() { return ( @@ -18,8 +18,8 @@ export function HomeFooter() {
-
-
+
+

ABOUT WRI

About us

@@ -38,26 +38,22 @@ export function HomeFooter() {

Our Work

Our Approach

-
-

+

+
STAY UP TO DATE WITH THE NEWS{" "} -

-
-
-
- -
-
- +
+
+
+ +
+ + Enter your email
-
- SUBSCRIBE -
+
diff --git a/deployment/frontend/src/components/search/Facet.tsx b/deployment/frontend/src/components/search/Facet.tsx index 94d0137e3..e24b29e7f 100644 --- a/deployment/frontend/src/components/search/Facet.tsx +++ b/deployment/frontend/src/components/search/Facet.tsx @@ -29,7 +29,7 @@ export default function Facet({
diff --git a/deployment/frontend/src/components/search/FilteredSearchLayout.tsx b/deployment/frontend/src/components/search/FilteredSearchLayout.tsx index 537025f70..3222acf62 100644 --- a/deployment/frontend/src/components/search/FilteredSearchLayout.tsx +++ b/deployment/frontend/src/components/search/FilteredSearchLayout.tsx @@ -1,9 +1,8 @@ import { Fragment, useState } from "react"; import { Dialog, Disclosure, Transition } from "@headlessui/react"; -import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline"; +import { Bars3Icon, ChevronRightIcon, XMarkIcon } from "@heroicons/react/24/outline"; import Facet from "./Facet"; import LocationSearch from "./LocationSearch"; -import { ArrowLeftIcon, ArrowRightIcon } from "@heroicons/react/20/solid"; import classNames from "@/utils/classnames"; export default function FilteredSearchLayout({ @@ -219,7 +218,7 @@ export default function FilteredSearchLayout({ <>
- -
-
-
-
-
-
+
+
+ +
- ) } diff --git a/deployment/frontend/src/components/topics/Hero.tsx b/deployment/frontend/src/components/topics/Hero.tsx index 86795b902..4304e2f82 100644 --- a/deployment/frontend/src/components/topics/Hero.tsx +++ b/deployment/frontend/src/components/topics/Hero.tsx @@ -9,14 +9,14 @@ export function Hero() {
Topic name -
+
-
+
Topic 1
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do diff --git a/deployment/frontend/src/components/topics/Subtopics.tsx b/deployment/frontend/src/components/topics/Subtopics.tsx index 92cbbd4c2..d4950e4c9 100644 --- a/deployment/frontend/src/components/topics/Subtopics.tsx +++ b/deployment/frontend/src/components/topics/Subtopics.tsx @@ -57,7 +57,7 @@ export default function Subtopics() { className=" mx-auto mt-8 flex max-w-[1380px] flex-col gap-y-6 px-4 font-acumin sm:px-6 lg:mt-16 xxl:px-0" >

- Subtopics + Subtopics ({subtopics.length})

diff --git a/deployment/frontend/src/components/topics/TopicsSearch.tsx b/deployment/frontend/src/components/topics/TopicsSearch.tsx index 3a14b6bc7..52cc3f49d 100644 --- a/deployment/frontend/src/components/topics/TopicsSearch.tsx +++ b/deployment/frontend/src/components/topics/TopicsSearch.tsx @@ -6,12 +6,14 @@ export default function TopicsSearch() {