mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2025-04-19 00:11:28 +08:00
44 lines
1.1 KiB
TypeScript
44 lines
1.1 KiB
TypeScript
import * as React from "react";
|
|
|
|
import styles from "../../styles";
|
|
import AppIcon from "../AppIcon/AppIcon";
|
|
import Login from "../LoginButton/LoginButton";
|
|
import HomeIcon from "../HomeIcon/HomeIcon";
|
|
import UserIcon from "../UserIcon/UserIcon";
|
|
|
|
export default function Header() {
|
|
return (
|
|
<div style={styles.header}>
|
|
<div style={styles.flex_row}>
|
|
<div
|
|
style={{
|
|
...styles.header_contentwrapper,
|
|
...{ flex: 2 },
|
|
}}
|
|
>
|
|
<HomeIcon size={32} color="white" />
|
|
<UserIcon size={32} color="white" />
|
|
</div>
|
|
<div
|
|
style={{
|
|
...styles.header_contentwrapper,
|
|
...{ flex: 6 },
|
|
}}
|
|
>
|
|
<AppIcon size={48} color="white" />
|
|
<p style={styles.text_medium}>Clip Notes</p>
|
|
</div>
|
|
<div
|
|
style={{
|
|
...styles.header_contentwrapper,
|
|
...{ flex: 2 },
|
|
}}
|
|
>
|
|
<div style={styles.flex_row}>
|
|
<Login />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|