Skip to content

Task 1-5#48

Open
yedrula wants to merge 5 commits intodevmentor-pl:masterfrom
yedrula:master
Open

Task 1-5#48
yedrula wants to merge 5 commits intodevmentor-pl:masterfrom
yedrula:master

Conversation

@yedrula
Copy link

@yedrula yedrula commented Sep 26, 2023

Cześć, oddaję do sprawdzenia. Trochę utknąłem w ostatnim zadaniu przy cssie zmieniającym połozenie obrazka w zależności od propsa variant :/

Copy link
Owner

@devmentor-pl devmentor-pl left a comment

Choose a reason for hiding this comment

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

Jedrzeju,

Zadania są jak najbardziej ok 👍
Zostawiłem Ci parę mniej istotnych uwag w komentarzach :)

import Alert from './../src/components/Alert';
import { Row, Col, Alert as RBAlert } from 'react-bootstrap';
import { ThemeProvider } from 'styled-components';
import themeSettings from '../src/components/Alert/theme'
Copy link
Owner

Choose a reason for hiding this comment

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

Jeszcze lepszym rozwiązaniem jest mieć 1 motyw dla całej aplikacji i przekazywać ją w głównym komponencie np. App.js - teraz bym nie zmieniał, ale w projekcie bym to uwzględnił :)

Library
</Breadcrumb.Item>
<Breadcrumb.Item active>Data</Breadcrumb.Item>
</Breadcrumb>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

Button!
<ThemeProvider theme={themeSettings}>
<Button variant="primary" > Button!</Button>
</ThemeProvider>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

<Tab eventKey="contact" name="Contact" disabled>
<p>Vivamus metus nulla, fermentum eget placerat vitae, mollis interdum elit. Pellentesque arcu augue, vulputate ut porttitor ut, suscipit non orci. Integer justo odio, suscipit eget tortor nec, molestie lobortis eros. Nullam commodo elit sit amet lacus blandit aliquet. Mauris at nibh eget nisl pulvinar dignissim.</p>
</Tab>
</Tabs>
Copy link
Owner

Choose a reason for hiding this comment

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

👍

<Button variant="primary"> Button!</Button>
</ThemeProvider>
</Card.Body>
</Card>
Copy link
Owner

Choose a reason for hiding this comment

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

👍



if (isDisabled) {
return css`
Copy link
Owner

Choose a reason for hiding this comment

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

Można też return isDisabled && css...

Body: Body,
Title: Title,
Text: Text,
});
Copy link
Owner

Choose a reason for hiding this comment

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

👍

@@ -0,0 +1,16 @@
import React from "react";
import BreadcrumbItemStyled from "./BreadCrumbItemStyled";
Copy link
Owner

Choose a reason for hiding this comment

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

Tutaj niepotrzebnie C z wielkiej litery - na windows to nie problem, ale na linuxie (serwerze) już rzuca błędem :)

}
`;

export default StyledTab;
Copy link
Owner

Choose a reason for hiding this comment

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

👍

);
};

export default Tabs; No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

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

👍

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

Comments