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: Add simple footer #6

Merged
merged 1 commit into from
Sep 25, 2024
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
25 changes: 25 additions & 0 deletions app/components/footer/index.gjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import Component from '@glimmer/component';
import GitHubLogo from 'ember-phosphor-icons/components/ph-github-logo';
import LinkedInLogo from 'ember-phosphor-icons/components/ph-linkedin-logo';
import { t } from 'ember-intl';

export default class OpenToFiles extends Component {
<template>
<a
href='https://github.com/MichalBryxi/open-to-dot-dot-dot'
class='pr-6 text-gray-500 hover:text-black'
target='_blank'
>
<GitHubLogo class='inline' />
{{t 'footer.github'}}
</a>
<a
href='https://www.linkedin.com/posts/courtneysummer_desperate-opentowork-opentowork-activity-7241410975193513984-vexX?utm_source=share&utm_medium=member_desktop'
class='pr-6 text-gray-500 hover:text-black'
target='_blank'
>
<LinkedInLogo class='inline' />
{{t 'footer.linked-in'}}
</a>
</template>
}
5 changes: 5 additions & 0 deletions app/components/open-to/index.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { t } from 'ember-intl';
import OpenToFiles from './files';
import OpenToToggles from './toggles';
import OpenToExport from './export';
import Footer from '../footer';

export default class OpenTo extends Component {
<template>
Expand Down Expand Up @@ -38,6 +39,10 @@ export default class OpenTo extends Component {
<div class='px-4 py-5 sm:px-6'>
<OpenToExport />
</div>

<div class='px-4 py-5 sm:px-6'>
<Footer />
</div>
</div>

</div>
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,8 @@
"exports": {
"./tests/*": "./tests/*",
"./*": "./app/*"
},
"dependencies": {
"ember-phosphor-icons": "^0.3.0"
}
}
16 changes: 16 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions translations/en-us.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ toggles:
colour-stop: Colour stop
export:
button: Export
footer:
github: GitHub
linked-in: Original LinkedIn post
Loading