Skip to content

Commit 7b5208c

Browse files
Merge pull request #17 from austincondiff/dev
Fixed typos and replaced hardcoded links
2 parents 5eed4ca + 119cc4d commit 7b5208c

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

components/common/Footer.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function Footer() {
112112
<MiniFooterBottom>
113113
<LegalCopyright>
114114
Copyright &copy; {currentYear}{' '}
115-
<a href="https://codeedit.app">CodeEdit.</a> All rights reserved.
115+
<a href="https://codeedit.app">CodeEdit</a>. All rights reserved.
116116
</LegalCopyright>
117117
<LegalLinks>
118118
{/* <LegalLink href="/legal/tos">
@@ -122,7 +122,7 @@ function Footer() {
122122
Privacy Policy
123123
</LegalLink> */}
124124
<LegalLink href={links.license}>
125-
Lincense
125+
License
126126
</LegalLink>
127127
</LegalLinks>
128128
</MiniFooterBottom>

components/pages/home/index.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,12 @@ import FeaturesSection from './sections/FeaturesSection';
1010
import CtaSection from './sections/CtaSection';
1111

1212
import SampleStorySection from './sections/SampleStorySection';
13+
import links from '@/data/links';
1314

1415
export default function HomePage() {
1516
return (
1617
<div>
17-
<Ribbon
18-
onClick={() => {
19-
window.open('https://github.com/orgs/CodeEditApp/projects/3');
20-
}}
21-
>
18+
<Ribbon onClick={() => window.open(links.githubProject)}>
2219
CodeEdit is currently in development. Check out the roadmap.
2320
</Ribbon>
2421
<HeroSection />

data/navigation.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import links from '@/data/links';
2+
13
const navigation = [
24
{
35
href: '/',
@@ -20,7 +22,7 @@ const navigation = [
2022
// label: 'Extensions',
2123
// },
2224
{
23-
href: 'https://github.com/CodeEditApp/CodeEdit',
25+
href: links.githubRepo,
2426
label: 'GitHub',
2527
},
2628
];

0 commit comments

Comments
 (0)