This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
old-shiloh-website/pages/index.js
tony 82b92d0f7e Fixed error with Unhandled Runtime Error
TypeError: Cannot read properties of null (reading 'pause')
Source
Components/Layout/section.jsx (22:27) @ pause

Added additional pages.

Created unique id for video components.
2023-04-18 12:01:04 -07:00

55 lines
1.5 KiB
JavaScript

import React from "react";
import Navbar from "../Components/Layout/navbar.jsx";
import Section from "../Components/Layout/section.jsx"
export default function Home() {
return (
<>
<Navbar />
<Section
key="section0"
videoUrl="https://vid.puffyan.us/latest_version?id=--khbXchTeE&itag=22"
text="redemptive tech in Jesus' name"
buttonTwoText="learn more"
buttonOneText="watch" videoId="uu01xBw_BVE"
/>
<Section
key="section1"
videoUrl="https://vid.puffyan.us/latest_version?id=tQG6jYy9xto&itag=22&local=true"
text="about"
buttonOneText="watch"
buttonTwoText="learn more"
/>
<Section
key="section2"
videoUrl="https://vid.puffyan.us/latest_version?id=fVgq6j-krzU&itag=22"
text="get involved"
buttonOneText="watch"
buttonTwoText="learn more"
/>
<Section
key="section3"
videoUrl="https://vid.puffyan.us/latest_version?id=LBNDfxjEYlA&itag=22"
text="projects"
buttonOneText="watch"
buttonTwoText="learn more"
/>
<Section
key="section4"
videoUrl="https://vid.puffyan.us/latest_version?id=J33nDgS3uUY&itag=22"
text="hire us"
buttonOneText="watch"
buttonTwoText="learn more"
/>
<Section
key="section5"
videoUrl="https://vid.puffyan.us/latest_version?id=mAg8UyDt_sw&itag=22"
text="contact us"
buttonOneText="watch"
buttonTwoText="learn more"
/>
</>
);
}