Skip to content

Conversation

@mbabayi574
Copy link

Type of change

  • Bug fix (a non-breaking change that fixes an issue)
  • [*] New feature (a non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

  • [*] I have read the CONTRIBUTING document.
  • [*] I have checked to ensure that this Pull Request is not for personal changes.
  • [*] I have performed a self-review of my own code.
  • [*] My changes generate no new warnings.

Related Issue

Changes

Add Farsi language support.

How To Test

Screenshots (if applicable)

Additional Notes

@vercel
Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
fuwari-yags Ready Ready Preview Comment Sep 24, 2025 0:41am

google-labs-jules bot and others added 2 commits September 24, 2025 12:22
The layout direction is controlled by a new `rtl` boolean flag in the `siteConfig` object in `src/config.ts`. When set to `true`, the `dir` attribute of the `<html>` tag is set to `rtl`, and a set of RTL-specific styles are applied.

A custom Tailwind CSS plugin was added to provide `rtl` and `ltr` variants, allowing for easy application of conditional styles. Several components have been updated to use these variants for things like margins, paddings, and text alignment.

Note: During verification, a pre-existing build issue was discovered in the project's CSS configuration. This prevented the project from being built successfully. The RTL feature has been implemented as requested, but the `rtl` flag has been left as `false` by default to avoid breaking the build for the user. Once the build issue is resolved, the RTL feature can be enabled by setting `siteConfig.rtl` to `true`.
feat: Implement static RTL layout feature
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.

1 participant