Skip to content

Commit

Permalink
Removing hbc slides
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwilson committed Sep 14, 2024
1 parent a0f3c13 commit 7bdf43c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/components/footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Footer = (props) => {
</div>
<div className="row">
<div className="col-sm">
<p>Saintfield Baptist Church<br/>51 Crossgar Road, Saintfield<br/>2021 &copy; Saintfield Baptist Church</p>
<p>Saintfield Baptist Church<br/>51 Crossgar Road, Saintfield<br/>2024 &copy; Saintfield Baptist Church</p>
</div>
<div className="col-sm">
<p className="footer-social-title">STAY CONNECTED</p>
Expand Down
17 changes: 0 additions & 17 deletions src/components/home/HomePageSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,6 @@ class HomePageSlider extends React.Component {
this.state = {
padding: this.getPadding(),
slides: [{
"type":"REGISTRATION OPEN",
"title":"Holiday Bible Club",
"subtitle":"10th - 14th June",
"imageUrl":"img/slides/hbc.png",
"url":"/hbc",
"backgroundPosition":"center",
"internalLink":true,
"buttonText":"Register Now"
},{
"type":"REGISTRATION OPEN",
"title":"Sports 4 Christ",
"subtitle": "19th - 22nd August",
"url":"/s4c",
"imageUrl":"img/slides/sports.jpg",
"internalLink":true,
"buttonText":"REGISTER NOW"
},{
"type":"CHILDRENS & YOUTH WORK",
"title":"What's On",
"subtitle": "Term-time activities for tots, tweens and teens",
Expand Down
10 changes: 7 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,19 @@ const Index = () => (
<Route path="/consent" component={() => {
window.location.href = 'https://forms.gle/Uu21ADNG8Ddznm7DA';
return null;
}} />
}} />
<Route path="/hbc" component={() => {
window.location.href = 'https://forms.gle/sLyqc8vLZdAYhsAh8';
return null;
}} />
}} />
<Route path="/s4c" component={() => {
window.location.href = 'https://forms.gle/LGJWhhwdfzdz8joW8';
return null;
}} />
}} />
<Route path="/bc" component={() => {
window.location.href = 'https://forms.gle/k7UjoYDYywCTLmSX6';
return null;
}}/>
<Route path="/callback" render={(props) => {
handleAuthentication(props);
return <Callback {...props}/>
Expand Down

0 comments on commit 7bdf43c

Please sign in to comment.