Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(footer): link to source codes #55

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions packages/site/src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@
const today = new Date();
---

<footer>
<footer class={`py-7 flex items-center justify-center ${Astro.props.class}`}>
&copy; {today.getFullYear()} Plan Bee devs. All rights reserved.

<a
href="https://github.com/PlanBee-dev/oulu-dev-meetups"
aria-label="Github"
class="ml-5 inline-block cursor-pointer"
>
<svg
aria-hidden="true"
class="h-6"
xmlns="http://www.w3.org/2000/svg"
viewBox="2 2 20 20"
>
<g>
<path
d="M16.24 22a1 1 0 0 1-1-1v-2.6a2.15 2.15 0 0 0-.54-1.66 1 1 0 0 1 .61-1.67C17.75 14.78 20 14 20 9.77a4 4 0 0 0-.67-2.22 2.75 2.75 0 0 1-.41-2.06 3.71 3.71 0 0 0 0-1.41 7.65 7.65 0 0 0-2.09 1.09 1 1 0 0 1-.84.15 10.15 10.15 0 0 0-5.52 0 1 1 0 0 1-.84-.15 7.4 7.4 0 0 0-2.11-1.09 3.52 3.52 0 0 0 0 1.41 2.84 2.84 0 0 1-.43 2.08 4.07 4.07 0 0 0-.67 2.23c0 3.89 1.88 4.93 4.7 5.29a1 1 0 0 1 .82.66 1 1 0 0 1-.21 1 2.06 2.06 0 0 0-.55 1.56V21a1 1 0 0 1-2 0v-.57a6 6 0 0 1-5.27-2.09 3.9 3.9 0 0 0-1.16-.88 1 1 0 1 1 .5-1.94 4.93 4.93 0 0 1 2 1.36c1 1 2 1.88 3.9 1.52a3.89 3.89 0 0 1 .23-1.58c-2.06-.52-5-2-5-7a6 6 0 0 1 1-3.33.85.85 0 0 0 .13-.62 5.69 5.69 0 0 1 .33-3.21 1 1 0 0 1 .63-.57c.34-.1 1.56-.3 3.87 1.2a12.16 12.16 0 0 1 5.69 0c2.31-1.5 3.53-1.31 3.86-1.2a1 1 0 0 1 .63.57 5.71 5.71 0 0 1 .33 3.22.75.75 0 0 0 .11.57 6 6 0 0 1 1 3.34c0 5.07-2.92 6.54-5 7a4.28 4.28 0 0 1 .22 1.67V21a1 1 0 0 1-.94 1z"
>
</path>
</g>
</svg>
</a>
</footer>
<style>
footer {
padding: 25px;
text-align: center;
}
</style>
6 changes: 3 additions & 3 deletions packages/site/src/layouts/PageLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ const {
<BaseHead title={title} description={description} image={image} />
</head>
<body class="h-full">
<div class="min-h-full">
<div class="flex h-full flex-col">
<Header headerText={headerText} />
<div class="py-4">
<div class="flex basis-full flex-col py-4 pb-0">
<main>
<slot />
</main>
<Footer />
<Footer class="mt-auto" />
</div>
</div>
</body>
Expand Down