Skip to content

Commit

Permalink
feat: ✨ add chat link t.me and wa (#103)
Browse files Browse the repository at this point in the history
Generalizzato i link per le chat ai gruppi

This close #96
  • Loading branch information
ali-benny authored Oct 6, 2023
1 parent 539bf17 commit d0a9c68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/config
2 changes: 1 addition & 1 deletion src/lib/teachings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export type Teaching = {
name: string;
url: string;
telegram?: string;
chat?: string;
optional?: boolean;
};

Expand Down
4 changes: 2 additions & 2 deletions src/routes/dash/[course]/ListTeaching.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
<a href={disabled ? null : href} class="text-center text-lg join-item">
{teaching.name ? teaching.name : teaching.url}
</a>
{#if teaching.telegram != null && teaching.telegram !== ''}
{#if teaching.chat != null && teaching.chat !== ''}
<a
href="https://t.me/{teaching.telegram}"
href="https://{teaching.chat}"
class="text-center text-lg join-item border-l-2">👥</a
>
{/if}
Expand Down

1 comment on commit d0a9c68

@vercel
Copy link

@vercel vercel bot commented on d0a9c68 Oct 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dynamik – ./

dynamik.vercel.app
dynamik-csunibo.vercel.app
dynamik-git-main-csunibo.vercel.app

Please sign in to comment.