This repository has been archived by the owner on Feb 8, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: better header on company page (#853)
- Loading branch information
Showing
7 changed files
with
69 additions
and
146 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
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,51 @@ | ||
<style lang="scss" scoped> | ||
.company-logo { | ||
width: 45px; | ||
padding: 4px; | ||
margin: 10px; | ||
} | ||
</style> | ||
|
||
<template> | ||
<div class="ph2 ph5-ns mb5 bb bb-gray"> | ||
<div class="flex-ns justify-between items-center"> | ||
<div class="flex items-center"> | ||
<!-- logo --> | ||
<div v-if="statistics.logo" class="company-logo relative ba bb-gray br3 bg-white mr3-ns"> | ||
<img :src="statistics.logo" alt="logo" /> | ||
</div> | ||
|
||
<!-- company name --> | ||
<h2 class="ma0 fw4 f3"> | ||
{{ $page.props.auth.company.name }} <a href="https://dundermifflin.com" class="ml3-ns di-ns db mb0-ns mb2 f6 fw4 no-underline gray bb-0">https://dundermifflin.com</a> | ||
</h2> | ||
</div> | ||
|
||
<div class="flex pa0-ns pa3"> | ||
<div> | ||
<p class="ttu f7 gray mb1 mt0 mr5">number of employees</p> | ||
<p class="mt0 mb0">{{ statistics.number_of_employees }}</p> | ||
</div> | ||
<div> | ||
<p class="ttu f7 gray mb1 mt0 mr5">number of teams</p> | ||
<p class="mt0 mb0">{{ statistics.number_of_teams }}</p> | ||
</div> | ||
<div v-if="statistics.founded_at" class=""> | ||
<p class="ttu f7 gray mb1 mt0 mr5">{{ $t('company.stat_founded_at') }}</p> | ||
<p class="mt0 mb0">{{ statistics.founded_at }}</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
props: { | ||
statistics: { | ||
type: Object, | ||
default: null, | ||
}, | ||
}, | ||
}; | ||
</script> |
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