Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract a supplementary card into read-side/html-pages/shared-compone…
…nts #3229
- Loading branch information
1 parent
ffb7880
commit bb62ba2
Showing
7 changed files
with
19 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ | |
@use 'site-footer'; | ||
@use 'site-header'; | ||
@use 'standard-page-layout'; | ||
@use 'supplementary-card'; | ||
@use 'tabs'; |
14 changes: 14 additions & 0 deletions
14
src/read-side/html-pages/shared-components/supplementary-card/_index.scss
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,14 @@ | ||
@use 'button'; | ||
@use 'card'; | ||
|
||
.supplementary-card { | ||
@include card.basics(); | ||
} | ||
|
||
.supplementary-card__title { | ||
@include card.title(); | ||
} | ||
|
||
.supplementary-card__button_link { | ||
@include button.primary-link(); | ||
} |
1 change: 1 addition & 0 deletions
1
src/read-side/html-pages/shared-components/supplementary-card/index.ts
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 @@ | ||
export { supplementaryCard } from './supplementary-card'; |
2 changes: 1 addition & 1 deletion
2
src/shared-components/supplementary-card.ts → .../supplementary-card/supplementary-card.ts
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