Skip to content

Commit

Permalink
setup for aiSimulation category
Browse files Browse the repository at this point in the history
  • Loading branch information
kapable committed Dec 18, 2024
1 parent 47ca4b2 commit bc55e35
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ function App() {
'characteristic',
'love',
'ai',
'aiSimulation',
'etc',
]);

Expand Down
15 changes: 6 additions & 9 deletions src/api/TESTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const TESTS = [
horizontalBanner:
'https://images.ktestone.com/horizontalNewTest/Korea/dotori.png',
lang: 'Kor',
category: 'characteristic',
category: 'aiSimulation',
gptUrl:
'https://chatgpt.com/g/g-6760f95fbab481918bb124437a65d5a6-sseomnyeo-f',
},
Expand All @@ -64,8 +64,7 @@ export const TESTS = [
type: '',
desc: '',
query: '',
img_src:
'',
img_src: '',
},
],
},
Expand All @@ -83,7 +82,7 @@ export const TESTS = [
horizontalBanner:
'https://images.ktestone.com/horizontalNewTest/Korea/dotori.png',
lang: 'Kor',
category: 'characteristic',
category: 'aiSimulation',
gptUrl:
'https://chatgpt.com/g/g-6760f95fbab481918bb124437a65d5a6-sseomnyeo-f',
},
Expand All @@ -110,8 +109,7 @@ export const TESTS = [
type: '',
desc: '',
query: '',
img_src:
'',
img_src: '',
},
],
},
Expand All @@ -129,7 +127,7 @@ export const TESTS = [
horizontalBanner:
'https://images.ktestone.com/horizontalNewTest/Korea/dotori.png',
lang: 'Kor',
category: 'characteristic',
category: 'aiSimulation',
gptUrl:
'https://chatgpt.com/g/g-675ff2ee42f48191bbcfd95656ea2c40-sseomnam-f',
},
Expand All @@ -156,8 +154,7 @@ export const TESTS = [
type: '',
desc: '',
query: '',
img_src:
'',
img_src: '',
},
],
},
Expand Down
9 changes: 8 additions & 1 deletion src/components/Sub/CategoryIconsMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ import React from 'react';
import { Link } from 'react-router-dom';

function CategoryIconsMain({ lang }) {
const categoryListKor = ['', 'characteristic', 'love', 'saju', 'etc'];
const categoryListKor = [
'',
'characteristic',
'love',
'aiSimulation',
'saju',
'etc',
];
const categoryList = ['', 'characteristic', 'love', 'etc'];
if (lang === 'Kor' || !lang) {
return (
Expand Down

0 comments on commit bc55e35

Please sign in to comment.