-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
793edb1
commit cc8f8b1
Showing
12 changed files
with
226 additions
and
117 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
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 was deleted.
Oops, something went wrong.
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,8 @@ | ||
import { LazyLoadImage } from 'react-lazy-load-image-component'; | ||
export default function Image({ image }) { | ||
return ( | ||
<> | ||
<LazyLoadImage src={image.src} alt={image.alt} width={image.width} height={image.height} /> | ||
</> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom/client'; | ||
import App from './App'; | ||
import './styles/global.css'; | ||
import App from './App'; | ||
|
||
ReactDOM.createRoot(document.getElementById('root')).render(<App />); |
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,34 +1,9 @@ | ||
import Layout from './Layout'; | ||
import Welcome from './components/welcome'; | ||
import UpdateNotes from './components/updateNotes'; | ||
import TestArea from './components/testArea'; | ||
import NotFound from './components/error'; | ||
|
||
export function Home() { | ||
return ( | ||
<Layout page="home"> | ||
<Welcome /> | ||
</Layout> | ||
); | ||
} | ||
export function ChangeLog() { | ||
return ( | ||
<Layout page="update-notes"> | ||
<UpdateNotes /> | ||
</Layout> | ||
); | ||
} | ||
export function Test() { | ||
return ( | ||
<Layout page="test"> | ||
<TestArea /> | ||
</Layout> | ||
); | ||
} | ||
export function Error() { | ||
return ( | ||
<Layout page="404"> | ||
<NotFound /> | ||
</Layout> | ||
); | ||
} | ||
export function Home() {return (<Welcome />)} | ||
export function ChangeLog() {return (<UpdateNotes />)} | ||
export function Test() {return (<TestArea />)} | ||
export function Error() {return (<NotFound />);} |
Oops, something went wrong.