260206_01_ENH: 일부 차트색상 변경, 브랜드별 차트 부분 색상 변경 필요
This commit is contained in:
@@ -144,8 +144,8 @@ const LGPenetrationPage = () => {
|
||||
chart={
|
||||
<GroupedOverlayBar
|
||||
data={productChartData}
|
||||
yearTotalColor={{ "24": "--chart-total-1", "25": "--chart-total-2", "26": "--chart-total-3" }}
|
||||
yearFocusColor={{ "24": "--chart-lg-1", "25": "--chart-lg-2", "26": "--chart-lg-3" }}
|
||||
yearTotalColor={{ "24": "--chart-3-t", "25": "--chart-2-t", "26": "--chart-1-t" }}
|
||||
yearFocusColor={{ "24": "--chart-3", "25": "--chart-2", "26": "--chart-1" }}
|
||||
showFocusLabel={"last"}
|
||||
/>
|
||||
}
|
||||
|
||||
@@ -89,8 +89,8 @@ const LGPurchasePage = () => {
|
||||
chart={
|
||||
<GroupedOverlayBar
|
||||
data={purchaseChartData}
|
||||
yearTotalColor={{ "24": "--chart-total-1", "25": "--chart-total-2", "26": "--chart-total-3" }}
|
||||
yearFocusColor={{ "24": "--chart-lg-1", "25": "--chart-lg-2", "26": "--chart-lg-3" }}
|
||||
yearTotalColor={{ "24": "--chart-3-t", "25": "--chart-2-t", "26": "--chart-1-t" }}
|
||||
yearFocusColor={{ "24": "--chart-3", "25": "--chart-2", "26": "--chart-1" }}
|
||||
showFocusLabel={"last"}
|
||||
/>
|
||||
}
|
||||
|
||||
@@ -14,17 +14,7 @@ export const POST = async (req: NextRequest) => {
|
||||
const backApi = await createBackApi();
|
||||
|
||||
const body = (await req.json()) as LoginRequest;
|
||||
//const result = await backApi.post<LoginResponse>("/auth/login", body);
|
||||
const result:LoginResponse = {
|
||||
accessToken: "abcdefghijklmnopqrstuvwxyz0123456789",
|
||||
user: {
|
||||
userId: "TEST_USER",
|
||||
userName: "TEST_USER",
|
||||
userCmpn: "TEST",
|
||||
userTeam: "TEST",
|
||||
userRole: 9999,
|
||||
}
|
||||
}
|
||||
const result = await backApi.post<LoginResponse>("/auth/login", body);
|
||||
|
||||
const res = NextResponse.json(result.user, { status: 200 });
|
||||
res.cookies.set("access_token", result.accessToken, {
|
||||
|
||||
@@ -176,9 +176,13 @@
|
||||
/* =============================
|
||||
Chart Colors
|
||||
============================= */
|
||||
--chart-1: var(--lg-red-600);
|
||||
--chart-2: var(--lg-red-300);
|
||||
--chart-3: var(--lg-pink-300);
|
||||
--chart-1: hsl(334 81% 41%);
|
||||
--chart-2: hsl(0 0% 49%);
|
||||
--chart-3: hsl(0 0% 74%);
|
||||
--chart-1-t: hsl(334 80% 90%);
|
||||
--chart-2-t: hsl(0 0% 70%);
|
||||
--chart-3-t: hsl(0 0% 88%);
|
||||
|
||||
--chart-4: var(--lg-pink-400);
|
||||
--chart-5: var(--lg-pink-600);
|
||||
--chart-6: var(--lg-gray-500);
|
||||
|
||||
Reference in New Issue
Block a user