Skip to content

Commit

Permalink
add NEW badge for telegram channels
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicarrojado committed Apr 10, 2024
1 parent 03e8c0d commit 6190b76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/page-separator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Separator, SeparatorText } from "@/components/ui/separator";
export default function PageSeparator() {
return (
<Separator className="my-10 relative">
<SeparatorText>AND</SeparatorText>
<SeparatorText>OR</SeparatorText>
</Separator>
);
}
7 changes: 2 additions & 5 deletions app/subscribe-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import Link from "next/link";
import React, { FormEvent, useState } from "react";
import { AlertCircle, AtSignIcon, Loader2Icon } from "lucide-react";
import { AlertCircle, Loader2Icon } from "lucide-react";
import { Button } from "@/components/ui/button";
import {
Card,
Expand Down Expand Up @@ -70,10 +70,7 @@ export default function SubscribeForm() {
<form onSubmit={onSubmit}>
<Card className="w-full">
<CardHeader>
<CardTitle className="flex gap-2 items-center">
<AtSignIcon />
Email Notifications
</CardTitle>
<CardTitle>Email Notifications</CardTitle>
<CardTitle className="!mt-6">1️⃣ &nbsp;First Step</CardTitle>
<CardDescription>
Choose at least one topic you want to get notified about via
Expand Down
8 changes: 4 additions & 4 deletions app/telegram-channels.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { ExternalLink, SendIcon } from "lucide-react";
import { ExternalLink } from "lucide-react";
import {
Card,
CardContent,
Expand All @@ -11,18 +11,18 @@ import {
import { Anchor } from "@/components/ui/anchor";
import { TELEGRAM_PUBLIC_CHANNELS } from "@/lib/content";
import { TELEGRAM_SHORT_URL } from "@/lib/constants";
import { Badge } from "@/components/ui/badge";

export default function TelegramChannels() {
return (
<Card className="w-full">
<CardHeader>
<CardTitle className="flex gap-2 items-center">
<SendIcon />
Telegram Channels
Telegram Channels <Badge>NEW</Badge>
</CardTitle>
<CardDescription>
Subscribe to the channels below if you want to receive notifications
via Telegram.
via Telegram. <br />
</CardDescription>
</CardHeader>
<CardContent>
Expand Down

0 comments on commit 6190b76

Please sign in to comment.