-
Notifications
You must be signed in to change notification settings - Fork 5
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
Added global site config and a floating Give a Talk CTA #26
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React from "react" | ||
import { links } from "../siteConfig" | ||
|
||
const GiveATalkCTA: React.FC = () => { | ||
return ( | ||
<a | ||
href={links.talkSubmissionUrl} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
className="fixed flex items-center px-6 py-3 space-x-2 font-bold text-white transition-all duration-300 ease-in-out transform -translate-x-1/2 rounded-full shadow-lg bg-gradient-to-r from-blue-500 to-purple-600 sm:bottom-12 bottom-6 left-1/2 hover:from-blue-600 hover:to-purple-700 hover:scale-105 animate-pulse" | ||
> | ||
<svg | ||
xmlns="http://www.w3.org/2000/svg" | ||
className="w-6 h-6" | ||
fill="none" | ||
viewBox="0 0 24 24" | ||
stroke="currentColor" | ||
> | ||
<path | ||
strokeLinecap="round" | ||
strokeLinejoin="round" | ||
strokeWidth={2} | ||
d="M19 11a7 7 0 01-7 7m0 0a7 7 0 01-7-7m7 7v4m0 0H8m4 0h4m-4-8a3 3 0 01-3-3V5a3 3 0 116 0v6a3 3 0 01-3 3z" | ||
/> | ||
</svg> | ||
<span>Give a Talk!</span> | ||
</a> | ||
) | ||
} | ||
|
||
export default GiveATalkCTA |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this a merge commit? Does it have multiple parents? Let's keep our commits flat for PRs and only merge PRs There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry, I used the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @TrystonPerry Please remove c63f6b2 when you rebase |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export const siteConfig = { | ||
title: "San Diego DEVx", | ||
description: "Fostering developer community through events and open-source projects.", | ||
url: "https://devx.network", | ||
ogImage: "https://devx.network/images/devx-og-image.png" | ||
} | ||
|
||
export const links = { | ||
talkSubmissionUrl: "https://forms.gle/6gtGEuL7XExHvc6c9", | ||
meetupUrl: "https://meetup.com/san-diego-devx", | ||
lumaUrl: "https://lu.ma/DEVxSD", | ||
discord: "https://discord.gg/J3YrrErwjc", | ||
github: "https://github.com/sddevx", | ||
youtube: "https://www.youtube.com/@sddevx" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Included
sm:bottom-12 bottom-6
for responsiveness