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

#3948 Footer redesign #4016

Merged
merged 18 commits into from
Oct 7, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
#3948 footer substack changes, mobile changes
  • Loading branch information
prachi00 committed Sep 30, 2022
commit ba563835cfc667b5c892eccec9244317562ec64f
46 changes: 22 additions & 24 deletions components/TheFooter.vue
Original file line number Diff line number Diff line change
@@ -4,22 +4,21 @@
<div class="footer-container-subs is-flex is-flex-direction-column">
<span class="footer-container-heading">{{ $t('footer.subscribe') }}</span>
<div class="is-flex is-align-items-center footer-container-subs-items">
<!-- <b-input
v-model="subscriptionEmail"
class="footer-container-subs-input"
placeholder="Your Email Address"
expanded />
<b-button
type="is-primary"
class="footer-container-subs-btn"
@click="$emit('click')">
<slot> {{ $t('footer.subscribeLabel') }} </slot>
</b-button> -->
<iframe
height="94"
src="https://kodadot.substack.com/embed"
frameborder="0"
scrolling="no"></iframe>
<div id="custom-substack-embed"></div>

<script>
window.CustomSubstackWidget = {
substackUrl: 'kodadot.substack.com',
theme: 'custom',
colors: {
primary: '#FF7AC3',
input: '#000000',
email: '#FFFFFF',
text: '#000000',
},
}
</script>
<script src="https://substackapi.com/widget.js" async></script>
</div>
</div>
<div class="footer-container-info is-flex is-flex-direction-column">
@@ -30,13 +29,13 @@
v-for="item in menu"
:key="item.url"
class="footer-container-info-list-item">
<a
v-if="item.external"
:href="item.url"
target="_blank"
rel="noopener noreferrer">
{{ item.name }}
</a>
<div v-if="item.external" class="is-flex is-align-items-center">
<a :href="item.url" target="_blank" rel="noopener noreferrer">
{{ item.name }}
</a>
<b-icon icon="external-link-alt" class="ml-1" size="is-small">
</b-icon>
</div>
<nuxt-link v-else :to="item.url">
{{ item.name }}
</nuxt-link>
@@ -81,7 +80,6 @@ interface Menu {
}
@Component({})
export default class Footer extends Vue {
private subscriptionEmail = ''
public menu: Menu[] = [
{
name: this.$t('about'),
5 changes: 2 additions & 3 deletions styles/layouts/_footer.scss
Original file line number Diff line number Diff line change
@@ -88,9 +88,9 @@
border-left: 0 !important;
box-shadow: $primary-shadow !important;
}

&-input {
box-shadow: $primary-shadow;

.input {
border-radius: 0px;
border: 1px solid $black;
@@ -109,11 +109,10 @@

&-list {
display: grid;
grid-template-columns: repeat(2, 125.25px);
grid-template-columns: repeat(2, auto);
grid-gap: 10px;

&-item {
position: relative;

a {
color: $white !important;