-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mattk
committed
Aug 6, 2024
1 parent
d6cc70e
commit 677d793
Showing
9 changed files
with
152 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.container { | ||
padding: 0 2rem; | ||
} | ||
|
||
.main { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: flex-start; /* Change to flex-start to left-align items */ | ||
min-height: 100vh; | ||
padding-top: 4rem; /* Add padding to avoid overlap with the navbar */ | ||
} | ||
|
||
.title { | ||
margin: 0; | ||
line-height: 1.15; | ||
font-size: 4rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-teal); | ||
font-family: 'Visuelt', sans-serif; | ||
margin-bottom: 2rem; /* Add some space below the title */ | ||
} | ||
|
||
.subtitle { | ||
font-size: 1.5rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-black); | ||
font-family: 'Roboto', sans-serif; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.paragraph { | ||
font-size: 1rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-black); | ||
font-family: 'HK Nova', sans-serif; | ||
margin-bottom: 1rem; | ||
} | ||
|
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,18 @@ | ||
import Link from 'next/link'; | ||
import styles from '../../styles/components/Callout.module.css'; | ||
|
||
export default function Callout() { | ||
return ( | ||
<div className={styles.callout}> | ||
<h3 className={styles.calloutTitle}>Psst! RogueApps is new! We'd love for you to contribute!</h3> | ||
<p className={styles.calloutText}> | ||
Help us document emerging OAuth application tradecraft. If you've ever seen a RogueApp in the wild, please contribute to the project! | ||
</p> | ||
<Link href="/contribute" legacyBehavior> | ||
<a className={styles.calloutButton}>Contribute</a> | ||
</Link> | ||
</div> | ||
); | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
import styles from '../../styles/components/Footer.module.css'; | ||
|
||
export default function Footer() { | ||
const currentYear = new Date().getFullYear(); | ||
return ( | ||
<footer className={styles.footer}> | ||
© 2024 Huntress. All Rights Reserved. | ||
<p> © {currentYear} | <a href="https://huntress.com"> Huntress</a> | All Rights Reserved.</p> | ||
</footer> | ||
); | ||
} |
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,39 @@ | ||
.container { | ||
padding: 0 2rem; | ||
} | ||
|
||
.main { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: flex-start; | ||
align-items: flex-start; /* Change to flex-start to left-align items */ | ||
min-height: 100vh; | ||
padding-top: 4rem; /* Add padding to avoid overlap with the navbar */ | ||
} | ||
|
||
.title { | ||
margin: 0; | ||
line-height: 1.15; | ||
font-size: 4rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-teal); | ||
font-family: 'Visuelt', sans-serif; | ||
margin-bottom: 2rem; /* Add some space below the title */ | ||
} | ||
|
||
.subtitle { | ||
font-size: 1.5rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-black); | ||
font-family: 'Roboto', sans-serif; | ||
margin-bottom: 1rem; | ||
} | ||
|
||
.paragraph { | ||
font-size: 1rem; | ||
text-align: left; /* Change to left-align */ | ||
color: var(--primary-black); | ||
font-family: 'HK Nova', sans-serif; | ||
margin-bottom: 1rem; | ||
} | ||
|
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
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,38 @@ | ||
.callout { | ||
background-color: var(--primary-teal); | ||
color: var(--primary-black); | ||
padding: 2rem; | ||
border-radius: 10px; | ||
text-align: center; | ||
margin: 2rem 0; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.calloutTitle { | ||
margin: 0 0 1rem; | ||
font-size: 2rem; | ||
font-family: 'Visuelt', sans-serif; | ||
} | ||
|
||
.calloutText { | ||
margin: 0 0 2rem; | ||
font-size: 1.2rem; | ||
font-family: 'HK Nova', sans-serif; | ||
} | ||
|
||
.calloutButton { | ||
background-color: var(--primary-blue); | ||
color: var(--white-2); | ||
padding: 1rem 2rem; | ||
border: none; | ||
border-radius: 5px; | ||
text-decoration: none; | ||
font-size: 1rem; | ||
font-family: 'Roboto', sans-serif; | ||
cursor: pointer; | ||
} | ||
|
||
.calloutButton:hover { | ||
background-color: var(--primary-blue); | ||
} | ||
|