sweepai / landing-page

7 stars 6 forks source link

Sweep: stack the two call to action buttons horizontally instead of vertically #647

Closed kevinlu1248 closed 2 months ago

kevinlu1248 commented 2 months ago

Here's what it looks like at the moment. image

Also fix the spacing with the two buttons, there's a bit too much vertical spacing at the moment.

Branch: sweep/add_a_secondary_button_to_the_right_of_t

sweep-nightly[bot] commented 2 months ago

🚀 Here's the PR! #649

See Sweep's progress at the progress dashboard!
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: 89b73a306c)

[!TIP] I can email you next time I complete a pull request if you set up your email here!


Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/sweepai/landing-page/blob/54e9f4483678e06d2c2ed35063e43eeab8fc54a4/src/components/CallToAction.tsx#L1-L170 https://github.com/sweepai/landing-page/blob/54e9f4483678e06d2c2ed35063e43eeab8fc54a4/src/App.tsx#L1-L124 https://github.com/sweepai/landing-page/blob/54e9f4483678e06d2c2ed35063e43eeab8fc54a4/src/App.test.tsx#L1-L46

Step 2: ⌨️ Coding

Wrap the two Button components inside a Stack with a horizontal direction, and remove the mb="1rem !important" properties.

Update with the necessary changes:

Update block with the necessary changes:


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/stack_the_two_call_to_action_buttons_hor_75aa7.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. Something wrong? Let us know.

This is an automated message generated by Sweep AI.