Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 24e3f04

Browse filesBrowse files
committed
Merge branch 'main' into feature/testing
2 parents ba8e493 + b520395 commit 24e3f04
Copy full SHA for 24e3f04

File tree

Expand file treeCollapse file tree

11 files changed

+754
-204
lines changed
Filter options
Expand file treeCollapse file tree

11 files changed

+754
-204
lines changed

‎components/elements/TopicCard.vue

Copy file name to clipboardExpand all lines: components/elements/TopicCard.vue
+18-1Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,24 @@ defineProps({
1111
<template>
1212
<nuxt-link :to="topic.url">
1313
<div class="flex items-center border-b border-gray-200 dark:border-gray-700 pb-12 mr-5">
14-
<img class="h-16" :src="topic.image" alt="nuxt 3 logo">
14+
<img class="h-16" :src="topic.image" v-if="topic.image !== '/img/nuxt3.svg'" alt="nuxt 3 logo">
15+
<svg v-if="topic.image == '/img/nuxt3.svg'" viewBox="0 0 221 65" fill="none" xmlns="http://www.w3.org/2000/svg" class="h-26 mr-5">
16+
<g clip-path="url(#a)">
17+
<path fill="currentColor"
18+
d="M82.5623 18.5705h7.3017l15.474 24.7415V18.5705h6.741v35.0576h-7.252L89.3025 28.938v24.6901h-6.7402V18.5705ZM142.207 53.628h-6.282v-3.916c-1.429 2.7559-4.339 4.3076-8.015 4.3076-5.822 0-9.603-4.1069-9.603-10.0175V28.3847h6.282v14.3251c0 3.4558 2.146 5.8592 5.362 5.8592 3.524 0 5.974-2.7044 5.974-6.4099V28.3847h6.282V53.628ZM164.064 53.2289l-6.026-8.4144-6.027 8.4144h-6.69l9.296-13.1723-8.58-12.0709h6.843l5.158 7.2641 5.106-7.2641h6.895l-8.632 12.0709 9.295 13.1723h-6.638ZM183.469 20.7726v7.6116h7.149v5.1593h-7.149v12.5311c0 .4208.17.8245.473 1.1223.303.2978.715.4654 1.144.4661h5.532v5.9547h-4.137c-5.617 0-9.293-3.2062-9.293-8.8109V33.5484h-5.056v-5.1642h3.172c1.479 0 2.34-.8639 2.34-2.2932v-5.3184h5.825Z"></path>
19+
<path fill-rule="evenodd" clip-rule="evenodd"
20+
d="M30.1185 11.5456c-1.8853-3.24168-6.5987-3.24169-8.484 0L1.08737 46.8747c-1.885324 3.2417.47133 7.2938 4.24199 7.2938H21.3695c-1.6112-1.4081-2.2079-3.8441-.9886-5.9341l15.5615-26.675-5.8239-10.0138Z"
21+
fill="#80EEC0"></path>
22+
<path
23+
d="M43.1374 19.2952c1.5603-2.6523 5.461-2.6523 7.0212 0l17.0045 28.9057c1.5603 2.6522-.39 5.9676-3.5106 5.9676h-34.009c-3.1206 0-5.0709-3.3154-3.5106-5.9676l17.0045-28.9057ZM209.174 53.8005H198.483c0-1.8514.067-3.4526 0-6.0213h10.641c1.868 0 3.353.1001 4.354-.934 1-1.0341 1.501-2.3351 1.501-3.9029 0-1.8347-.667-3.2191-2.002-4.1532-1.301-.9674-2.985-1.4511-5.054-1.4511h-2.601v-5.2539h2.652c1.701 0 3.119-.4003 4.253-1.2009 1.134-.8006 1.701-1.9849 1.701-3.5527 0-1.301-.434-2.3351-1.301-3.1023-.834-.8007-2.001-1.201-3.503-1.201-1.634 0-2.918.4837-3.853 1.4511-.9.9674-1.401 2.1517-1.501 3.5527h-6.254c.133-3.2358 1.251-5.7877 3.352-7.6558 2.135-1.868 4.887-2.8021 8.256-2.8021 2.402 0 4.42.4337 6.055 1.301 1.668.834 2.919 1.9515 3.753 3.3525.867 1.4011 1.301 2.9523 1.301 4.6536 0 1.9681-.551 3.636-1.651 5.0037-1.068 1.3344-2.402 2.235-4.004 2.7021 1.969.4003 3.57 1.3677 4.804 2.9022 1.234 1.5011 1.852 3.4025 1.852 5.7043 0 1.9347-.468 3.7028-1.402 5.304-.934 1.6012-2.301 2.8855-4.103 3.8529-1.768.9674-3.953 1.4511-6.555 1.4511Z"
24+
fill="#00DC82"></path>
25+
</g>
26+
<defs>
27+
<clipPath id="a">
28+
<path fill="#fff" d="M0 0h221v65H0z"></path>
29+
</clipPath>
30+
</defs>
31+
</svg>
1532
<div class="flex items-start justify-between w-full">
1633
<div class="pl-3 w-full">
1734
<div tabindex="0" class="focus:outline-none text-xl font-medium leading-5 text-gray-800 dark:text-white ">

‎components/elements/VideoNav.vue

Copy file name to clipboard
+64Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<script setup lang="ts">
2+
import { Video } from ".prisma/client";
3+
import {TopicData} from "~/types/TopicData"
4+
import { defineProps, PropType } from "@vue/runtime-core";
5+
6+
defineProps({
7+
data: Object as PropType<TopicData>
8+
})
9+
10+
const emit = defineEmits(['setActiveVideo'])
11+
12+
function setActive(video: Video) {
13+
emit('setActiveVideo', video);
14+
}
15+
16+
</script>
17+
<template>
18+
<div>
19+
<div class="text-gray-100 text-xl">
20+
<div class="p-2.5 mt-1 flex items-center">
21+
22+
<NuxtLink to="/">
23+
<img class="h-20" src="/img/logo_clear_fsj.png" alt="full stack jack logo">
24+
<h1 class="font-bold text-gray-200 text-[15px] ml-3">Full Stack Jack</h1>
25+
</NuxtLink>
26+
27+
28+
</div>
29+
<div class="my-2 bg-gray-600 h-[1px]"></div>
30+
</div>
31+
<div class="p-2.5 flex items-center rounded-md px-4 duration-300 cursor-pointer bg-gray-700 text-white">
32+
<i class="bi bi-search text-sm"></i>
33+
<input type="text" placeholder="Search" class="text-[15px] ml-4 w-full bg-transparent focus:outline-none" />
34+
</div>
35+
<div
36+
class="p-2.5 mt-3 flex items-center rounded-md px-4 duration-300 cursor-pointer hover:bg-blue-600 text-white">
37+
<i class="bi bi-house-door-fill"></i>
38+
<span class="text-[15px] ml-4 text-gray-200 font-bold">Home</span>
39+
</div>
40+
<div
41+
class="p-2.5 mt-3 flex items-center rounded-md px-4 duration-300 cursor-pointer hover:bg-blue-600 text-white">
42+
<i class="bi bi-bookmark-fill"></i>
43+
<span class="text-[15px] ml-4 text-gray-200 font-bold">Bookmark</span>
44+
</div>
45+
<div class="my-4 bg-gray-600 h-[1px]"></div>
46+
<div
47+
class="p-2.5 mt-3 flex items-center rounded-md px-4 duration-300 cursor-pointer hover:bg-blue-600 text-white"
48+
onclick="dropdown()">
49+
<i class="bi bi-chat-left-text-fill"></i>
50+
<div class="flex justify-between w-full items-center">
51+
<span class="text-[15px] ml-4 text-gray-200 font-bold">Videos</span>
52+
<span class="text-sm rotate-180" id="arrow">
53+
<i class="bi bi-chevron-down"></i>
54+
</span>
55+
</div>
56+
</div>
57+
<ul class="text-left text-sm mt-2 w-4/5 mx-auto text-gray-200 font-bold" id="submenu">
58+
<li class="cursor-pointer p-2 hover:bg-blue-600 rounded-md mt-1" @click="setActive(video)"
59+
v-for="video in data.videos">
60+
{{ video.title }}
61+
</li>
62+
</ul>
63+
</div>
64+
</template>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.