Skip to content

Commit 7d66054

Browse files
authored
Merge pull request #13 from tylerauerbeck/fix-typo
Correct Priciple -> Principle typos on website and code
2 parents 2254fb6 + 860ea81 commit 7d66054

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/components/priciples.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as React from "react"
22
import { useStaticQuery, graphql } from "gatsby"
33
import PrinciplesItem from "./ui/principles-item"
44

5-
const Priciples = () => {
5+
const Principles = () => {
66
const query = useStaticQuery(
77
graphql`
88
query {
@@ -38,4 +38,4 @@ const Priciples = () => {
3838
)
3939
}
4040

41-
export default Priciples
41+
export default Principles

src/pages/index.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AnchorLink } from "gatsby-plugin-anchor-links"
44
import Seo from "../components/seo"
55
import FeaturedMembers from "../components/featured-members"
66
import Events from "../components/events"
7-
import Priciples from "../components/priciples"
7+
import Principles from "../components/principles"
88
import Testimonials from "../components/testimonials"
99
import { Container } from "../components/ui/grid"
1010
import Button from "../components/ui/button"
@@ -48,15 +48,15 @@ const IndexPage = ({ location }) => {
4848

4949
<div className="space-x-8 text-center text-sm sm:text-base md:space-x-6 md:text-left">
5050
<AnchorLink
51-
to="/#priciples"
52-
title="Priciples"
51+
to="/#principles"
52+
title="Principles"
5353
className="font-bold text-accent hover:underline">
5454
<span>GitOps Principles</span>
5555
</AnchorLink>
5656

5757
<AnchorLink
5858
to="/#events"
59-
title="Priciples"
59+
title="Principles"
6060
className="font-bold text-accent hover:underline">
6161
<span>Upcoming Events</span>
6262
</AnchorLink>
@@ -88,20 +88,20 @@ const IndexPage = ({ location }) => {
8888
</Container>
8989
</section>
9090

91-
<section id="priciples" className="relative">
91+
<section id="principles" className="relative">
9292
<BgElement className="top-12 lg:top-64" />
9393

9494
<Container>
9595
<div className="flex flex-wrap">
9696
<div className="w-full lg:w-2/5">
9797
<h2 className="mb-12 pr-64 text-5xl md:text-6xl lg:sticky lg:top-12 xl:text-7xl lg:mb-0">
9898
<span className="text-accent">GitOps</span>{" "}
99-
<span className="font-normal">Priciples</span>
99+
<span className="font-normal">Principles</span>
100100
</h2>
101101
</div>
102102

103103
<div className="w-full lg:w-3/5">
104-
<Priciples />
104+
<Principles />
105105

106106
<Button
107107
to="/get-involved"

0 commit comments

Comments
 (0)