Skip to content

Commit

Permalink
๐ŸŒˆ Design: ๊ณตํ†ต ์ปดํฌ๋„ŒํŠธ ์ƒํƒœ ๋ฐ ๊ธฐ๋ณธ๊ฐ’ ์ถ”๊ฐ€ (์ง„ํ–‰ ์ค‘) (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
SoRaang committed Nov 29, 2024
1 parent 67b3850 commit cd94f2b
Show file tree
Hide file tree
Showing 25 changed files with 719 additions and 139 deletions.
5 changes: 5 additions & 0 deletions router.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import BaseLayout from './src/components/layout/BaseLayout';
import ComponentMuseum from './src/pages/ComponentMuseum';
import MainPage from './src/pages/MainPage';

export const routesConfig = [
Expand All @@ -18,6 +19,10 @@ export const routesConfig = [
path: '/missing',
element: <>Oh No</>,
},
{
path: '/museum',
element: <ComponentMuseum />,
},
],
},
];
38 changes: 38 additions & 0 deletions src/assets/stylesheets/components/_mainModal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,11 @@
/* ๋ฆฌ๋ทฐ ์ข…ํ•ฉ ์„น์…˜ */

#review-total-score {
display: flex;
gap: 1.2rem;
position: sticky;
inset-block: 0;
border-block-end: 1px solid rgb(var(--clr-text) / 0.15);
background-color: rgb(var(--clr-white));
z-index: 2;
}
Expand Down Expand Up @@ -243,6 +246,41 @@

.review-ai-summary {
// ๋ชฐ๋ž˜ ๋„ฃ์–ด๋†”์•ผ์ง€ ํžˆํžˆ
flex: 1;
margin: 0.8rem;
padding: 0.8rem;
border-radius: var(--rad-lg);
background-color: rgb(var(--clr-info) / 0.05);
font-size: var(--fnt-sm);
}

.ai-summary-title {
display: flex;
align-items: center;
gap: 0.2rem;
margin-block-end: 0.6rem;
width: fit-content;
background-image: linear-gradient(to right, blue, red, gold);
color: transparent;
font-weight: 900;
background-clip: text;

> .remix {
color: slateblue;
}
}

.ai-summary-content {
line-height: 1.4;
word-break: break-all;

&::before {
content: 'โ€œ';
}

&::after {
content: 'โ€';
}
}

/* _mainModal.scss */
2 changes: 1 addition & 1 deletion src/assets/stylesheets/components/_modalFormInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
}

#modal-form-textarea {
flex: 1;
min-height: 3.6rem;
resize: vertical;
}

.modal-form-controls {
Expand Down
25 changes: 20 additions & 5 deletions src/assets/stylesheets/components/_nametag.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
/* _nameTag.scss */

.nametag-content {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 0.4rem;
position: relative;
width: 3.5rem;
height: 1.25rem;

&-icon {
display: flex;
Expand All @@ -13,16 +14,30 @@
width: 1.2rem;
height: 1.2rem;
background: rgb(var(--clr-gray));
border: 0.05rem solid rgba(0, 0, 0, 0.15);
border: 1px solid rgb(var(--clr-text) / 0.15);
border-radius: var(--rad-full);
position: relative;
overflow: clip;

> .remix {
color: rgb(var(--clr-white) / 0.5);
margin-block-start: 0.4rem;
}
}

&-user-image {
position: absolute;
inset: 0;
}

&-username {
max-width: 8rem;
color: rgb(var(--clr-text));
overflow: hidden;
font-size: var(--fnt-md);
font-weight: 700;
max-width: 6rem;
text-overflow: ellipsis;
overflow: hidden;
}
}

/* _nameTag.scss */
2 changes: 2 additions & 0 deletions src/assets/stylesheets/components/_notificationCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@
height: 2.4rem;
background-color: rgb(var(--clr-white) / 0.75);
backdrop-filter: blur(1.8rem);
font-size: var(--fnt-sm);
font-weight: 700;
}

/* _notificationCard.scss */
7 changes: 0 additions & 7 deletions src/assets/stylesheets/components/_reviewItem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@
display: flex;
justify-content: space-between;
align-items: center;

> div:first-child {
width: 1.2rem;
height: 1.2rem;
border-radius: var(--rad-full);
background-color: rgb(var(--clr-gray));
}
}

.review-item-summary {
Expand Down
Loading

0 comments on commit cd94f2b

Please sign in to comment.