kopia lustrzana https://github.com/learn-awesome/learndb
misc
rodzic
23cd0a3115
commit
0797add566
|
@ -96,6 +96,14 @@
|
|||
</svelte:fragment>
|
||||
|
||||
<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
|
||||
isActive={currentView === "/topics"}
|
||||
target="#/topics"
|
||||
|
|
|
@ -4,7 +4,4 @@
|
|||
import SearchForm from "./SearchForm.svelte"
|
||||
</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}/>
|
||||
|
|
|
@ -73,8 +73,8 @@
|
|||
color: #1E3A8A;
|
||||
}
|
||||
</style>
|
||||
<div class="my-2">
|
||||
<sl-breadcrumb>
|
||||
<div class="my-2 flex flex-row">
|
||||
<sl-breadcrumb class="flex-grow">
|
||||
|
||||
<sl-breadcrumb-item href="#/topics" class="title">All Topics</sl-breadcrumb-item>
|
||||
|
||||
|
@ -91,6 +91,7 @@
|
|||
{/if}
|
||||
{/if}
|
||||
</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 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'>
|
||||
</head>
|
||||
<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>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
@ -113,7 +116,7 @@ d3.json("/learn/topics.json?_shape=array&_size=5000", function(alltopics){
|
|||
display(root);
|
||||
});
|
||||
|
||||
var margin = {top: 20, right: 0, bottom: 0, left: 0},
|
||||
var margin = {top: 30, right: 0, bottom: 0, left: 0},
|
||||
wh = browserDimensions(),
|
||||
width = wh[0] - (2 * margin.left) - (2*margin.right),
|
||||
height = wh[1] - (2 * margin.top - margin.bottom),
|
||||
|
|
Ładowanie…
Reference in New Issue