Skip to content

feat(cards): Add cards component markup and styling#1

Open
SaraevaAnastasia wants to merge 12 commits intomainfrom
test-work
Open

feat(cards): Add cards component markup and styling#1
SaraevaAnastasia wants to merge 12 commits intomainfrom
test-work

Conversation

@SaraevaAnastasia
Copy link
Owner

This commit adds the markup and styling for the cards component. The cards component displays a set of cards, each containing an image, a description, and additional information. The styles are implemented according to the provided design in the test task.

Changes made:

Created HTML markup for the cards component
Applied CSS styles to achieve the desired layout and appearance
Implemented responsive design to ensure compatibility across different devices

This commit adds the markup and styling for the cards component. The cards component displays a set of cards, each containing an image, a description, and additional information. The styles are implemented according to the provided design in the test task.

Changes made:

    Created HTML markup for the cards component
    Applied CSS styles to achieve the desired layout and appearance
    Implemented responsive design to ensure compatibility across different devices
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages June 15, 2023 11:35 — with GitHub Pages Inactive
…e design

This commit adds the markup, styling, and responsive design for the signpost component. The signpost component includes a post with an image, description, and related information. The styles and layout are implemented to ensure compatibility and optimal viewing experience across different devices and screen sizes.

Changes made:

    Created HTML markup for the signpost component
    Applied CSS styles to achieve the desired layout and appearance
    Implemented responsive design techniques, such as media queries and fluid layouts, to adapt the component for various screen sizes
Integrated the signpost component into the existing HTML structure
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages June 15, 2023 11:46 — with GitHub Pages Inactive
This commit updates the markup and styling for all components to address the provided feedback and requirements. The changes made include:

- Replacing non-semantic tags with appropriate semantic tags throughout the codebase
- Adjusting font styles, spacing, and element sizes to match the design specifications
- Implementing responsive design for all components to ensure they are responsive across different screen sizes
- Removing unnecessary absolute positioning and using CSS positioning properties where necessary
- Refactoring CSS styles to remove duplicate and unused properties
- Ensuring that all components can accommodate varying content heights without overflowing
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages June 25, 2023 14:44 — with GitHub Pages Inactive
This commit updates the margins for content containers to create spacing between the left and right edges of the page. The previous use of padding has been replaced with margin to achieve the desired layout.

Changes made:

    Renamed CSS classes for consistency and clarity
    Adjusted margin values to create equal spacing on both sides of the content containers
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages June 25, 2023 17:18 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages June 26, 2023 06:04 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 2, 2023 18:26 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 2, 2023 19:06 — with GitHub Pages Inactive
css/logo.css Outdated
@@ -0,0 +1,15 @@
.logo__image {
display: block;

Choose a reason for hiding this comment

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

Display block was supposed to be added on img tag, you don't need it on svg

css/logo.css Outdated
@@ -0,0 +1,15 @@
.logo__image {

Choose a reason for hiding this comment

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

If you don't have a "logo" block in the markup, you shouldn't use "logo__element", it contradicts BEM convention

css/nav.css Outdated
@@ -0,0 +1,6 @@
@media (min-width: 1024px) {
.nav__item{

Choose a reason for hiding this comment

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

Same here. If you don't have a "nav" block in the markup, you shouldn't use "nav__item", as it contradicts the BEM convention

css/cardlist.css Outdated
@@ -0,0 +1,11 @@
.cardlist__card{

Choose a reason for hiding this comment

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

Same here

gap: 10px;
}
.description__information--first-line{
margin-bottom: 11px;

Choose a reason for hiding this comment

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

better move the margin to the parent element

css/signpost.css Outdated
@@ -0,0 +1,14 @@
.signpost{
margin-top: 80px;
margin-bottom: 41px;

Choose a reason for hiding this comment

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

better move the bottom margin to the parent element

@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 6, 2023 15:48 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 6, 2023 17:12 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 7, 2023 09:10 — with GitHub Pages Inactive
@SaraevaAnastasia SaraevaAnastasia temporarily deployed to github-pages July 10, 2023 11:38 — with GitHub Pages Inactive
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