Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bluejoyq
/
searchGuide
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
bluejoyq
2019-12-07 19:28:40 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4e6dc209e1d098d2a5e5a567956c2bfa4e7fd20b
4e6dc209
1 parent
d4924fb6
font add
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
searchGuide/.expo/packager-info.json
searchGuide/App.js
searchGuide/assets/font/NanumBarunGothic.ttf
searchGuide/assets/font/NanumBarunGothicBold.ttf
searchGuide/.expo/packager-info.json
View file @
4e6dc20
...
...
@@ -2,8 +2,8 @@
"devToolsPort"
:
19002
,
"expoServerPort"
:
19000
,
"packagerPort"
:
19001
,
"packagerPid"
:
30416
,
"packagerPid"
:
27784
,
"expoServerNgrokUrl"
:
"https://ru-c66.bluejoy.searchguide.exp.direct"
,
"packagerNgrokUrl"
:
"https://packager.ru-c66.bluejoy.searchguide.exp.direct"
,
"ngrokPid"
:
9812
"ngrokPid"
:
16708
}
...
...
searchGuide/App.js
View file @
4e6dc20
import
React
from
'react'
;
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
Main
from
'./components/Main/Main'
import
{
Provider
,
connect
}
from
'react-redux'
;
import
Store
from
'./reducers/Store'
;
import
*
as
Font
from
'expo-font'
;
const
App
=
()
=>
{
return
(
<
Provider
store
=
{
Store
}
>
<
Main
/>
<
/Provider
>
)
const
[
fontLoaded
,
setFontLoaded
]
=
useState
(
false
);
useEffect
(
()
=>
{
const
fontLoading
=
async
()
=>
{
await
Font
.
loadAsync
({
'CustomFont'
:
require
(
'./assets/font/NanumBarunGothic.ttf'
),
'CustomFontBold'
:
require
(
'./assets/font/NanumBarunGothicBold.ttf'
)
});
setFontLoaded
(
true
);
}
fontLoading
();
},
[]
)
return
(
<
Provider
store
=
{
Store
}
>
{
fontLoaded
?
<
Main
/>
:
null
}
<
/Provider
>
)
}
export
default
App
;
\ No newline at end of file
...
...
searchGuide/assets/font/NanumBarunGothic.ttf
0 → 100644
View file @
4e6dc20
No preview for this file type
searchGuide/assets/font/NanumBarunGothicBold.ttf
0 → 100644
View file @
4e6dc20
No preview for this file type
Please
register
or
login
to post a comment