From b9ba572572b25577fe28811f3bca520da420a50a Mon Sep 17 00:00:00 2001 From: Alex Stan Date: Sat, 1 Jun 2024 16:24:22 +0300 Subject: [PATCH] split the logo into a separate component Signed-off-by: Alex Stan --- app/components/logo.tsx | 11 +++++++++++ app/sessionconfig/page.tsx | 33 ++++----------------------------- 2 files changed, 15 insertions(+), 29 deletions(-) create mode 100644 app/components/logo.tsx diff --git a/app/components/logo.tsx b/app/components/logo.tsx new file mode 100644 index 0000000..c3469ed --- /dev/null +++ b/app/components/logo.tsx @@ -0,0 +1,11 @@ +const Logo = () => { + return ( +
+ + + +
+ ) +} + +export default Logo; \ No newline at end of file diff --git a/app/sessionconfig/page.tsx b/app/sessionconfig/page.tsx index 8d5d004..6e29fc9 100644 --- a/app/sessionconfig/page.tsx +++ b/app/sessionconfig/page.tsx @@ -1,5 +1,6 @@ import { CheckIcon } from '@heroicons/react/20/solid' import TopicCard from '../components/topic_card' +import Logo from '../components/logo'; const includedFeatures = [ 'Private forum access', @@ -13,26 +14,12 @@ export default function Example() { const cards = [ ["Learn cybersecurity", "Learning cybersecurity is like becoming a guardian of the digital realm.\nIt's about mastering the art of protecting information, systems, and networks from cyber threats.\nFrom understanding encryption algorithms to detecting malware, every lesson equips you with tools to fortify against cyber-attacks.", "/learn/cybersec" ], ["Learn geography", "It's cool ig", "/learn/geography"], - ["Learn C++", "Don't.", "/learn/cpp"], - ["Learn C", "Do.", "/learn/c"] + ["Learn C++", "Don't.", "/learn/cpp"] ]; return ( -
-