CSS school kaitlyns demands
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 22s
All checks were successful
Rebuild signaller for deprived.dev to rebuild site / Rebuild Signaller (push) Successful in 22s
This commit is contained in:
parent
6ec52a6ad2
commit
9dac27fcf2
2 changed files with 44 additions and 19 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
import countryList from "country-list-js";
|
import countryList from "country-list-js";
|
||||||
import onMount from "@src/optimizers/onMount";
|
import onMount from "@src/optimizers/onMount";
|
||||||
import Search from "lucide-svelte/icons/search";
|
import Search from "lucide-svelte/icons/search";
|
||||||
|
import X from "lucide-svelte/icons/x";
|
||||||
|
|
||||||
class Range {
|
class Range {
|
||||||
start: number = 0;
|
start: number = 0;
|
||||||
|
|
@ -80,13 +81,32 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
selectCountry("DNK", true);
|
||||||
console.log(countryList.findByIso3("DNK"));
|
console.log(countryList.findByIso3("DNK"));
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-col w-full h-full pt-40 gap-16 NotoSans">
|
<div class="flex flex-col w-full h-full pt-40 gap-16 NotoSans">
|
||||||
<div class="flex justify-center w-full">
|
<div class="flex flex-col items-center justify-center w-full">
|
||||||
<h1 class="text-4xl">Computational Social Science</h1>
|
<h1 class="text-4xl">Country Mention Networks in UN Speeches</h1>
|
||||||
|
<div>Computational Social Science 02467 - group 10</div>
|
||||||
|
<div class="flex gap-8">
|
||||||
|
<a
|
||||||
|
class="link link-primary"
|
||||||
|
href="https://git.deprived.dev/DeprivedDevs/deprived-main-website/src/branch/main/src/routes/school/css"
|
||||||
|
>Website repository</a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
class="link link-primary"
|
||||||
|
href="https://github.com/MagicBOTAlex/Social-Informatik-02467-project"
|
||||||
|
>Python repository</a
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
class="link link-primary"
|
||||||
|
href="https://www.kaggle.com/datasets/unitednations/un-general-debates"
|
||||||
|
>Dataset from kaggle</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col items-center justify-center w-full prose">
|
<div class="flex flex-col items-center justify-center w-full prose">
|
||||||
<div class="flex gap-30 justify-between">
|
<div class="flex gap-30 justify-between">
|
||||||
|
|
@ -149,10 +169,11 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class={currentCountry == "" ? "hidden" : ""}
|
class="{currentCountry == '' ? 'hidden' : ''} relative"
|
||||||
style="width: 80%; height: 800px;"
|
style="width: 80%; height: 800px;"
|
||||||
>
|
>
|
||||||
<div>{currentCountrySelected}</div>
|
<div>{currentCountrySelected}</div>
|
||||||
|
<div class="relative w-full h-full">
|
||||||
<iframe
|
<iframe
|
||||||
src={currentCountry}
|
src={currentCountry}
|
||||||
width="100%"
|
width="100%"
|
||||||
|
|
@ -161,8 +182,18 @@
|
||||||
allowtransparency={true}
|
allowtransparency={true}
|
||||||
title="Network Graph"
|
title="Network Graph"
|
||||||
bind:this={interactiveEmbed}
|
bind:this={interactiveEmbed}
|
||||||
|
class="relative"
|
||||||
>
|
>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
<button
|
||||||
|
on:click={() => {
|
||||||
|
currentCountrySelected = "";
|
||||||
|
}}
|
||||||
|
class="absolute right-0 top-0"
|
||||||
|
>
|
||||||
|
<X class="text-accent w-16 h-18 cursor-pointer" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-[60%]">
|
<div class="w-[60%]">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
|
|
|
||||||
|
|
@ -71,12 +71,6 @@ body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
|
||||||
a:link a:visited {
|
|
||||||
color: var(--text1);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue