Skip to content

Commit

Permalink
refactor(header): move title to right
Browse files Browse the repository at this point in the history
  • Loading branch information
withSang committed Nov 16, 2023
1 parent d7bf5c8 commit 11af812
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/organisms/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Typography, Layout, Flex, Col, Row } from "antd";
import { Col, Flex, Layout, Row, Typography } from "antd";

import { SNSHomepage, SNSInstagram, SNSLinkedin, SNSYoutube } from "@/assets";

Expand Down Expand Up @@ -54,7 +54,7 @@ const FooterLinks = () => (
);

const NewwaysFooter = () => (
<Footer style={{ textAlign: "center" }}>
<Footer style={{ textAlign: "start" }}>
<Row justify="center">
<Col span={16}>
<Flex vertical align="start" gap="large">
Expand Down
24 changes: 21 additions & 3 deletions src/components/organisms/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
import { Layout } from "antd";
import { Col, Layout, Row } from "antd";
import { css } from "@emotion/react";
import { NewWaysLogo } from "@/assets";

const { Header } = Layout;

const NewwaysHeader = () => (
<Header style={{ display: "flex", alignItems: "center" }}>
<NewWaysLogo />
<Header>
<Row
justify="center"
align="stretch"
css={css`
height: 100%;
`}
>
<Col
css={css`
display: flex;
justify-content: start;
align-items: center;
`}
span={16}
>
<NewWaysLogo />
</Col>
</Row>
</Header>
);

Expand Down

0 comments on commit 11af812

Please sign in to comment.