Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/components/Header/Header.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ export const StyledButton = styled.button`
border: 1px solid transparent;
border-radius: 4px;

&:hover {
background-color: white;
color: hsl(240, 74%, 31%);
border-color: hsl(240, 74%, 31%);
}

@media ${breakpoints.md} {
margin-left: auto;
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export const Header: React.FC<ComponentProps> = ({
<Link to="/events">Events</Link>
<Link to="/contact">Contact</Link>

<StyledButton>Support Us</StyledButton>
<StyledButton>
<Link to="/support">Support Us</Link>
</StyledButton>
</Nav>
</HeaderStyled>
)
Expand Down
57 changes: 57 additions & 0 deletions src/pages/support.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import { Layout } from "../components"
import React from "react"
import styled from "styled-components"

const SupportPage = () => {
return (
<Layout>
<div
style={{
// display: "flex",
alignItems: "center",
justifyContent: "center",
}}
>
<Section>
<h2>Support us and make a difference.</h2>
</Section>

<Section>
<p>
We are always looking for ways to improve our software, and we rely
on our community to help us. If you have any ideas for new features
or improvements, please visit our{" "}
<a href="https://github.com/reactcebu/website-v2" target="_blank">
repository
</a>
. on GitHub and contribute!
</p>
</Section>
</div>
</Layout>
)
}

const Section = styled.section`
display: block;
max-width: 1440px;
// border: 1px solid red;
margin: 0 auto;
text-align: center;
font-size: 28px;
padding: 40px 30px;

h2 {
font-size: 60px;
max-width: 900px;
margin: 0 auto;
margin-bottom: 18px;
}

p {
text-align: left;
line-height: 150%;
}
`

export default SupportPage