-
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.
* added base layout * submit page uses layout * index page uses layout * meetups list page uses layout * meetup page uses layout * success page uses layout
- Loading branch information
Showing
7 changed files
with
442 additions
and
479 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
import Footer from '../components/Footer.astro'; | ||
import Header from '../components/Header.astro'; | ||
import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; | ||
import BaseHead from '../components/BaseHead.astro'; | ||
interface Props { | ||
title?: string; | ||
description?: string; | ||
headerText?: string; | ||
image?: string; | ||
} | ||
const { | ||
title = SITE_TITLE, | ||
description = SITE_DESCRIPTION, | ||
headerText = 'Developer meetups in Oulu area', | ||
image, | ||
} = Astro.props; | ||
--- | ||
|
||
<html class="h-full"> | ||
<head> | ||
<BaseHead title={title} description={description} image={image} /> | ||
</head> | ||
<body class="h-full"> | ||
<div class="min-h-full"> | ||
<Header headerText={headerText} /> | ||
<div class="py-4"> | ||
<main> | ||
<slot /> | ||
</main> | ||
<Footer /> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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
Oops, something went wrong.