-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba603a3
commit b927621
Showing
11 changed files
with
214 additions
and
18 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
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,5 @@ | ||
declare interface Window { | ||
$chatwoot: { | ||
toggle: (state?: 'open' | 'close') => void; | ||
}; | ||
} |
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
File renamed without changes.
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,96 @@ | ||
<script> | ||
import Metadata from '$components/metadata.svelte'; | ||
import Employees from '$components/employees.svelte'; | ||
</script> | ||
|
||
<Metadata title="Om oss" /> | ||
|
||
<div class="container"> | ||
<div class="section elevator"> | ||
<h1>Vi gleder oss til å høre fra deg!</h1> | ||
<p>Bjerk har kontorer i Oslo ved Akersgata 51, 0180 Oslo og Finland.</p> | ||
<p> | ||
Du får tak i oss via chatten, eller på e-post til | ||
<a href="mailto:kontoret@bjerk.io"> kontoret@bjerk.io </a>. | ||
</p> | ||
<div class="call-to-action"> | ||
<button on:click={() => window.$chatwoot.toggle('open')}>Snakk med oss!</button> | ||
</div> | ||
</div> | ||
|
||
<div class="section"> | ||
<dl> | ||
<div> | ||
<dt>Organisasjonsnummer</dt> | ||
<dd>930 334 693</dd> | ||
</div> | ||
<div> | ||
<dt>E-post</dt> | ||
<dd>kontoret@bjerk.io</dd> | ||
</div> | ||
</dl> | ||
<dl> | ||
<div> | ||
<dt>Adresse</dt> | ||
<dd> | ||
<a href="https://goo.gl/maps/FkcqThLgRtCauPmZA" target="_blank" rel="noopener noreferrer"> | ||
Akersgata 51, 0180 Oslo | ||
</a> | ||
</dd> | ||
</div> | ||
</dl> | ||
</div> | ||
<div class="section employees"> | ||
<Employees /> | ||
</div> | ||
</div> | ||
|
||
<style lang="scss"> | ||
@use '$styles/mixins.scss'; | ||
.section, | ||
.container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
gap: var(--size-base); | ||
} | ||
.container { | ||
max-width: 60ch; | ||
gap: var(--size-lg); | ||
} | ||
.elevator { | ||
h1 { | ||
font-size: var(--font-size-lg); | ||
} | ||
.call-to-action { | ||
margin-top: var(--size-base); | ||
button { | ||
@include mixins.button; | ||
} | ||
} | ||
} | ||
.section dl { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | ||
gap: var(--size-sm); | ||
dt { | ||
font-weight: bold; | ||
} | ||
dd a { | ||
color: var(--color-primary); | ||
} | ||
} | ||
.employees { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); | ||
} | ||
</style> |
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,56 @@ | ||
@mixin button { | ||
box-shadow: var(--border-radius-base); | ||
border: 0px; | ||
|
||
cursor: pointer; | ||
display: inline-block; | ||
outline: none; | ||
text-align: center; | ||
text-decoration: none; | ||
|
||
padding: var(--size-base) var(--size-md); | ||
background-color: transparent; | ||
border: 0.15rem solid var(--foreground-color); | ||
color: var(--text-color); | ||
font-size: var(--font-size-base); | ||
border-radius: 80px; | ||
|
||
transition: background-color 0.2s, transform 0.2s, border-color 0.2s; | ||
|
||
&:hover { | ||
text-decoration: none; | ||
|
||
background-color: var(--green100); | ||
transform: scale(1.15) rotate(-3deg); | ||
border-color: transparent; | ||
} | ||
|
||
&:active { | ||
border: 2px solid var(--dark40); | ||
} | ||
} | ||
|
||
// /* CSS */ | ||
// .button-33 { | ||
// background-color: #c2fbd7; | ||
// border-radius: 100px; | ||
// box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,rgba(44, 187, 99, .15) 0 1px 2px,rgba(44, 187, 99, .15) 0 2px 4px,rgba(44, 187, 99, .15) 0 4px 8px,rgba(44, 187, 99, .15) 0 8px 16px,rgba(44, 187, 99, .15) 0 16px 32px; | ||
// color: green; | ||
// cursor: pointer; | ||
// display: inline-block; | ||
// font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif; | ||
// padding: 7px 20px; | ||
// text-align: center; | ||
// text-decoration: none; | ||
// transition: all 250ms; | ||
// border: 0; | ||
// font-size: 16px; | ||
// user-select: none; | ||
// -webkit-user-select: none; | ||
// touch-action: manipulation; | ||
// } | ||
|
||
// .button-33:hover { | ||
// box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,rgba(44,187,99,.25) 0 1px 2px,rgba(44,187,99,.25) 0 2px 4px,rgba(44,187,99,.25) 0 4px 8px,rgba(44,187,99,.25) 0 8px 16px,rgba(44,187,99,.25) 0 16px 32px; | ||
// transform: scale(1.05) rotate(-1deg); | ||
// } |
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