2024-10-12 02:08:44 +03:00
|
|
|
|
import * as React from "react";
|
|
|
|
|
|
import {graphql, Link} from "gatsby";
|
|
|
|
|
|
import Listing from "../../components/Listing/Listing";
|
2024-10-22 22:44:24 +03:00
|
|
|
|
import Layout from "../../components/Layout/Layout";
|
|
|
|
|
|
import Tabs from "../../components/Tabs/Tabs";
|
|
|
|
|
|
import Filter from "../../components/Filter/Filter";
|
|
|
|
|
|
|
|
|
|
|
|
const TABS = [
|
|
|
|
|
|
{
|
|
|
|
|
|
title: "Clothing"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
title: "Shoes"
|
|
|
|
|
|
},
|
|
|
|
|
|
{
|
|
|
|
|
|
title: "Accessories"
|
|
|
|
|
|
}
|
|
|
|
|
|
]
|
2024-10-12 02:08:44 +03:00
|
|
|
|
|
|
|
|
|
|
const List = ({data, location}) => {
|
|
|
|
|
|
const products = data.allDataJson.nodes;
|
|
|
|
|
|
const images = data.allImageSharp.nodes;
|
|
|
|
|
|
|
|
|
|
|
|
return (
|
2024-10-22 22:44:24 +03:00
|
|
|
|
<Layout breafcrumbs={location}>
|
2024-10-12 02:08:44 +03:00
|
|
|
|
<h1>Insights</h1>
|
|
|
|
|
|
<p className="text-container m-b-56">
|
|
|
|
|
|
Upcoming fashion insights, enabling you to make informed procurement and
|
|
|
|
|
|
manufacturing decisions that align with consumer preferences and market
|
|
|
|
|
|
demands
|
|
|
|
|
|
</p>
|
2024-10-22 22:44:24 +03:00
|
|
|
|
<div className="center flex flex--center flex--gap-32">
|
|
|
|
|
|
<Link
|
|
|
|
|
|
to="/insights/"
|
|
|
|
|
|
className="button button__primary active"
|
|
|
|
|
|
style={{pointerEvents: 'none'}}
|
|
|
|
|
|
>
|
|
|
|
|
|
Men’s Fashion
|
|
|
|
|
|
</Link>
|
|
|
|
|
|
<Link
|
|
|
|
|
|
to="/insights/"
|
|
|
|
|
|
className="button button__primary"
|
|
|
|
|
|
style={{pointerEvents: 'none'}}
|
|
|
|
|
|
>
|
2024-10-12 02:08:44 +03:00
|
|
|
|
Women’s Fashion
|
|
|
|
|
|
</Link>
|
2024-10-22 22:44:24 +03:00
|
|
|
|
<Link
|
|
|
|
|
|
to="/insights/"
|
|
|
|
|
|
className="button button__primary active"
|
|
|
|
|
|
style={{pointerEvents: 'none'}}
|
|
|
|
|
|
>
|
|
|
|
|
|
Kid’s Fashion
|
|
|
|
|
|
</Link>
|
2024-10-12 02:08:44 +03:00
|
|
|
|
</div>
|
2024-10-22 22:44:24 +03:00
|
|
|
|
<div className="center flex flex--center flex--gap-32">
|
|
|
|
|
|
<Tabs tabs={TABS} activeTabIndex={0} />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<Filter />
|
2024-10-12 02:08:44 +03:00
|
|
|
|
<Listing products={products} images={images}/>
|
2024-10-22 22:44:24 +03:00
|
|
|
|
</Layout>
|
2024-10-12 02:08:44 +03:00
|
|
|
|
);
|
|
|
|
|
|
};
|
|
|
|
|
|
export const query = graphql`
|
|
|
|
|
|
query {
|
|
|
|
|
|
allDataJson {
|
|
|
|
|
|
nodes {
|
|
|
|
|
|
name
|
|
|
|
|
|
images
|
|
|
|
|
|
tags
|
|
|
|
|
|
description
|
|
|
|
|
|
socialMedia {
|
|
|
|
|
|
Twitter {
|
|
|
|
|
|
Social_Media_Influence
|
|
|
|
|
|
Tweet_Bookmarks
|
|
|
|
|
|
Tweet_Bookmarks_Relative_to_Average
|
|
|
|
|
|
Tweet_Likes
|
|
|
|
|
|
Tweet_Likes_Relative_to_Average
|
|
|
|
|
|
Tweet_Quotes
|
|
|
|
|
|
Tweet_Quotes_Relative_to_Average
|
|
|
|
|
|
Tweet_Reposts
|
|
|
|
|
|
Tweet_Reposts_Relative_to_Average
|
|
|
|
|
|
Tweet_Views
|
|
|
|
|
|
Tweet_Views_Relative_to_Average
|
|
|
|
|
|
found
|
|
|
|
|
|
}
|
|
|
|
|
|
Instagram {
|
|
|
|
|
|
Post_Comments
|
|
|
|
|
|
Post_Comments_Relative_to_Average
|
|
|
|
|
|
Post_Likes
|
|
|
|
|
|
Post_Likes_Relative_to_Average
|
|
|
|
|
|
Social_Media_Influence
|
|
|
|
|
|
found
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
allImageSharp(sort: { original: { src: ASC } }) {
|
|
|
|
|
|
nodes {
|
|
|
|
|
|
gatsbyImageData(
|
|
|
|
|
|
width: 400
|
|
|
|
|
|
height: 500
|
|
|
|
|
|
placeholder: BLURRED
|
|
|
|
|
|
transformOptions: { cropFocus: CENTER, fit: COVER }
|
|
|
|
|
|
)
|
|
|
|
|
|
fluid {
|
|
|
|
|
|
originalName
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
export default List;
|