Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature/#29/graph-…
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
mungjin01 committed Mar 10, 2024
2 parents d4294a2 + 71ed5db commit 2ffca7a
Show file tree
Hide file tree
Showing 3 changed files with 265 additions and 0 deletions.
262 changes: 262 additions & 0 deletions src/test/RelatedKeyword.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
import styled from 'styled-components';
import line from './line.png';

export const RelatedKeyword = () => {
return (
<RelatedKeywordWrapper>
<SubCircle1>텍스트</SubCircle1>
<SubCircle2>텍스트</SubCircle2>
<SubCircle3>텍스트</SubCircle3>
<SubCircle4>텍스트</SubCircle4>
<SubCircle5>텍스트</SubCircle5>
<SubCircle6>텍스트</SubCircle6>
<SubCircle7>텍스트</SubCircle7>
<SubCircle8>텍스트</SubCircle8>
<MainCircle>텍스트</MainCircle>
<img className="img" src={line} alt="" />
</RelatedKeywordWrapper>
);
};

export const RelatedKeywordWrapper = styled.div`
border: 1px solid black;
justify-content: center;
max-width: 1100px;
width: 100%;
height: 100%;
display: flex;
position: relative;
/* min-height: 870px; */
margin: 100px auto;
img {
position: absolute;
}
`;

export const MainCircle = styled.div`
border-radius: 100%;
background-image: url(${line});
background-size: cover;
border: 15px solid var(--red-red-0430, #f2c4ca);
background: var(--Red-Red_01, #d33b4d);
display: inline-flex;
height: 280px;
max-width: 280px;
width: 100%;
padding: 0px 48px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 40px;
color: var(--White, #fff);
font-size: 3rem;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 115.2px */
letter-spacing: -1.28px;
margin-top: 90px;
margin-left: 40px;
z-index: 999;
`;

export const SubCircle1 = styled.div`
display: inline-flex;
max-width: 150px;
height: 150px;
width: 100%;
padding: 0px 28px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
background: var(--red-red-0280, #dc6271);
color: var(--White, #fff);
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%;
letter-spacing: -0.64px;
//
position: absolute;
top: -100px;
right: 80px;
`;

export const SubCircle2 = styled.div`
display: inline-flex;
max-width: 150px;
height: 150px;
width: 100%;
padding: 0px 28px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
background: var(--red-red-0280, #dc6271);
color: var(--White, #fff);
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%;
letter-spacing: -0.64px;
position: absolute;
top: 5px;
left: 220px;
z-index: 999;
`;

export const SubCircle3 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
color: var(--White, #fff);
position: absolute;
top: -120px;
left: 490px;
z-index: 999;
font-family: Pretendard;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
background: var(--red-red-0430, #f2c4ca);
`;

export const SubCircle4 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
color: var(--White, #fff);
position: absolute;
top: 520px;
left: 500px;
z-index: 999;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
background: var(--red-red-0430, #f2c4ca);
`;

export const SubCircle5 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
background: var(--red-red-0280, #dc6271);
color: var(--White, #fff);
position: absolute;
top: 460px;
left: 200px;
z-index: 999;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
`;

export const SubCircle6 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
color: var(--White, #fff);
position: absolute;
top: 200px;
left: -30px;
z-index: 999;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
background: var(--red-red-0430, #f2c4ca);
`;

export const SubCircle7 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
color: var(--White, #fff);
position: absolute;
top: 200px;
right: -20px;
z-index: 999;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
background: var(--red-red-0430, #f2c4ca);
`;

export const SubCircle8 = styled.div`
display: inline-flex;
max-width: 140px;
height: 140px;
width: 100%;
padding: 20px;
box-sizing: border-box;
justify-content: center;
align-items: center;
gap: 23px;
flex-shrink: 0;
border-radius: 100%;
background: var(--red-red-0280, #dc6271);
color: var(--White, #fff);
position: absolute;
top: 440px;
right: 160px;
z-index: 999;
font-size: 32px;
font-style: normal;
font-weight: 500;
line-height: 180%; /* 57.6px */
letter-spacing: -0.64px;
`;
3 changes: 3 additions & 0 deletions src/test/chaemin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { useState } from 'react';
import { InstaArchive } from '../components/sns/InstaArchive';
import { YoutubeArchive } from '../components/sns/YoutubeArchive';
import { NaverArchive } from '../components/sns/NaverArchive';
import { RelatedKeyword } from './RelatedKeyword';

export const TestChaemin = () => {
const [show, setShow] = useState<boolean>(false);
Expand Down Expand Up @@ -71,6 +72,8 @@ export const TestChaemin = () => {
/> */}
</div>

<RelatedKeyword />

{/* <div style={{ width: '800px', height: '500px', margin: '0 auto' }}>
<ResponsiveBullet
data={data}
Expand Down
Binary file added src/test/line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ffca7a

Please sign in to comment.