Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project added #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

project added #1

wants to merge 1 commit into from

Conversation

Viktoria8888
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@porfinogeneta porfinogeneta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generalnie ok, tylko flexbox gdzie się tylko da, wywalić absoluty, korzystać ze stylowania w tailwind i korzystać z tailwindowych stałych + dodać responsywność

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

funkcyjne komponenty React'owe robimy bez tego React.FC, jako zwykłą funkcję

backgroundSize: "contain",
backgroundPosition: "center top",
backgroundRepeat: "no-repeat",
height: "25vh",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raczej podawać wielkości w tailwindzie, a nie tak, bo wtedy prościej uzyskać responsywaność, zatem stylowanie przerobić na tailwind



<div
className="absolute top-10 left-0 right-0 bg-no-repeat bg-contain bg-center opacity-20"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zrobić flexboxa


<div className="relative z-10 pt-[32vh] p-10 text-center">
<h2 className="text-dark-text-primary text-4xl ">Nasze Projekty</h2>
<div className="w-[811px] h-1 bg-action-blue mx-auto mt-2"></div>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arbitralne wartości lepiej zastąpić czymś co będzie się skalowało, jak już muszą być konkretne liczby, to lepiej skorzystać z liczb wbudowanych w tailwind

];


const Projects: React.FC = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

inaczej robimy komponenty reactowe

<p className="text-dark-text-secondary">{description}</p>
</div>
<div>
<img src={image} alt="zosia" className="rounded-lg min-w-[210px] aspect-square object-cover" />
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pozbyć się losowych liczb

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wpasować się w podział projektu, widoczny w branchu feature-main-page

@@ -0,0 +1,28 @@
const ZosiaSection: React.FC = () => {
return (
<div className="relative bg-dark-background-primary h-[60vh] text-white flex flex-col items-center">
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skorzystać z tailwindowych wartości, zrezygnować z absolute

"build": "tsc -b && vite build",
"lint": "eslint .",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raczej nie chcemy configa zmieniać

"typescript": "~5.6.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5"
"@types/react": "^18.2.48",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wziąć package.json z master albo z feature-main-page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants