Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
args:
- 'image'
- type: 'module'
filename: '2059-160x140.jpg'
filename: 'biographies-chanock.png'
alt: 'Stephen J. Chanock, M.D.'
- entity: "node"
type: "cgov_biography"
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@import '../../legacy/styles/variables';
@import '../../legacy/styles/breakpoint-mixins';
@import '~Styles/sprites/svg-sprite';
@import '~Core/styles/profile-panel';

// Override wrapper styles for embedded images
// (Specifically the figure and caption/credit/enlarge styles
Expand All @@ -18,3 +17,25 @@
@import '../../legacy/transition-hacks/inner-page-embed-feature-card-hack';
@import '../../legacy/transition-hacks/inner-page-embed-entity-hack';
@import '../../legacy/transition-hacks/inner-page-embed-infographic-hack';

// Styles for press contact that was located in profile-panel
.press-contact {
background: $white;
border: 1px solid $yetAnotherGrey;
box-shadow: 0 0 9px 1px rgba(0, 0, 0, 0.15);
margin: 1.3em 0 1.5em 0;
padding: 15px;

h2 {
color: $dgrey00;
font-size: 23px;
margin-top: 0;
}

p {
&:last-child {
margin-bottom: 0;
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@forward '../../lib/components/cgdp-article-footer/';
@forward '../../lib/components/cgdp-related-resources';
@forward '../../lib/components/cgdp-document-dates';
@forward '../../lib/components/cgdp-profile-box';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-image';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-infographic';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-video';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@import '../../legacy/styles/variables';
@import '../../legacy/styles/breakpoint-mixins';
@import '~Styles/sprites/svg-sprite';
@import '~Core/styles/profile-panel';

// Override wrapper styles for embedded images
// (Specifically the figure and caption/credit/enlarge styles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@forward '../../lib/components/cgdp-article-footer/';
@forward '../../lib/components/cgdp-related-resources';
@forward '../../lib/components/cgdp-document-dates';
@forward '../../lib/components/cgdp-profile-box';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-image';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-infographic';
@forward '../../lib/components/wysiwyg/common/cgdp-embed-video';
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
const initialize = () => {
//
};
export default initialize;
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@forward 'usa-icon';
@use 'uswds-core' as *;

.cgdp-profile-box {
@include u-shadow(2);
@include u-radius('md');
@include u-padding(3);

// TODO we should just expect good images, right?
img {
max-width: 100%;
height: auto;
}

.cgdp-profile-box__heading {
@include typeset-h1;
margin: 0 0 units(2);
}

.cgdp-profile-box__title {
font-size: size("body", "sm");
}

.cgdp-profile-box__titles,
.cgdp-profile-box__org {
@include unstyled-list;
@include u-margin-y(2);
}

.cgdp-profile-box__address,
.cgdp-profile-box__phone,
.cgdp-profile-box__publications,
.cgdp-profile-box__social-media,
.cgdp-profile-box__website {
@include u-margin-y(2);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Passthrough for cleaner imports.
import initialize from './cgdp-profile-box';
export default initialize;
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for item in items %}
{{ item.content }}
{% endfor %}
{{ item.content }}
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{% for item in items %}
<div class="profile-contact-email">
<a href="mailto:{{- item.content -}}">
{{ item.content }}
</a>
</div>
<a href="mailto:{{- item.content -}}">
{{ item.content }}
</a>
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% for item in items %}
<a href="http://www.linkedin.com/in/{{- item.content -}}" class="profile-social-link linkedin no-exit-notification">
<i class="icon" aria-hidden="true"></i>
<span class="show-for-sr">Connect with me on LinkedIn</span>
</a>
{% endfor %}
<a href="http://www.linkedin.com/in/{{- item.content -}}" class="cgdp-profile-box__linkedin no-exit-notification">
<i class="icon" aria-hidden="true"></i>
<span class="show-for-sr">Connect with me on LinkedIn</span>
</a>
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for item in items %}
{{ item.content }}
{{ item.content }}
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for item in items %}
<div class="profile-contact-phone">{{ item.content }}</div>
{% endfor %}
{{ item.content }}
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{% for item in items %}
<a href="{{- item.content -}}" class="profile-social-link publications no-exit-notification">
<i class="icon publications" aria-hidden="true"></i>
<span class="show-for-sr">View my </span>
<span>Scientific Publications</span>
</a>
{% endfor %}
<a href="{{- item.content -}}" class="cgdp-profile-box__publications no-exit-notification">Scientific Publications</a>
{% endfor %}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="profile-titles">
<ul class="cgdp-profile-box__titles">
{% for item in items %}
<div class="profile-title">{{ item.content }}</div>
<li class="cgdp-profile-box__title">{{ item.content }}</li>
{% endfor %}
</div>
</ul>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% for item in items %}
<a href="http://www.twitter.com/{{- item.content -}}" class="profile-social-link twitter no-exit-notification">
<i class="icon" aria-hidden="true"></i>
<span class="show-for-sr">Follow me on X</span>
</a>
{% endfor %}
<a href="http://www.twitter.com/{{- item.content -}}" class="cgdp-profile-box__twitter no-exit-notification">
<i class="icon" aria-hidden="true"></i>
<span class="show-for-sr">Follow me on X</span>
</a>
{% endfor %}
Loading