Toggle navigation
Toggle navigation
This project
Loading...
Sign in
최원석
/
2021-1-database-project
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
1seok2
2021-03-12 21:06:23 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d84ee3fb1b1772a0ed20d7b6b1fee783809393c6
d84ee3fb
1 parent
af44dcf8
set Intro style
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
91 additions
and
13 deletions
app/src/assets/style/App.scss
app/src/assets/style/Body.scss
app/src/assets/style/Footer.scss
app/src/assets/style/Intro.scss
app/src/components/addEvent.ts → app/src/components/add.event.ts
app/src/components/pageTransition.ts → app/src/components/page.transition.ts
app/src/index.ts
app/src/views/body/contents/intro/Intro.ts
app/src/views/footer/Footer.ts
app/src/assets/style/App.scss
View file @
d84ee3f
...
...
@@ -2,6 +2,10 @@ body {
margin
:
0
;
padding
:
0
;
}
*
{
text-decoration
:
none
;
color
:
#333
;
}
.container
{
display
:
flex
;
...
...
@@ -11,4 +15,9 @@ body {
min-width
:
250px
;
width
:
100vw
;
height
:
100vh
;
}
.large-title
{
font-size
:
2rem
;
color
:
#333
}
\ No newline at end of file
...
...
app/src/assets/style/Body.scss
View file @
d84ee3f
.body
{
border
:
1px
solid
gray
;
width
:
100%
;
flex-grow
:
1
;
display
:
flex
;
...
...
app/src/assets/style/Footer.scss
View file @
d84ee3f
...
...
@@ -2,9 +2,24 @@
height
:
120px
;
background-color
:
#f3f3f3
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
.8rem
;
width
:
100%
;
color
:
#aaaaaa
;
div
{
padding
:
.3rem
1
.6rem
;
width
:
90%
;
text-align
:
left
;
color
:
#aaaaaa
;
&
:first-child
{
font-size
:
1
.2rem
;
}
a
{
font-size
:
1
.2rem
;
color
:
#aaaaaa
;
}
}
}
\ No newline at end of file
...
...
app/src/assets/style/Intro.scss
0 → 100644
View file @
d84ee3f
.intro
{
width
:
240px
;
padding-bottom
:
6rem
;
#id-input
{
border
:
none
;
display
:
block
;
width
:
calc
(
100%
-
1
.4rem
);
border-bottom
:
1px
solid
#aaa
;
margin
:
1
.2rem
0
;
margin-top
:
2
.4rem
;
padding
:
0
.7rem
0
.7rem
;
color
:
#333
;
border-radius
:
.25rem
;
&
:
:
placeholder
{
color
:
#aaaaaa
;
}
&
:focus
{
outline
:
none
;
}
}
#search-button
{
width
:
100%
;
margin
:
0
;
padding
:
.8rem
.6rem
;
border
:
none
;
font-size
:
.8rem
;
color
:
#fafafa
;
background-color
:
lightskyblue
;
border-radius
:
.25rem
;
&
:focus
{
outline
:
none
;
border
:
1px
solid
deepskyblue
;
}
}
}
\ No newline at end of file
app/src/components/add
E
vent.ts
→
app/src/components/add
.e
vent.ts
View file @
d84ee3f
...
...
@@ -5,7 +5,7 @@
**/
import
{
BASE_URL
}
from
"@src/config/url"
;
import
{
randomTransition
}
from
"@src/components/page
T
ransition"
;
import
{
randomTransition
}
from
"@src/components/page
.t
ransition"
;
import
{
setState
}
from
"@src/store/state"
;
export
const
addEvent
=
async
(
...
...
app/src/components/page
T
ransition.ts
→
app/src/components/page
.t
ransition.ts
View file @
d84ee3f
File moved
app/src/index.ts
View file @
d84ee3f
...
...
@@ -5,9 +5,9 @@
**/
import
App
from
'./App'
;
import
{
initialTrantition
}
from
"./components/page
T
ransition"
;
import
{
initialTrantition
}
from
"./components/page
.t
ransition"
;
import
'./assets/style/PageTransition.scss'
;
import
{
addEvent
}
from
"@src/components/add
E
vent"
;
import
{
addEvent
}
from
"@src/components/add
.e
vent"
;
window
.
addEventListener
(
'DOMContentLoaded'
,
()
=>
{
/* add div for page transitions */
...
...
app/src/views/body/contents/intro/Intro.ts
View file @
d84ee3f
...
...
@@ -6,15 +6,20 @@
**/
import
Title
from
"@src/components/title"
;
import
'@src/assets/style/Intro.scss'
const
Intro
=
():
string
=>
{
return
`<div class="home">
<lable>
${
Title
(
'인스타 조회하기'
).
Large
}
<input id="id-input" type="text" name="insta_id" />
<button id="search-button">조회</button>
<button id="update-button">업데이</button>
</lable>
return
`<div class="intro">
<label for="id-input">
${
Title
(
'SEARCH INSTAGRAM'
).
Large
}
<input
id="id-input"
type="text"
name="insta_id"
placeholder="INSTAGRAM ID"
/>
<button id="search-button">SEARCH</button>
</label>
</div>`
}
...
...
app/src/views/footer/Footer.ts
View file @
d84ee3f
...
...
@@ -9,7 +9,18 @@ import '@src/assets/style/Footer.scss'
const
Footer
=
()
:
string
=>
{
return
`
<div class="footer">Its my Footer</div>
<div class="footer">
<div>
<a href="mailto:goesnow831@gmail.com">WON SEOG</a>
|
<a href="https://github.com/1seok2">GITHUB</a>
|
<a href="https://goeslog.github.io">BLOG</a>
</div>
<div>
© 2021 goesnow, All rights reserved
</div>
</div>
`
;
}
...
...
Please
register
or
login
to post a comment