b4ad3000d5a2fa77409d9183c8fedb0b.json
11.9 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _react=_interopRequireDefault(require(\"react\"));var _View=_interopRequireDefault(require(\"react-native-web/dist/exports/View\"));var _Text=_interopRequireDefault(require(\"react-native-web/dist/exports/Text\"));var _StyleSheet=_interopRequireDefault(require(\"react-native-web/dist/exports/StyleSheet\"));var _Button=_interopRequireDefault(require(\"react-native-web/dist/exports/Button\"));var _Alert=_interopRequireDefault(require(\"react-native-web/dist/exports/Alert\"));var _FontAwesome=_interopRequireDefault(require(\"@expo/vector-icons/FontAwesome\"));var _reactNativeSwiper=_interopRequireDefault(require(\"react-native-swiper\"));var FirstSlide=function FirstSlide(){return _react.default.createElement(_View.default,{style:styles.slide1},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uB2F9\\uC2E0\\uC774 \\uAD81\\uAE08\\uD574\\uD558\\uB294\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uC9C8\\uBB38\\uC744 \\uAC80\\uC0C9\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uAC00 \\uB2F9\\uC2E0\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uC9C8\\uBB38\\uC744 \\uC774\\uD574\\uD560\\uAC70\\uC5D0\\uC694\"));};var SecondSlide=function SecondSlide(){return _react.default.createElement(_View.default,{style:styles.slide2},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAE38\\uC7A1\\uC774\\uAC00 \\uC218\\uC815\\uD55C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9 \\uBB38\\uC7A5\\uC744 \\uD655\\uC778\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uB294 \\uD56D\\uC0C1 \\uCD5C\\uC801\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAC80\\uC0C9\\uD0A4\\uC6CC\\uB4DC\\uB97C \\uC81C\\uC548\\uD569\\uB2C8\\uB2E4\"));};var ThirdSlide=function ThirdSlide(){return _react.default.createElement(_View.default,{style:styles.slide3},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9 \\uC810\\uC218\\uC640 \\uADF8\\uB798\\uD504\\uB85C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9\\uB2A5\\uB825\\uC744 \\uCCB4\\uD06C\\uD558\\uC138\\uC694\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAE38\\uC7A1\\uC774\\uB294 \\uB2F9\\uC2E0\\uC758\"),_react.default.createElement(_Text.default,{style:styles.subtext},\"\\uAC80\\uC0C9\\uB2A5\\uB825 \\uD5A5\\uC0C1\\uC2DC\\uD0B5\\uB2C8\\uB2E4\"));};var LastSlide=function LastSlide(){return _react.default.createElement(_View.default,{style:styles.slide4},_react.default.createElement(_FontAwesome.default,{name:\"search\",style:styles.icon,size:50}),_react.default.createElement(_Text.default,{style:styles.text},\"\\uB0B4 \\uC190 \\uC548\\uC758 \\uAC80\\uC0C9 \\uB3C4\\uC6B0\\uBBF8\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAE38\\uC7A1\\uC774\\uC5D0\\uC11C\"),_react.default.createElement(_Text.default,{style:styles.text},\"\\uAC80\\uC0C9\\uC744 \\uC2DC\\uC791\\uD558\\uC138\\uC694\"));};var _default=PromptSearch=function PromptSearch(){return _react.default.createElement(_react.default.Fragment,null,_react.default.createElement(_reactNativeSwiper.default,{style:styles.wrapper,showsButtons:true,loop:false,height:400,activeDotColor:\"#3BAD87\",nextButton:_react.default.createElement(_Text.default,{style:{color:'#3BAD87',fontSize:60}},\"\\u203A\"),prevButton:_react.default.createElement(_Text.default,{style:{color:'#3BAD87',fontSize:60}},\"\\u2039\")},_react.default.createElement(FirstSlide,null),_react.default.createElement(SecondSlide,null),_react.default.createElement(ThirdSlide,null),_react.default.createElement(LastSlide,null)));};exports.default=_default;var styles=_StyleSheet.default.create({container:{width:'100%',alignItems:'center',justifyContent:'center'},text:{marginBottom:10,fontSize:30,fontWeight:'bold',color:'#999999'},icon:{marginBottom:20,color:'#999999'},subtext:{marginBottom:10,fontSize:20,fontWeight:'bold',color:'#999999'},wrapper:{flex:1},slide1:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide2:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide3:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'},slide4:{flex:1,justifyContent:'center',alignItems:'center',backgroundColor:'#eee'}});","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/components/PromptSearch/PromptSearch.js"],"names":["FirstSlide","styles","slide1","icon","text","subtext","SecondSlide","slide2","ThirdSlide","slide3","LastSlide","slide4","PromptSearch","wrapper","color","fontSize","StyleSheet","create","container","width","alignItems","justifyContent","marginBottom","fontWeight","flex","backgroundColor"],"mappings":"mKAAA,oD,kaAEA,mFACA,8EAGA,GAAMA,CAAAA,UAAU,CAAG,QAAbA,CAAAA,UAAa,SACf,8BAAC,aAAD,EAAM,KAAK,CAAEC,MAAM,CAACC,MAApB,EACI,6BAAC,oBAAD,EAAM,IAAI,CAAC,QAAX,CAAoB,KAAK,CAAED,MAAM,CAACE,IAAlC,CAAwC,IAAI,CAAE,EAA9C,EADJ,CAEI,6BAAC,aAAD,EAAM,KAAK,CAAEF,MAAM,CAACG,IAApB,sDAFJ,CAGI,6BAAC,aAAD,EAAM,KAAK,CAAEH,MAAM,CAACG,IAApB,sDAHJ,CAII,6BAAC,aAAD,EA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iB,YAAY,CAAE,EADV,CAEJP,QAAQ,CAAE,EAFN,CAGJQ,UAAU,CAAE,MAHR,CAIJT,KAAK,CAAC,SAJF,CAhBqB,CAsB7BD,OAAO,CAAE,CACLW,IAAI,CAAC,CADA,CAtBoB,CAyB7BtB,MAAM,CAAE,CACNsB,IAAI,CAAE,CADA,CAENH,cAAc,CAAE,QAFV,CAGND,UAAU,CAAE,QAHN,CAINK,eAAe,CAAE,MAJX,CAzBqB,CA+B7BlB,MAAM,CAAE,CACNiB,IAAI,CAAE,CADA,CAENH,cAAc,CAAE,QAFV,CAGND,UAAU,CAAE,QAHN,CAINK,eAAe,CAAE,MAJX,CA/BqB,CAqC7BhB,MAAM,CAAE,CACNe,IAAI,CAAE,CADA,CAENH,cAAc,CAAE,QAFV,CAGND,UAAU,CAAE,QAHN,CAINK,eAAe,CAAE,MAJX,CArCqB,CA2C7Bd,MAAM,CAAE,CACJa,IAAI,CAAE,CADF,CAEJH,cAAc,CAAE,QAFZ,CAGJD,UAAU,CAAE,QAHR,CAIJK,eAAe,CAAE,MAJb,CA3CqB,CAAlB,CAAf","sourcesContent":["import React from 'react';\r\nimport { View,Text, StyleSheet, Button,Alert } from 'react-native';\r\nimport Icon from 'react-native-vector-icons/FontAwesome';\r\nimport Swiper from 'react-native-swiper';\r\nimport { DARK_MAIN,LIGHT_MAIN, WHITE_MAIN} from 'react-native-dotenv';\r\n\r\nconst FirstSlide = () => (\r\n <View style={styles.slide1} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>당신이 궁금해하는</Text>\r\n <Text style={styles.text}>질문을 검색하세요</Text>\r\n <Text style={styles.subtext}>길잡이가 당신의</Text>\r\n <Text style={styles.subtext}>질문을 이해할거에요</Text>\r\n </View>\r\n)\r\nconst SecondSlide = () => (\r\n <View style={styles.slide2} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>길잡이가 수정한</Text>\r\n <Text style={styles.text}>검색 문장을 확인하세요</Text>\r\n <Text style={styles.subtext}>길잡이는 항상 최적의</Text>\r\n <Text style={styles.subtext}>검색키워드를 제안합니다</Text>\r\n </View>\r\n)\r\nconst ThirdSlide = () => (\r\n <View style={styles.slide3} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>검색 점수와 그래프로</Text>\r\n <Text style={styles.text}>검색능력을 체크하세요</Text>\r\n <Text style={styles.subtext}>길잡이는 당신의</Text>\r\n <Text style={styles.subtext}>검색능력 향상시킵니다</Text>\r\n </View>\r\n)\r\nconst LastSlide = () => (\r\n <View style={styles.slide4} >\r\n <Icon name='search' style={styles.icon} size={50} />\r\n <Text style={styles.text}>내 손 안의 검색 도우미</Text>\r\n <Text style={styles.text}>길잡이에서</Text>\r\n <Text style={styles.text}>검색을 시작하세요</Text>\r\n </View>\r\n)\r\n\r\nexport default PromptSearch = () => {\r\n return(\r\n <>\r\n <Swiper style={styles.wrapper} \r\n showsButtons={true} \r\n loop={false} height={400}\r\n activeDotColor={LIGHT_MAIN}\r\n nextButton={<Text style={{color:'#3BAD87', fontSize:60}}>›</Text>}\r\n prevButton={<Text style={{color:'#3BAD87', fontSize:60}}>‹</Text>}\r\n >\r\n <FirstSlide />\r\n <SecondSlide />\r\n <ThirdSlide />\r\n <LastSlide />\r\n </Swiper>\r\n </>\r\n )\r\n}\r\n\r\nconst styles = StyleSheet.create({\r\n container: {\r\n width: '100%',\r\n alignItems: 'center',\r\n justifyContent:'center',\r\n },\r\n text:{\r\n marginBottom: 10,\r\n fontSize: 30,\r\n fontWeight: 'bold',\r\n color:'#999999',\r\n },\r\n icon: {\r\n marginBottom: 20,\r\n color: '#999999'\r\n },\r\n subtext:{\r\n marginBottom: 10,\r\n fontSize: 20,\r\n fontWeight: 'bold',\r\n color:'#999999',\r\n },\r\n wrapper: {\r\n flex:1,\r\n },\r\n slide1: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide2: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide3: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n slide4: {\r\n flex: 1,\r\n justifyContent: 'center',\r\n alignItems: 'center',\r\n backgroundColor: '#eee',\r\n },\r\n });"]},"metadata":{},"sourceType":"script"}