-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: convert 404 and home to components
- Loading branch information
Showing
8 changed files
with
48 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
export function create404Page(): string { | ||
return ` | ||
<div id="Page404"> | ||
<div> | ||
<p>Oops!</p> | ||
<p>We can't seem to find the page you're looking for</p> | ||
<p> | ||
<b>Here are some helpful links instead:</b> | ||
</p> | ||
<ul> | ||
<li> | ||
<a href="//github.com/ubiquity/ubiquity-dollar/wiki" target="_blank">Docs</a> | ||
</li> | ||
<li> | ||
<a href="//dao.ubq.fi/faq" target="_blank">FAQ</a> | ||
</li> | ||
<li> | ||
<a href="//github.com/ubiquity/ubiquity-dollar" target="_blank">Github</a> | ||
</li> | ||
<li> | ||
<a href="//discord.gg/SjymJ5maJ4" target="_blank">Discord</a> | ||
</li> | ||
<li> | ||
<a href="//t.me/ubiquitydao" target="_blank">Telegram</a> | ||
</li> | ||
<li> | ||
<a href="//x.com/UbiquityDAO" target="_blank">X</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div> 404 </div> | ||
</div> | ||
`; | ||
} |
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,7 @@ | ||
export function createHomePage(): string { | ||
return ` | ||
<div> | ||
<h1>Ubiquity TypeScript Template Home</h1> | ||
</div> | ||
`; | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.