Ver código fonte

폴더이름 변경 및 import 파일 이름 변경

goodboy 6 anos atrás
pai
commit
4363e7a106
5 arquivos alterados com 38 adições e 16 exclusões
  1. 7 7
      App.js
  2. 1 1
      Src/Pages/_1_Login.js
  3. 4 4
      Src/Pages/_3_Guide1.js
  4. 4 4
      Src/Pages/_4_Guide2.js
  5. 22 0
      Src/components/Header.js

+ 7 - 7
App.js

@@ -11,11 +11,11 @@ import {
 import KeepAwake from 'react-native-keep-awake';
 
 //페이지 import 
-import LoginPage from './Src/Pages/_1_Login';
-import AcceptTerms from './Src/Pages/_2_AcceptTerms';
-import Guide1 from './Src/Pages/_3_Guide1';
-import Guide2 from './Src/Pages/_4_Guide2';
-import Main from './Src/Pages/_5_Main';
+import LoginPage from './src/pages/_1_Login';
+import AcceptTerms from './src/pages/_2_AcceptTerms';
+import Guide1 from './src/pages/_3_Guide1';
+import Guide2 from './src/pages/_4_Guide2';
+import Main from './src/pages/_5_Main';
 
 
 
@@ -25,14 +25,14 @@ import TermsPopup from './Src/Popup/_1_TermsPopup';
 
 //다국어 
 import i18n from  "i18n-js";
-import KO from "./Src/I18n/ko"
+import KO from "./src/i18n/ko"
 i18n.translations["ko"] = KO;
 i18n.locale = "ko";
 
 //모듈 임포트
 import * as RN from 'react-native'
 import * as EL from 'react-native-elements' 
-import H from './Src/Component/Header' 
+import H from './src/components/Header' 
 
 import C from 'rn-class'
 

+ 1 - 1
Src/Pages/_1_Login.js

@@ -9,7 +9,7 @@ export default (props)=>{
 
     return (
         <C.View cls="jc-sa ai-c flx1 bgc-color-white"> 
-            <C.ImageBackground source={require("../Res/speech_bubble.png")} 
+            <C.ImageBackground source={require("../res/speech_bubble.png")} 
                 cls="ai-c jc-c flx0.5 w70" 
                 resizeMode="contain" 
                 >   

+ 4 - 4
Src/Pages/_3_Guide1.js

@@ -6,10 +6,10 @@ C.addColor("#d7d7d7", "color-listbg");
 
 export default (props)=>{
     let datas = [
-        {title:"행선", sub:"Working\nmeditation", contens:"하루 20분 정도 걸으면서 하는 행선은 좌선 1시간 이상의 효과를 가져옵니다.", img : require("../Res/Working_meditation.png")},
-        {title:"주선", sub:"Standing\nmeditation", contens:"일상생활 속에 잠시 머무름은 인생에서 쉬어가는 의미를 가집니다. 바쁜 일상 속에서 잠시 머무름을 가지고 짧게 마음의 고요함을 찾으시길 바랍니다.", img : require("../Res/Standing_meditation.png")},
-        {title:"좌선", sub:"Seat and\nmeditation", contens:"가부좌가 아니더라도 일상생활 속에서 편한 자세로 앉아서 정신을 집중하여 무념무상의 상태로 들어가는 선수행을 말합니다.", img : require("../Res/Seatand_meditation.png")},
-        {title:"와선", sub:"Lying\nmeditation", contens:"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", img : require("../Res/Lying_meditation.png")},
+        {title:"행선", sub:"Working\nmeditation", contens:"하루 20분 정도 걸으면서 하는 행선은 좌선 1시간 이상의 효과를 가져옵니다.", img : require("../res/Working_meditation.png")},
+        {title:"주선", sub:"Standing\nmeditation", contens:"일상생활 속에 잠시 머무름은 인생에서 쉬어가는 의미를 가집니다. 바쁜 일상 속에서 잠시 머무름을 가지고 짧게 마음의 고요함을 찾으시길 바랍니다.", img : require("../res/Standing_meditation.png")},
+        {title:"좌선", sub:"Seat and\nmeditation", contens:"가부좌가 아니더라도 일상생활 속에서 편한 자세로 앉아서 정신을 집중하여 무념무상의 상태로 들어가는 선수행을 말합니다.", img : require("../res/Seatand_meditation.png")},
+        {title:"와선", sub:"Lying\nmeditation", contens:"OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO", img : require("../res/Lying_meditation.png")},
     ]
 
     return (

+ 4 - 4
Src/Pages/_4_Guide2.js

@@ -6,10 +6,10 @@ C.addColor("#d7d7d7", "color-listbg");
 
 export default (props)=>{
     let datas = [
-        {title:"사랑", sub:"Working\nmeditation", contens:"우리는 우리와 가까운, 우리가 원하는, 우리가 좋아하는, 우리를 편리하게 해 주고 행복하게 해 주던 많은 것들과 이별을 해야 하는 괴로움을 버려야 합니다.", img : require("../Res/Working_meditation.png")},
-        {title:"미움", sub:"Standing\nmeditation", contens:"싫어하는 것을 해야 하는 것, 싫어하는 사람과 함께 있는 것이란 얼마나 큰 괴로움인가. 이는 가장 큰 괴로움이며 여기서 벗어나야 합니다.", img : require("../Res/Standing_meditation.png")},
-        {title:"탐욕", sub:"Seat and\nmeditation", contens:"좋아하는 사람, 물건, 재산, 명예, 권력, 지위, 출세, 행복, 건강 등 얻고자 하고 바라지만 마음대로 구할 수 없는데서 괴로움은 시작된다.", img : require("../Res/Seatand_meditation.png")},
-        {title:"탐식", sub:"Lying\nmeditation", contens:"현대사회에서 물질적 풍요와 상반되게 정신적 빈곤으로 인한 강박장애, 불안장애 같은 정신적 증상은 얻고자 하는 욕심으로 인하여 나타나는 화병의 일환", img : require("../Res/Lying_meditation.png")},
+        {title:"사랑", sub:"Working\nmeditation", contens:"우리는 우리와 가까운, 우리가 원하는, 우리가 좋아하는, 우리를 편리하게 해 주고 행복하게 해 주던 많은 것들과 이별을 해야 하는 괴로움을 버려야 합니다.", img : require("../res/Working_meditation.png")},
+        {title:"미움", sub:"Standing\nmeditation", contens:"싫어하는 것을 해야 하는 것, 싫어하는 사람과 함께 있는 것이란 얼마나 큰 괴로움인가. 이는 가장 큰 괴로움이며 여기서 벗어나야 합니다.", img : require("../res/Standing_meditation.png")},
+        {title:"탐욕", sub:"Seat and\nmeditation", contens:"좋아하는 사람, 물건, 재산, 명예, 권력, 지위, 출세, 행복, 건강 등 얻고자 하고 바라지만 마음대로 구할 수 없는데서 괴로움은 시작된다.", img : require("../res/Seatand_meditation.png")},
+        {title:"탐식", sub:"Lying\nmeditation", contens:"현대사회에서 물질적 풍요와 상반되게 정신적 빈곤으로 인한 강박장애, 불안장애 같은 정신적 증상은 얻고자 하는 욕심으로 인하여 나타나는 화병의 일환", img : require("../res/Lying_meditation.png")},
     ]
  
     return (

+ 22 - 0
Src/components/Header.js

@@ -0,0 +1,22 @@
+import React from 'react';
+ 
+import i18n from  "i18n-js";
+
+import C from 'rn-class'
+
+export default (props) => {
+    return (
+        <C.EL.Header 
+            ccls="bgc-color-transparent"
+            leftComponent={<C.Image source={require("../res/header_bubble.png")}  cls="ml2 w10 h10"  resizeMode="contain" />}  
+            centerComponent={<C.Text cls="f3 fw-b ">EMPTY</C.Text>}
+            rightComponent={
+                <C.View cls="flx-row jc-sa w25 ">
+                    <C.EL.Button title="P" ccls="w10" btncls="br19.9"/>
+                    <C.EL.Button title="E" ccls="w10" btncls="br19.9"/>  
+                 </C.View>
+            }
+        >
+        </C.EL.Header>
+    )
+}