Skip to content

Commit 7c91739

Browse files
committed
trying to get better logos, cosmetics for profile pages.
1 parent eacbc6c commit 7c91739

30 files changed

Lines changed: 46 additions & 39 deletions

community-app/frontend/src/components/HireView.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,14 @@ const hire = computed(()=>{
3434
<div class="card-body">
3535
<img v-if="hire.image" :src="hire.image" class="img-fluid pt-2 mb-4"/>
3636
<p v-if="hire.description" class="card-text" v-html="hire.description"></p>
37-
<hr class="d-lg-none mt-3 mt-lg-0"/>
3837
<div class="row">
3938
<div class="col-12 col-lg-6" v-if="hire.skills_vvvv">
4039
<div class="pr-lg-2">
4140
<p class="py-0 mb-0 text-muted font-weight-bold" style="font-variant-caps: all-small-caps;"><b>vvvv skills</b></p>
4241
<p class="card-text" v-html="hire.skills_vvvv"></p>
4342
</div>
4443
</div>
45-
<div class="col-12 col-lg-6" v-if="hire.skills_vvvv">
44+
<div class="col-12 col-lg-6" v-if="hire.skills_other">
4645
<div class="pl-lg-2">
4746
<p class="py-0 mb-0 text-muted font-weight-bold" style="font-variant-caps: all-small-caps;"><b>other skills</b></p>
4847
<p class="card-text" v-html="hire.skills_other"></p>

community-app/frontend/src/components/InstitutionBasics.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ const socialKeys = ["website", "github", "nuget", "mastodon", "pixelfed"];
2020
<h5>{{ data.name }}</h5>
2121
</div>
2222
<LocationFull :data="data"/>
23+
24+
<Internships :data="data" text="Accepting internship applications"/>
2325

2426
<SocialView class="mt-4 mb-4 pt-3 border-top" v-if="Object.keys(data.social).length>0" :social="data.social" />
2527

26-
<Internships :data="data" text="Accepting internship applications"/>
2728

2829
<Links class="links" :data="data"/>
2930

community-app/frontend/src/components/SocialView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ onMounted(()=>{
3535
3636
<template>
3737
<div>
38-
<div class="mt-4 mt-sm-0 pb-2 socialView" v-if="socialLinks.length > 0">
38+
<div class="mt-md-2 mt-0 socialView" v-if="socialLinks.length > 0">
3939
<div class="mb-1 pr-2" v-for="link in socialLinks" :key="link.key">
4040
<div class="pb-2">
4141
<NIcon v-if="link.icon" class="mr-2" size="20"><component :is="link.icon"/></NIcon>
@@ -45,7 +45,7 @@ onMounted(()=>{
4545
</div>
4646
</div>
4747
</div>
48-
<div class="mt-4 mt-sm-0 socialView border-top" v-if="socialFields.length > 0">
48+
<div class="mt-md-2 pt-2 socialView border-top" v-if="socialFields.length > 0">
4949
<div class="mb-1 pr-2 socialItem" v-for="field in socialFields" :key="field.key">
5050
<div class="key">{{ field.key }}</div>
5151
<template v-if="field.url"><a :href="field.url" target="_blank">{{ field.text }}</a></template>

community-app/frontend/src/components/overview/BusinessesStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const useBusinessesStore = defineStore ('businesses',{
3131

3232
async function fetchBusinesses(){
3333

34-
const imageParamsLogos = "?withoutEnlargement=true&quality=98&fit=cover&height=55";
34+
const imageParamsLogos = "?withoutEnlargement=true&quality=98&fit=cover&height=200&format=png";
3535
const url = Constants.GET_COMPANIES+"?fields[]=name,logo&meta=filter_count";
3636

3737
const limit = 8;

community-app/frontend/src/components/overview/EdusStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const useEdusStore = defineStore ('edus',{
3131

3232
async function fetchEdus(){
3333

34-
const imageParamsLogos = "?withoutEnlargement=true&quality=98&fit=cover&height=55";
34+
const imageParamsLogos = "?withoutEnlargement=true&quality=98&fit=cover&height=200&format=png";
3535
const url = Constants.GET_EDUS+"?fields[]=name,logo&meta=filter_count";
3636

3737
const limit = 8;

community-app/frontend/src/routes/BusinessListStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const useBusinessListStore = defineStore ('businessList',{
2929
})
3030

3131
const URL = Constants.BASEURL+`items/Company?fields=*&sort=name&meta=filter_count`;
32-
const LOGO_SETTINGS = 'withoutEnlargement=true&fit=inside&height=60&quality=90&format=auto';
32+
const LOGO_SETTINGS = 'withoutEnlargement=true&fit=inside&height=120&quality=90&format=png';
3333

3434
function logoSrc (src)
3535
{

community-app/frontend/src/routes/BusinessView.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ onMounted(async ()=>
5353
<div class="col-12 col-md-6 col-lg-4 mb-sm-4">
5454
<InstitutionBasics class="mb-3" :data="company"/>
5555
</div>
56-
<div v-if="description" class="col-12 col-md-6 col-lg-8 mt-3 mt-md-0 profileContent">
56+
<div v-if="description" class="col-12 col-md-6 col-lg-8 mt-0 mt-md-3 mt-md-0 profileContent">
57+
58+
<hr class="d-block d-md-none"/>
59+
5760
<p v-html="description"></p>
5861
<MaintainedBy class="maintained mt-4 pt-3 border-top d-block d-md-none" :data="company.owner"/>
5962
</div>

community-app/frontend/src/routes/EduListStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const useEduListStore = defineStore ('eduList',{
2828
})
2929

3030
const url = Constants.GET_EDUS+`?fields=*&sort=name&meta=filter_count`;
31-
const LOGO_SETTINGS = 'withoutEnlargement=true&fit=inside&height=60&quality=90&format=auto';
31+
const LOGO_SETTINGS = 'withoutEnlargement=true&fit=inside&height=120&quality=90&format=png';
3232

3333
async function fetchEduList()
3434
{

community-app/frontend/src/routes/EduView.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ const url = computed(()=>{
7777
<div class="col-12 col-md-6 col-lg-4 mb-sm-4">
7878
<InstitutionBasics class="mb-3" :data="edu"/>
7979
</div>
80-
<div v-if="edu.description" class="col-12 col-md-6 col-lg-8 profileContent">
80+
<div v-if="edu.description" class="col-12 col-md-6 col-lg-8 mt-0 mt-md-3 mt-md-0 profileContent">
81+
82+
<hr class="d-block d-md-none"/>
83+
8184
<p v-html="edu.description"></p>
8285
<MaintainedBy class="maintained mt-4 pt-3 border-top d-block d-md-none" :data="edu.owner"/>
8386
</div>

community-app/frontend/src/routes/UserList.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,9 @@ const columns = [
137137
sorter: true
138138
},
139139
{
140-
title: 'Available for Hire',
140+
title: 'For Hire',
141141
key: 'related.hire.available',
142-
width: 60,
142+
width: 40,
143143
ellipsis: true,
144144
sorter: true,
145145
render(row) {
@@ -152,14 +152,14 @@ const columns = [
152152
{
153153
title: 'Since',
154154
key: 'date_created',
155-
width: 50,
155+
width: 40,
156156
ellipsis: true,
157157
sorter: true
158158
},
159159
{
160160
title: 'Updated',
161161
key: 'last_modified',
162-
width: 50,
162+
width: 40,
163163
ellipsis: true,
164164
sorter: true
165165
}

0 commit comments

Comments
 (0)