-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from muriukialex/ft/add-sitemap-file
Feat: Add Sitemap File
- Loading branch information
Showing
10 changed files
with
57 additions
and
18 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 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,18 @@ | ||
import { MetadataRoute } from "next" | ||
|
||
export default function sitemap(): MetadataRoute.Sitemap { | ||
return [ | ||
{ | ||
url: "https://aws-rstart-labs.vercel.app", | ||
lastModified: new Date(), | ||
changeFrequency: "monthly", | ||
priority: 1, | ||
}, | ||
{ | ||
url: "https://aws-rstart-labs.vercel.app/home", | ||
lastModified: new Date(), | ||
changeFrequency: "monthly", | ||
priority: 0.8, | ||
}, | ||
] | ||
} |
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,5 +1,5 @@ | ||
const Divider = () => { | ||
return <hr className="bg-white dark:bg-gray-500" /> | ||
return <hr className="h-px border-0 bg-black dark:bg-gray-200"></hr> | ||
} | ||
|
||
export default Divider |
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 |
---|---|---|
@@ -1,12 +1,25 @@ | ||
import { appTitle } from "@/lib/const" | ||
import Image from "next/image" | ||
|
||
const LoadingLogo = () =>{ | ||
return ( | ||
<div className="h-screen flex items-center justify-center animate-bounce"> | ||
<Image alt={appTitle} src="/aws-restart-logo.png" width={120} height={50} /> | ||
</div> | ||
) | ||
const LoadingLogo = () => { | ||
return ( | ||
<div className="flex h-screen animate-bounce items-center justify-center"> | ||
<Image | ||
className="dark:hidden" // shown in light theme | ||
alt={appTitle} | ||
src="/aws-restart-logo-light.png" | ||
width={128} | ||
height={75} | ||
/> | ||
<Image | ||
className="hidden dark:block" // shown in dark theme | ||
alt={appTitle} | ||
src="/aws-restart-logo.png" | ||
width={128} | ||
height={75} | ||
/> | ||
</div> | ||
) | ||
} | ||
|
||
export default LoadingLogo | ||
export default LoadingLogo |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.