sanctuarycomputer / uniswap-docs

📓 Uniswap V3 docs website redesigned
https://docs.uniswap.org
0 stars 0 forks source link

feat: add home UI #34

Closed limsohee1002 closed 3 days ago

limsohee1002 commented 1 week ago

Description

add home UI

Type(s) of changes

Motivation for PR

How Has This Been Tested?

Applicable screenshots

Follow-up PR

Summary by CodeRabbit

Release Notes

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
uniswap-docs-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 18, 2024 2:37pm
coderabbitai[bot] commented 1 week ago

Walkthrough

This pull request introduces multiple enhancements across several components, including the addition of new icon components, a new newsletter form, and a layout component. The Icons component now features various SVG icons with customizable properties. A NewsletterForm component has been created to manage email subscriptions, while the Layout component structures the overall page layout. CSS updates provide new utility classes for responsive design. The main page has been restructured to incorporate these new components and improve the user interface.

Changes

File Path Change Summary
src/components/Icons/index.tsx Added new icon components: ThickX, Globe, Hexagon, BookOpen, ArrowRight, Emblem1, Emblem2, Npm, HelpCircle, Chat, Envelope. Enhanced existing components with color props. Introduced IconMap for rendering icons based on props.
src/components/NewsletterForm/index.tsx Introduced NewsletterForm component with state management for email input and subscription handling. Added props for customization.
src/css/custom.css Added new CSS classes: .content-page-padding and .divider for responsive design and visual separation.
src/pages/index.tsx Restructured Home component, added new UI elements, updated layout with grid system, and removed unused imports.
src/theme/Layout.tsx Introduced Layout component to wrap children in a layout provider, including Navbar and Footer.
src/theme/Navbar.tsx Replaced anchor with Link component for navigation, added a new <div> for Docusaurus compatibility.
tailwind.config.js Updated Tailwind CSS configuration with new screen size constants and extended theme with new colors and utilities.

Possibly related PRs

Suggested reviewers

Poem

🐰 In a world of icons bright,
New shapes bring delight!
With forms for news and layout grand,
Our app now takes a stand.
So hop along, let's celebrate,
These changes make our work first-rate! 🌟


🪧 Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit , please review it.` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` - `@coderabbitai help me debug CodeRabbit configuration file.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (Invoked using PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger an incremental review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai full review` to do a full review from scratch and review all the files again. - `@coderabbitai summary` to regenerate the summary of the PR. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai configuration` to show the current CodeRabbit configuration for the repository. - `@coderabbitai help` to get help. ### Other keywords and placeholders - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. - Add `@coderabbitai summary` to generate the high-level summary at a specific location in the PR description. - Add `@coderabbitai` anywhere in the PR title to generate the title automatically. ### Documentation and Community - Visit our [Documentation](https://docs.coderabbit.ai) for detailed information on how to use CodeRabbit. - Join our [Discord Community](http://discord.gg/coderabbit) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
github-actions[bot] commented 1 week ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 84
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-f9gd8t93l-uniswap.vercel.app

github-actions[bot] commented 6 days ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 72
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 98
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-2y24n5erb-uniswap.vercel.app

github-actions[bot] commented 6 days ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 58
🟢 Accessibility 96
🟢 Best practices 92
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-klqmq5zdn-uniswap.vercel.app

github-actions[bot] commented 6 days ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 85
🟢 Accessibility 96
🟢 Best practices 92
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟢 Best practices 92
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-n1dwf14be-uniswap.vercel.app

github-actions[bot] commented 3 days ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 65
🟢 Accessibility 96
🟢 Best practices 92
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-lrx52ayr6-uniswap.vercel.app

github-actions[bot] commented 3 days ago

⚡️ Lighthouse Report

Mobile (view report)

Category Score
🟠 Performance 62
🟢 Accessibility 96
🟢 Best practices 92
🟠 SEO 85

Desktop (view report)

Category Score
🟢 Performance 99
🟢 Accessibility 96
🟠 Best practices 83
🟠 SEO 82

Lighthouse ran on https://uniswap-docs-staging-2swxzzb7h-uniswap.vercel.app