-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from sddevx/floating-talk-request-widget
Added global site config and a floating Give a Talk CTA
- Loading branch information
Showing
5 changed files
with
75 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |