feat(app): add figma banner
This commit is contained in:
26
src/components/Banner/Banner.tsx
Normal file
26
src/components/Banner/Banner.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import React from "react";
|
||||
import { Medal } from "phosphor-react";
|
||||
|
||||
import "./Banner.css";
|
||||
|
||||
const Banner = () => {
|
||||
return (
|
||||
<div className="banner">
|
||||
The 2022 Figma Community Awards are here!
|
||||
<button
|
||||
className="main-button"
|
||||
onClick={
|
||||
() => window.open(
|
||||
"https://www.figma.com/community/file/903830135544202908",
|
||||
"_blank",
|
||||
"noopener noreferrer",
|
||||
)
|
||||
}>
|
||||
<Medal size={24} weight="fill" />
|
||||
Vote for Phosphor
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Banner;
|
||||
Reference in New Issue
Block a user