kopia lustrzana https://github.com/learn-awesome/learndb
misc
rodzic
23cd0a3115
commit
0797add566
|
@ -96,6 +96,14 @@
|
||||||
</svelte:fragment>
|
</svelte:fragment>
|
||||||
|
|
||||||
<svelte:fragment slot="nav">
|
<svelte:fragment slot="nav">
|
||||||
|
<NavButtonWithLabel
|
||||||
|
isActive={currentView === "/map"}
|
||||||
|
target="#/map"
|
||||||
|
label="Explore the Map"
|
||||||
|
>
|
||||||
|
<LibraryIcon class=" flex-shrink-0 h-6 w-6"/>
|
||||||
|
</NavButtonWithLabel>
|
||||||
|
|
||||||
<NavButtonWithLabel
|
<NavButtonWithLabel
|
||||||
isActive={currentView === "/topics"}
|
isActive={currentView === "/topics"}
|
||||||
target="#/topics"
|
target="#/topics"
|
||||||
|
|
|
@ -4,7 +4,4 @@
|
||||||
import SearchForm from "./SearchForm.svelte"
|
import SearchForm from "./SearchForm.svelte"
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="hidden lg:flex lg:justify-end">
|
|
||||||
<a href="#/map" class="font-semibold bg-secondary text-primary_light rounded-lg hover:scale-110 px-3 py-2 hover:ease-in-out transition duration-200">Explore Map</a>
|
|
||||||
</div>
|
|
||||||
<TopicMasonryGrid {alltopics}/>
|
<TopicMasonryGrid {alltopics}/>
|
||||||
|
|
|
@ -73,8 +73,8 @@
|
||||||
color: #1E3A8A;
|
color: #1E3A8A;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="my-2">
|
<div class="my-2 flex flex-row">
|
||||||
<sl-breadcrumb>
|
<sl-breadcrumb class="flex-grow">
|
||||||
|
|
||||||
<sl-breadcrumb-item href="#/topics" class="title">All Topics</sl-breadcrumb-item>
|
<sl-breadcrumb-item href="#/topics" class="title">All Topics</sl-breadcrumb-item>
|
||||||
|
|
||||||
|
@ -91,6 +91,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</sl-breadcrumb>
|
</sl-breadcrumb>
|
||||||
|
<a href="https://github.com/learn-awesome/learndb" target="_blank" class="underline text-primary hover:font-bold px-2">Help us improve this taxonomy</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="gap-8 columns-1 sm:columns-2 lg:columns-3 xl:columns-4 3xl:columns-5 mb-8">
|
<div class="gap-8 columns-1 sm:columns-2 lg:columns-3 xl:columns-4 3xl:columns-5 mb-8">
|
||||||
|
|
|
@ -77,6 +77,9 @@ rect.parent,
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div style="text-align: right;">
|
||||||
|
<a href="https://github.com/learn-awesome/learndb" target="_blank" style="text-decoration:underline; padding: 2px 3px; font-weight: 700;">Help us improve this taxonomy</a>
|
||||||
|
</div>
|
||||||
<p id="chart"></p>
|
<p id="chart"></p>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
|
@ -113,7 +116,7 @@ d3.json("/learn/topics.json?_shape=array&_size=5000", function(alltopics){
|
||||||
display(root);
|
display(root);
|
||||||
});
|
});
|
||||||
|
|
||||||
var margin = {top: 20, right: 0, bottom: 0, left: 0},
|
var margin = {top: 30, right: 0, bottom: 0, left: 0},
|
||||||
wh = browserDimensions(),
|
wh = browserDimensions(),
|
||||||
width = wh[0] - (2 * margin.left) - (2*margin.right),
|
width = wh[0] - (2 * margin.left) - (2*margin.right),
|
||||||
height = wh[1] - (2 * margin.top - margin.bottom),
|
height = wh[1] - (2 * margin.top - margin.bottom),
|
||||||
|
|
Ładowanie…
Reference in New Issue