react/src/components/Header.jsx

18 lines
559 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React, { PureComponent } from 'react'
export class Header extends PureComponent {
render() {
return (
<div className='flex bg-pc shadow-md justify-between p-navbar rounded-b-2xl mx-4'>
<div>
<a className='font-bold' href='/'>Wondanes - Ele Mele Ǩismeti</a>
</div>
<div>
<a className='p-2 rounded-lg cursor-pointer hover:bg-white hover:bg-opacity-70' href={this.props.state.serverOptions.backEnd.url + "/logout"}>Çıkış Yap</a>
</div>
</div>
)
}
}
export default Header