-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
53 additions
and
17 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
import './App.css'; | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
import React from 'react'; | ||
import logoRoot from "../src/resource/unisphere_logo.png"; | ||
import chRoot from "../src/resource/character_unisphere.png"; | ||
|
||
class App extends React.Component { | ||
render() { | ||
return <Container></Container>; | ||
} | ||
function App() { | ||
return ( | ||
<div className='App'> | ||
<div> | ||
<img id="logo" src={logoRoot} alt="logo"/> | ||
</div> | ||
<div> | ||
<img id="character" src={chRoot} alt="ch"/> | ||
</div> | ||
</div> | ||
); | ||
} | ||
|
||
const Container = styled.div` | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
background: './resource/main_background.png'; | ||
background-size: cover; | ||
`; | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from 'react'; | ||
import styled from 'styled-components'; | ||
import logoImage from '../resource/unisphere_logo.png'; // 로고 이미지 | ||
|
||
function MainLogo() { | ||
return ( | ||
<UniLogo/> | ||
); | ||
} | ||
|
||
const UniLogo = styled.img` | ||
src: url(${logoImage}); | ||
`; | ||
|
||
export default MainLogo; |