Skip to content

Commit

Permalink
Merge pull request #134 from talerqa/feat/fix_header
Browse files Browse the repository at this point in the history
fix: header project
  • Loading branch information
talerqa authored Feb 8, 2024
2 parents 6d4f9b0 + fdadc62 commit cbd558a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 81 deletions.
73 changes: 0 additions & 73 deletions src/assets/components/logo.tsx

This file was deleted.

15 changes: 9 additions & 6 deletions src/components/ui/header/header.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
padding-right: 5px;
display: flex;
align-items: center;
justify-content: space-between;
justify-content: flex-end;
height: 60px;

.logo {
Expand All @@ -29,7 +29,6 @@
display: flex;
align-items: center;
justify-content: center;

}
}

Expand Down Expand Up @@ -61,9 +60,13 @@
height: 1px;
background-size: 8px 4px;
background: repeating-linear-gradient(
to right,
var(--color-light-100) 0, var(--color-light-100) 2px, transparent 2px, transparent 4px
) repeat-x;
to right,
var(--color-light-100) 0,
var(--color-light-100) 2px,
transparent 2px,
transparent 4px
)
repeat-x;
z-index: -1;
border-radius: 2px;
}
Expand All @@ -73,4 +76,4 @@
}
}
}
}
}
2 changes: 0 additions & 2 deletions src/components/ui/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { useNavigate } from "react-router-dom";

import s from "./header.module.scss";

import { Logo } from "@/assets/components/logo.tsx";
import { defaultAva } from "@/assets/defaultAva";
import signout from "@/assets/img/exit.svg";
import { Button } from "@/components";
Expand Down Expand Up @@ -50,7 +49,6 @@ export const Header = forwardRef<HTMLDivElement, HeaderProps>(
return (
<div className={s.headerBlock}>
<div className={s.container} ref={ref}>
<Logo className={s.logo} />
{isAuthorized && name && (
<DropDown
trigger={
Expand Down

0 comments on commit cbd558a

Please sign in to comment.