Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 15, 2025

Adds a call-to-action button for hackathon creation next to the existing "View All Hackathons" button in the Recent Hackathons section.

Changes

  • Added "Start Your Own Hackathon" button linking to hackathon_create view
  • Wrapped both buttons in flexbox container for side-by-side layout with mobile responsiveness
  • Styled new button with filled red background (#e74c3c) to contrast with existing outline button

Implementation

<div class="flex flex-wrap items-center justify-center gap-4">
    <a href="{% url 'hackathons' %}" class="...border border-[#e74c3c] text-[#e74c3c]...">
        View All Hackathons
    </a>
    <a href="{% url 'hackathon_create' %}" class="...bg-[#e74c3c] text-white...">
        <i class="fas fa-plus mr-2"></i>
        Start Your Own Hackathon
    </a>
</div>

Screenshot

Hackathon Buttons

The hackathon creation view requires authentication via LoginRequiredMixin.

Original prompt

add a button on the homepage next to view all hackathons to "start your own hackathon"


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 15, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copilot AI changed the title [WIP] Add button to start your own hackathon on homepage Add "Start Your Own Hackathon" button to homepage Nov 15, 2025
Copilot AI requested a review from DonnieBLT November 15, 2025 19:01
@DonnieBLT DonnieBLT marked this pull request as ready for review November 16, 2025 03:01
@github-actions github-actions bot added files-changed: 1 unresolved-conversations: 0 PR has 0 unresolved conversations labels Nov 16, 2025
@DonnieBLT DonnieBLT added d15 and removed unresolved-conversations: 0 PR has 0 unresolved conversations labels Nov 16, 2025
@DonnieBLT DonnieBLT merged commit 689fc16 into main Nov 16, 2025
19 checks passed
@DonnieBLT DonnieBLT deleted the copilot/add-start-your-own-hackathon-button branch November 16, 2025 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants