Skip to content

Commit

Permalink
fix: resolve 404 on favorites, adjust favorites spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed May 19, 2020
1 parent 319c5e3 commit 0d270cb
Show file tree
Hide file tree
Showing 71 changed files with 8 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/assets/styles/components/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ button:-moz-focusring {

.align-right .button--borderless {
display: inline-block;
margin: rem(6) rem(-8) rem(6) rem(24);
margin: 0 rem(-8) 0 rem(24);
}

.button--borderless.button--inverse {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/layouts/_favorites.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

.page.page-template-page-favorites .cards .card__wrapper {
display: grid;
gap: rem(20);
gap: rem(16);
grid-template-columns: 100%;
grid-template-rows: 1fr 3rem;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
title: 'Custom Checkboxes',
status: 'ready',
status: 'wip',
standAlone: 'false',
context: {
label: 'Nested Checkboxes',
Expand Down
2 changes: 1 addition & 1 deletion src/components/10-atoms/110-image/image.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
title: 'Image',
status: 'ready',
status: 'wip',
context: {
src: '/images/person.jpg',
width: 367,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Call to Action',
status: 'ready',
order: 60,
context: {
href: 'https://example.com/call-to-action',
label: 'Call to Action',
Expand All @@ -16,6 +15,7 @@ module.exports = {
},
{
name: 'Inverse',
status: 'wip',
context: {
modifier: 'inverse',
bodyClass: 'has-blue-500-background-color'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
title: 'Search Button',
status: 'wip',
order: 2
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const faker = require( 'faker' );
module.exports = {
title: 'Notification',
status: 'ready',
order: 10,
context: {
icon: 'info',
title: 'Notification',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Details',
status: 'wip',
order: 11,
context: {
label: 'Show details',
content: 'Platform cooperatives are an alternative to venture capital-funded and centralized platforms, putting stakeholders before shareholders.'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Saved Search',
status: 'wip',
order: 12,
context: {
title: 'Cooperative economy paper',
searchTerm: 'Cooperative Economy',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Pagination',
status: 'wip',
order: 13,
context: {
contentType: 'resources',
perPage: 10
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Footer',
status: 'wip',
order: 14,
context: {
hasFooter: true,
inFooter: true
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ module.exports = {
title: 'Global Navigation',
label: 'Global Navigation',
status: 'wip',
order: 15,
context: {
inBanner: true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Radio Group',
status: 'wip',
order: 16,
context: {
label: 'Niches',
buttons: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Responsive Blocks',
status: 'wip',
order: 17,
context: {
divider: true,
dividerText: 'or'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Search Form',
status: 'wip',
order: 3,
context: {
standAlone: false,
name: 's',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Menu Button',
status: 'wip',
order: 5,
context: {
standAlone: false,
label: 'Sort by',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Menu',
status: 'wip',
order: 5,
status: 'ready',
context: {
inBanner: true,
},
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Card',
status: 'wip',
order: 6,
status: 'ready',
context: {
title: 'Card',
format: 'Card',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Info Card',
status: 'wip',
order: 6,
context: {
title: 'Change language',
icon: 'language',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ for ( let i = 0; i < paneCount; i++ ) {
module.exports = {
title: 'Accordion',
status: 'wip',
order: 7,
context: {
panes: paneData,
standAlone: false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
name: 'Filter List',
status: 'wip',
order: 7,
context: {
label: 'Topics',
terms: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ for ( let i = 1; i <= linkCount; i++ ) {
module.exports = {
title: 'Link List',
status: 'wip',
order: 8,
context: {
standAlone: false,
items: items
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Dialog',
status: 'wip',
order: 9,
context: {
buttonIcon: 'delete',
buttonLabel: 'Remove favorite',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Brand',
status: 'ready',
order: 1,
context: {
logo: 'pcc',
inBanner: true,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Nav',
status: 'wip',
order: 4,
context: {
inBanner: true,
menuTitle: 'Menu',
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
title: 'Molecules',
order: 2,
};
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
title: 'Skeleton',
status: 'ready',
order: 1,
};
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ for ( let i = 0; i < resourceCount; i++ ) {
module.exports = {
title: 'Home',
status: 'wip',
order: 2,
context: {
bodyClass: 'page home',
hasMenu: true,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Page',
status: 'wip',
order: 3,
context: {
bodyClass: 'page',
hasMenu: true,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ for ( let i = 0; i < resourceCount; i++ ) {
module.exports = {
title: 'Archive',
status: 'wip',
order: 4,
context: {
bodyClass: 'archive post-type-archive taxonomy',
hasMenu: true,
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Resource',
status: 'ready',
order: 5,
context: {
bodyClass: 'single-lc_resource',
hasMenu: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module.exports = {
title: 'Term List',
status: 'wip',
// order: 5,
context: {
bodyClass: 'page term-list topics',
hasMenu: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ for ( let i = 0; i < resourceCount; i++ ) {
module.exports = {
title: 'Search Results',
status: 'wip',
order: 6,
context: {
bodyClass: 'search search-results',
hasMenu: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const formats = [
},
{
label: 'Academic Paper',
svg: 'academic-paper',
svg: 'academic',
},
{
label: 'Report',
Expand Down Expand Up @@ -75,7 +75,6 @@ for ( let i = 0; i < resourceCount; i++ ) {
module.exports = {
title: 'Favorites',
status: 'wip',
order: 7,
context: {
bodyClass: 'page page-template-page-favorites',
hasMenu: true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
module.exports = {
title: 'Layouts',
order: 3,
};

0 comments on commit 0d270cb

Please sign in to comment.