AttributionInformation component

Этот коммит содержится в:
Maarten 2024-10-14 22:40:40 +02:00
родитель 69bca7a090
Коммит e3d389278f
5 изменённых файлов: 30 добавлений и 7 удалений

Просмотреть файл

@ -1,7 +1,7 @@
export default [
{
//"id": "1tSZ6hKWKR0u3pIxvm3L_6SO3ab2yqjM8ww7GMBU3EwE",
"id": "1sDuhhouZ1IYsi355slAtY2SeF6781vO8AvhVL-EE_3A",
"id": "1tSZ6hKWKR0u3pIxvm3L_6SO3ab2yqjM8ww7GMBU3EwE",
//"id": "1sDuhhouZ1IYsi355slAtY2SeF6781vO8AvhVL-EE_3A",
"filepath": "src/data/copy.json"
}
]

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Просмотреть файл

@ -147,4 +147,26 @@
<li><strong>Sub-Actor Parent Organization or Affiliation</strong> (free text). The organization, institution, or affiliation within which the sub-actor operates. This does not include Actor Nation. (Examples would include IRGC, 8200, CENTCOM, Ministry of Public Security.)</li>
<li><strong>Campaign Tag</strong> (free text). Does this sub-attribution connect to any larger pattern of behavior? See the existing list of "Campaign" Tags before making a new tag.</li>
<li><strong>Date of Activity</strong> (free text). Date or range of purported activity.</li>
</ul>
</ul>
<style>
h5 {
color: #333;
margin-top: 20px;
margin-bottom: 10px;
}
ul {
padding-left: 20px;
}
ul.inner {
list-style-type: circle;
padding-left: 40px;
}
ul.inner-square {
list-style-type: square;
padding-left: 60px;
}
strong {
color: #444;
}
</style>

Просмотреть файл

@ -1,4 +1,5 @@
<script>
import AttributionInformation from '$lib/components/AttributionInformation.svelte';
export let title
export let paragraphs
export let id
@ -10,6 +11,9 @@
{#each paragraphs as par}
<p class="mb-4">{@html par}</p>
{/each}
{#if id == "taxonomy"}
<AttributionInformation />
{/if}
</div>
<style>

Просмотреть файл

@ -33,9 +33,6 @@
defaultTimeRange
} from '../stores/filters';
//$: console.log($timeRangeFilter)
//$: console.log($fullTimeRange)
$: innerWidth = 0;
$: isMobile = innerWidth < 520;
$: displayDataAs = isMobile ? 'Cards' : 'Table';