Skip to content

Commit

Permalink
Title section logo (#63)
Browse files Browse the repository at this point in the history
* Auth pages styling

* FIXIT: CSS conflicts

* Change logo

* Change title

* Add title page icon
  • Loading branch information
kyzelm authored Oct 13, 2024
1 parent 9cb945f commit 583666f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/BHC24.Client/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ body {
justify-content: center;
align-items: start;
width: calc(100vw - var(--scrollbar-width));
overflow-x: hidden;
}

h1,
Expand Down
4 changes: 2 additions & 2 deletions src/BHC24.Client/src/pages/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {JSX} from "react";
import AnimatedMain from "../../components/AnimatedComps/AnimatedMain.tsx";
import TitleSection from "./TitleSection/TitleSection.tsx";
import AboutSection from "./AboutSection/AboutSection.tsx";
// import AboutSection from "./AboutSection/AboutSection.tsx

function HomePage(): JSX.Element {
return (
<AnimatedMain>
<TitleSection/>
<AboutSection/>
{/*<AboutSection/>*/}
</AnimatedMain>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@
align-items: start;
height: calc(100vh - var(--nav-bar-size));
gap: 3rem;

> img {
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
translate: 50% 0;
opacity: 0.1;
}
}

.textCon {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ import styles from "./TitleSection.module.css";
import BlurBg from "../../../components/BlurBg/BlurBg.tsx";
import DisplayButton from "../../../components/Buttons/DisplayButton.tsx";
import {useNavigate} from "react-router-dom";
import logo from '/public/logo.png';

function TitleSection(): JSX.Element {
const navigate = useNavigate()

return (
<section className={styles.titleSection}>
<img src={logo} alt="logo"/>
<div className={styles.textCon}>
<BlurBg/>
<h1><span className={"text"}>Twoje projekty</span><br/>Twoja kariera</h1>
Expand Down

0 comments on commit 583666f

Please sign in to comment.