Skip to content

Commit

Permalink
add lifetimeSaju revival
Browse files Browse the repository at this point in the history
  • Loading branch information
kapable committed Dec 24, 2024
1 parent 056193f commit 2a507ef
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 46 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7017,7 +7017,6 @@
"/kapable.github.io/acrostic/",
"/kapable.github.io/fortuneCookie/",
"/kapable.github.io/todayLuck/",
"/kapable.github.io/lifetimeSaju/",
"/kapable.github.io/fatecharmtest/",
"/kapable.github.io/blog/",
"/kapable.github.io/blog/DNAblog",
Expand Down Expand Up @@ -7098,7 +7097,9 @@
"/sajuTotalAi",
"/kapable.github.io/sajuTotalAi",
"/sajuMatchingAi",
"/kapable.github.io/sajuMatchingAi"
"/kapable.github.io/sajuMatchingAi",
"/lifetimeSaju",
"/kapable.github.io/lifetimeSaju"
]
},
"eslintConfig": {
Expand Down
8 changes: 4 additions & 4 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import ColorPickerResult from './components/TestTypes/ColorPicker/ColorPickerRes
import TwoSplitedIntro from './components/TestTypes/TwoSplitedIntro/TwoSplitedIntro';
import LifeInterpreting from './components/TestTypes/Saju/LifeInterpreting';
import LifeInterpretingResult from './components/TestTypes/Saju/LifeInterpretingResult';
import LifetimeSaju from './components/TestTypes/Saju/LifetimeSaju';
import LifetimeSajuResult from './components/TestTypes/Saju/LifetimeSajuResult';
import TodayLuck from './components/TestTypes/Saju/TodayLuck';
import TodayLuckResult from './components/TestTypes/Saju/TodayLuckResult';
import FortuneCookie from './components/TestTypes/FortuneCookie/FortuneCookie';
Expand All @@ -45,6 +43,8 @@ import MBTICompatibility, {
mbti_array,
} from './components/TestTypes/MBTICompatibility/MBTICompatibility';
import CompatibilityResult from './components/TestTypes/MBTICompatibility/CompatibilityResult';
// import LifetimeSaju from './components/TestTypes/Saju/LifetimeSaju';
// import LifetimeSajuResult from './components/TestTypes/Saju/LifetimeSajuResult';

let mbti_results_set = [];

Expand Down Expand Up @@ -473,8 +473,8 @@ function App() {
element={<LifeInterpretingResult />}
/>
{/* go to "lifetimeSaju" page */}
<Route path='/lifetimeSaju/' element={<LifetimeSaju />} />
<Route path='/lifetimeSaju/:query/' element={<LifetimeSajuResult />} />
{/* <Route path='/lifetimeSaju/' element={<LifetimeSaju />} />
<Route path='/lifetimeSaju/:query/' element={<LifetimeSajuResult />} /> */}
{/* go to "todayLuck" page */}
<Route path='/todayLuck/' element={<TodayLuck />} />
<Route path='/todayLuck/:query/' element={<TodayLuckResult />} />
Expand Down
119 changes: 79 additions & 40 deletions src/api/TESTS.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,51 @@ function range(start, stop, step) {

export const TESTS = [
// order tests with newly date order
// lifetimeSaju //
{
info: {
mainTitle: '케이테스트 사주 총평[재물운,성격운,직업운,건강운]',
subTitle: '사주로 재물운,성격운,직업운,건강운을 알아보세요.',
mainUrl: 'lifetimeSaju',
scoreType: 'aiSimulation',
mainImage:
'https://images.ktestone.com/introImages/lifetimeSaju-intro.jpg',
thumbImage:
'https://images.ktestone.com/main-thumbnail/lifetimeSaju-thumb.jpg',
horizontalBanner:
'https://images.ktestone.com/horizontalNewTest/Korea/dotori.png',
lang: 'Kor',
category: 'saju',
gptUrl:
'https://chatgpt.com/g/g-676a44f568f8819181f2881813de435c-keiteseuteu-saju-congpyeong-jaemulun-seonggyeogun-jigeobun-geongangun',
},
questions: [
{
which: '',
question: '',
answers: [
{
type: 'E',
score: 2,
content: ``,
},
{
type: 'I',
score: 5,
content: ``,
},
],
},
],
results: [
{
type: '',
desc: '',
query: '',
img_src: '',
},
],
},
// mbtiCharTree //
{
info: {
Expand Down Expand Up @@ -198239,7 +198284,7 @@ export const TESTS = [
},
],
},
// loveCharacterFemale
// loveCharacterFemale //
{
info: {
mainTitle: '연애 캐릭터 테스트 - 여자편',
Expand Down Expand Up @@ -198465,122 +198510,119 @@ export const TESTS = [
results: [
{
type: 'ESTJ',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'rjfzmfjtnl',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ESTJ.jpg',
},
{
type: 'ESTP',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'dlsaordhkd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ESTP.jpg',
},
{
type: 'ESFJ',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'vudghkwndmlwk',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ESFJ.jpg',
},
{
type: 'ESFP',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'akdldnpdl',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ESFP.jpg',
},
{
type: 'ENTJ',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'eksghqkr',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ENTJ.jpg',
},
{
type: 'ENTP',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'qnfehwj',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ENTP.jpg',
},
{
type: 'ENFJ',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'eodeodal',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ENFJ.jpg',
},
{
type: 'ENFP',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'qnsdnlrlapdlzj',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ENFP.jpg',
},
{
type: 'ISTJ',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'fkEpsms',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ISTJ.jpg',
},
{
type: 'ISTP',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'wlqtnsdl',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ISTP.jpg',
},
{
type: 'ISFJ',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'dhfkrrkfkr',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ISFJ.jpg',
},
{
type: 'ISFP',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'thtlawoddl',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/ISFP.jpg',
},
{
type: 'INTJ',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'cmsepfp',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/INTJ.jpg',
},
{
type: 'INTP',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'wkdsuwowlf',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/INTP.jpg',
},
{
type: 'INFJ',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'rhdrkadhkd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/INFJ.jpg',
},
{
type: 'INFP',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'sowjrrhkswhd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterFemale/INFP.jpg',
},
],
},
// loveCharacterMale
// loveCharacterMale //
{
info: {
mainTitle: '연애 캐릭터 테스트 - 남자편',
Expand Down Expand Up @@ -198806,115 +198848,112 @@ export const TESTS = [
results: [
{
type: 'ESTJ',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'wksthfleoakdhkd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ESTJ.jpg',
},
{
type: 'ESTP',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'dhlrkdsodb',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ESTP.jpg',
},
{
type: 'ESFJ',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'ekwjdekrka',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ESFJ.jpg',
},
{
type: 'ESFP',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'dyffhfkdlvm',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ESFP.jpg',
},
{
type: 'ENTJ',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'tmdqntk',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ENTJ.jpg',
},
{
type: 'ENTP',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'dkfEMftlswkq',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ENTP.jpg',
},
{
type: 'ENFJ',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'rhfemsflxmflqj',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ENFJ.jpg',
},
{
type: 'ENFP',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'fldortusaksfpq',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ENFP.jpg',
},
{
type: 'ISTJ',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'Rhseo',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ISTJ.jpg',
},
{
type: 'ISTP',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'wlqehfdl',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ISTP.jpg',
},
{
type: 'ISFJ',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'wkdrldusdo',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ISFJ.jpg',
},
{
type: 'ISFP',
desc: `세상 제일 귀엽지만 세상 제일 지랄견인 나는 ‘포메라니안’ \n
`,
desc: '',
query: 'Whfqh',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/ISFP.jpg',
},
{
type: 'INTJ',
desc: `작지만 용감한 난 질투쟁이 치와와~ 난 참지 않Z…!\n`,
desc: '',
query: 'gjekd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/INTJ.jpg',
},
{
type: 'INTP',
desc: `도비가 부러운 자유로운 영혼인, 웰시코기\n`,
desc: '',
query: 'dnjzjghfflr',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/INTP.jpg',
},
{
type: 'INFJ',
desc: `친숙한 댕댕이 , 리트리버\n`,
desc: '',
query: 'ajdEoflsms',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/INFJ.jpg',
},
{
type: 'INFP',
desc: `지치는 게 뭐야? ~~세상 미친 텐션 비글!\n`,
desc: '',
query: 'sowjrrhkswhd',
img_src:
'https://images.ktestone.com/resultImages/loveCharacterMale/INFP.jpg',
Expand Down

0 comments on commit 2a507ef

Please sign in to comment.