Skip to content

Commit

Permalink
updated styling in homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Feb 28, 2025
1 parent 1ea8dd2 commit 54cd73a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 deletions.
7 changes: 3 additions & 4 deletions src/components/Home/CategoryBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
>
<div
style="height: 136px"
class="d-flex justify-center"
class="d-flex justify-center pt-4"
>
<v-icon
size="80"
size="90"
color="white"
style="opacity: .7"
>
Expand Down Expand Up @@ -66,7 +66,6 @@
width="400"
height="100"
:src="customIcons.values[blockCategories.secondColumn.icon].icon"
contain
/>
<v-card-title class="d-inline">
{{ blockCategories.secondColumn.title }}
Expand Down Expand Up @@ -104,7 +103,7 @@
>
<div
style="height: 136px"
class="d-flex justify-center"
class="d-flex justify-center pt-4"
>
<v-icon
size="90"
Expand Down
6 changes: 4 additions & 2 deletions src/components/Home/CommunityBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
>
<div
style="height: 136px"
class="d-flex justify-center"
class="d-flex justify-center align-center"
>
<v-icon
size="80"
color="white"
style="opacity: .7"
class="d-inline-flex"
>
{{ customIcons.values[communityBlock.firstColumn.icon].icon }}
</v-icon>
Expand Down Expand Up @@ -66,12 +67,13 @@
>
<div
style="height: 136px"
class="d-flex justify-center"
class="d-flex justify-center align-center"
>
<v-icon
size="80"
color="white"
style="opacity: .7"
class="d-inline-flex"
>
{{ customIcons.values[communityBlock.secondColumn.icon].icon }}
</v-icon>
Expand Down
9 changes: 5 additions & 4 deletions src/components/Navigation/Footer.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<v-row class="white--text pt-5 footer-container justify-center">
<v-row class="text-white pt-5 footer-container justify-center">
<!-- Footer Blocks -->
<v-col
v-for="(block,index) in footerData"
Expand Down Expand Up @@ -54,7 +54,7 @@
<Icon
class="pt-2"
item="arrowUp"
size="small"
size="x-small"
wrapper-class=""
color="white"
/>
Expand Down Expand Up @@ -91,7 +91,7 @@ import Icon from "@/components/Icon"
import footerData from '@/data/footerData.json'
export default {
name: "Footer",
name: "FooterComp",
components: { Icon },
data: () => {
return {
Expand Down Expand Up @@ -125,7 +125,8 @@ li {
border-bottom: 30px solid #27aae1;
position: absolute;
top: -59px;
left: 48%;
left: auto;
right: auto;
#arrow-up {
position: absolute;
left: -7px;
Expand Down
10 changes: 5 additions & 5 deletions src/plugins/icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const customIcons = {
},
arrowUp: {
type: "icon",
icon: "fa-chevron-up",
icon: "fas fa-chevron-up",
},
data_access: {
type: "icon",
Expand Down Expand Up @@ -227,7 +227,7 @@ const customIcons = {
},
recommended: {
type: "icon",
icon: "fa-thumbs-up",
icon: "fas fa-thumbs-up",
},
video: {
type: "icon",
Expand All @@ -239,7 +239,7 @@ const customIcons = {
},
educational: {
type: "icon",
icon: "fa-graduation-cap",
icon: "fas fa-graduation-cap",
},
api: {
type: "icon",
Expand Down Expand Up @@ -287,11 +287,11 @@ const customIcons = {
},
users: {
type: "icon",
icon: "fa-users",
icon: "fas fa-users",
},
collaborators: {
type: "icon",
icon: "fa-users-cog",
icon: "fas fa-users-cog",
},
info: {
type: "icon",
Expand Down

0 comments on commit 54cd73a

Please sign in to comment.