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

[OUDS] Docs(utilities): add 'Flex' page #2660

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

julien-deramond
Copy link
Member

@julien-deramond julien-deramond commented Aug 1, 2024

Related issues

Listed in #2589.

Description

This PR adds the Utilities > Flex page based on:

To help the review, please note that the content of this page is exactly the same as the one from Boosted, and that the diff between this file and Bootstrap's one is:

--- a/site/content/docs/0.0/utilities/flex.md
+++ b/site/content/docs/0.0/utilities/flex.md
@@ -3,8 +3,6 @@ layout: docs
 title: Flex
 description: Quickly manage the layout, alignment, and sizing of grid columns, navigation, components, and more with a full suite of responsive flexbox utilities. For more complex implementations, custom CSS may be necessary.
 group: utilities
-aliases:
-  - "/docs/utilities/flex/"
 toc: true
 ---
 
@@ -636,7 +634,7 @@ Looking to replicate the [media object component](https://getbootstrap.com/docs/
 {{< example >}}
 <div class="d-flex">
   <div class="flex-shrink-0">
-    {{< placeholder width="100" height="100" color="#999" background="#e5e5e5" text="icon" >}}
+    {{< placeholder width="100" height="100" color="#999" background="#e5e5e5" text="Image" >}}
   </div>
   <div class="flex-grow-1 ms-3">
     This is some content from a media component. You can replace this with any content and adjust it as needed.
@@ -649,7 +647,7 @@ And say you want to vertically center the content next to the image:
 {{< example >}}
 <div class="d-flex align-items-center">
   <div class="flex-shrink-0">
-    {{< placeholder width="100" height="100" color="#999" background="#e5e5e5" text="icon" >}}
+    {{< placeholder width="100" height="100" color="#999" background="#e5e5e5" text="Image" >}}
   </div>
   <div class="flex-grow-1 ms-3">
     This is some content from a media component. You can replace this with any content and adjust it as needed.

Types of change

  • New documentation (non-breaking change which adds functionality)

Live previews

@julien-deramond julien-deramond added the docs Improvements or additions to documentation label Aug 1, 2024
@julien-deramond julien-deramond added this to the OUDS milestone Aug 1, 2024
Copy link

netlify bot commented Aug 1, 2024

Deploy Preview for boosted ready!

Name Link
🔨 Latest commit 883fdbd
🔍 Latest deploy log https://app.netlify.com/sites/boosted/deploys/66ab2d0cdec3050008a3efea
😎 Deploy Preview https://deploy-preview-2660--boosted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member Author

Choose a reason for hiding this comment

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

We might need to refine the colors used in this page.

Copy link
Member

@louismaximepiton louismaximepiton left a comment

Choose a reason for hiding this comment

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

LGTM, can be merged as-is.

@julien-deramond julien-deramond merged commit 5267180 into ouds/main Aug 1, 2024
14 checks passed
@julien-deramond julien-deramond deleted the ouds/main-jd-utilities-flex branch August 1, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants