Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

[Front | FlexScreen] Banner | GalleryCard | Product #99

Merged
merged 5 commits into from
Jan 29, 2024
Merged

[Front | FlexScreen] Banner | GalleryCard | Product #99

merged 5 commits into from
Jan 29, 2024

Conversation

Aloento
Copy link
Owner

@Aloento Aloento commented Jan 29, 2024

No description provided.

…y.tsx` files. In `Card.tsx`, the import statement was updated for the new version, the `useStyles` function was modified to remove the `card` style, and the `GalleryCard` function was updated to remove the `className` attribute from the `Card` component. In `Category.tsx`, the import statement was updated to remove the import of `random` from `lodash-es`, the `useStyles` function was modified to change the `card` and `cate` styles, and the `GalleryCategory` function was updated to change the way `data` is mapped to `GalleryCard` components. Minor changes were also made to the `useStyles` function in `index.tsx` and the `Products` function in `Get.ts`.

1. The import statement in `Card.tsx` was updated to reflect the new version 0.2.0.
2. The `useStyles` function in `Card.tsx` was updated to remove the `card` style.
3. The `GalleryCard` function in `Card.tsx` was updated to remove the `className` attribute from the `Card` component.
4. The import statement in `Category.tsx` was updated to remove the import of `random` from `lodash-es`.
5. The `useStyles` function in `Category.tsx` was updated to change the `card` and `cate` styles.
6. The `GalleryCategory` function in `Category.tsx` was updated to change the way `data` is mapped to `GalleryCard` components.
7. The `useStyles` function in `index.tsx` was updated to change the `minWidth` of the `body` style.
8. The `Products` function in `Get.ts` was updated to change the return type and the return value.
…property to the `img` class in `Banner.tsx`, the change of the `flexBasis` property in the `space` class in `Banner.tsx`, and the addition of the `fontSize` and `lineHeight` properties to the `white` class in `Banner.tsx`. Additionally, the `truncate` property was added to the `Text` component in `Banner.tsx`, and the version number was updated in `index.tsx`. Lastly, the `flexWrap` and `flexBasis` properties were modified in the `info` and `lex` classes respectively in `index.tsx`.

1. The `minHeight` property was added to the `img` class in `Banner.tsx` with a value of `320px`. This change ensures that the minimum height of the image is maintained at `320px` regardless of the screen size or resolution.

2. The `flexBasis` property was changed to `0` in the `space` class in `Banner.tsx` when the screen width is less than or equal to `1024px`. This change allows the space to shrink to `0` when the screen width is `1024px` or less, providing more flexibility in the layout.

3. The `fontSize` and `lineHeight` properties were added to the `white` class in `Banner.tsx` with values of `tokens.fontSizeBase300` and `tokens.lineHeightBase300` respectively when the screen width is less than or equal to `600px`. This change ensures that the font size and line height are adjusted appropriately for smaller screens.

4. The `truncate` property was added to the `Text` component in `Banner.tsx`. This change allows the text to be truncated if it exceeds the available space.

5. The version number was updated from `0.1.1` to `0.2.0` in `index.tsx`. This change indicates a new version of the application with significant updates.

6. The `flexWrap` property was added to the `info` class in `index.tsx` with a value of `wrap` when the screen width is less than or equal to `600px`. This change allows the items within the `info` class to wrap onto the next line when the screen width is `600px` or less.

7. The `flexBasis` property was changed to `100%` in the `lex` class in `index.tsx` when the screen width is less than or equal to `600px`. This change allows the `lex` class to take up the full width of the container when the screen width is `600px` or less.
@Aloento Aloento self-assigned this Jan 29, 2024
@Aloento Aloento merged commit 22b77ae into master Jan 29, 2024
1 check passed
@Aloento Aloento deleted the Dev branch January 29, 2024 15:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant