Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
happylolonly committed May 29, 2024
1 parent cbd5be2 commit 7247578
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion front/src/components/Input/Input.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
text-transform: initial;

&::placeholder {
color: #272343;
// color: #272343;

opacity: 0.5;
text-transform: lowercase;
}
Expand Down
3 changes: 2 additions & 1 deletion front/src/components/common/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ const HeaderWrapper = styled.header<{
display: flex;
justify-content: space-between;
align-items: center;
z-index: 100;
width: 100%;
padding: 2rem 1.5rem;
Expand Down Expand Up @@ -156,7 +157,7 @@ const HeaderTitle = styled.div`
display: flex;
align-items: center;
gap: 0.6rem;
color: #2c3542;
/* color: #2c3542; */
${({ theme }) => theme.fonts.Nexton_Title_Medium};
cursor: pointer;
Expand Down
5 changes: 3 additions & 2 deletions front/src/pages/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Button from "@/components/main/btnGrd";
import Display from "@/components/common/containerGradient/Display/Display";
import MainContainer from "@/components/MainContainer";
import { Input } from "@/components/Input";
import DisplayTitle from "@/components/common/containerGradient/DisplayTitle/DisplayTitle";

const tele = (window as any).Telegram.WebApp;

Expand Down Expand Up @@ -77,7 +78,7 @@ const Main = () => {
</Display> */}
<Header isOpen={false} text="CYBER-TON" backgroundType={false} />

<Display>
<Display title={<DisplayTitle title="Message" />}>
<Input
placeholder="enter message..."
value={message}
Expand All @@ -103,7 +104,7 @@ const Main = () => {
)}
</Display>

<Display>
<Display title={<DisplayTitle title="Passport" />}>
<Input
value={nickname}
placeholder="enter passport..."
Expand Down
5 changes: 3 additions & 2 deletions front/src/styles/globalStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const reset = css`
margin: 0;
padding: 0;
border: 0;
font-size: 62.5%;
vertical-align: baseline;
}
Expand Down Expand Up @@ -134,6 +134,7 @@ export const reset = css`
border-spacing: 0;
}
button {
padding: 0;
cursor: pointer;
}
`;
Expand Down Expand Up @@ -177,7 +178,7 @@ ${reset}
@font-face {
font-family: 'Play';
src: url('../assets/fonts/Play-Regular.ttf');
src: url('./fonts/Play-Regular.ttf');
font-weight: 400;
font-style: normal;
}
Expand Down

0 comments on commit 7247578

Please sign in to comment.