Skip to content

Commit a4f1e15

Browse files
authored
Feat : added dsa challenge page
2 parents 3f68a61 + b290f10 commit a4f1e15

File tree

7 files changed

+17
-20
lines changed

7 files changed

+17
-20
lines changed

app/api/contact/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export async function POST(req) {
1616
// Email options
1717
const mailOptions = {
1818
from: email,
19-
to: process.env.EMAIL_USER, // Your receiving email
19+
to: process.env.EMAIL_USER,
2020
subject: `New Contact Form Submission: ${subject}`,
2121
text: `
2222
Name: ${name}

app/components/navbarinner.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export default function Navbar() {
7272
Blogs
7373
</span>
7474
</Link>
75+
{/*
7576
<Link
7677
href="https://learn.dsavisualizer.in/"
7778
className="relative pr-2 py-2 font-medium text-black dark:text-white bg-transparent overflow-hidden items-center transition-all duration-300 hover:text-blue-500 dark:hover:text-blue-400"
@@ -80,6 +81,7 @@ export default function Navbar() {
8081
Start with Basics
8182
</span>
8283
</Link>
84+
*/}
8385
<Link
8486
href="/dashboard"
8587
onClick={closeMenu}

app/login/page.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
'use client'
2-
32
import { useState, useEffect } from 'react'
43
import { supabase } from '../../lib/supabase'
54
import { useRouter } from 'next/navigation'

app/visualizer/searching/linearsearch/content.jsx

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,22 +35,19 @@ const content = () => {
3535
return (
3636
<main className="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-5 md:gap-4">
3737
<div className="col-span-1">
38-
<a
39-
href="https://hw.glich.co/resources/daily"
40-
target="_blank"
41-
className="text-xs"
42-
>
43-
Daily DSA Challenge by Hello, World!
44-
</a>
45-
<iframe
46-
src="https://hw.glich.co/resources/embed/daily/dsa"
47-
width="100%"
48-
height="400"
49-
style={{ marginTop: "8px" }}
50-
title="Daily DSA Challenge"
51-
></iframe>
38+
<div className="hidden md:block">
39+
<iframe
40+
src="https://hw.glich.co/resources/embed/daily/dsa"
41+
width="100%"
42+
height="400"
43+
title="Daily DSA Challenge"
44+
></iframe>
45+
</div>
46+
<div className="flex justify-center">
47+
<span className="text-xs hidden md:block">Powered by <a href="https://hw.glich.co/resources/daily" target="_blank" className="underline hover:text-blue-500 duration-300">Hello World</a></span>
48+
</div>
5249
</div>
53-
<article className="col-span-4 bg-white dark:bg-neutral-950 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden mb-8">
50+
<article className="col-span-4 max-w-4xl bg-white dark:bg-neutral-950 rounded-xl shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden mb-8">
5451
{/* What is Linear Search */}
5552
<section className="p-6 border-b border-gray-100 dark:border-gray-700">
5653
<h1 className="text-2xl font-bold text-gray-900 dark:text-white mb-4 flex items-center">

app/visualizer/searching/linearsearch/page.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default function Page() {
6868

6969
<div className="py-20 bg-gray-100 dark:bg-neutral-900 text-gray-800 dark:text-gray-200">
7070
<section className="px-6 md:px-12">
71-
<div className="mt-10 sm:mt-10">
71+
<div className="mt-10 sm:mt-10 mb-4">
7272
<Breadcrumbs paths={paths} />
7373
</div>
7474
<div className="flex items-center flex-col">

lib/gtag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const GA_MEASUREMENT_ID = 'G-N8XGEXJXEM' // your id
1+
export const GA_MEASUREMENT_ID = 'G-N8XGEXJXEM'
22

33
export const pageview = (url) => {
44
window.gtag('config', GA_MEASUREMENT_ID, {

utils/auth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// utils/auth.js
21
import { supabase } from '../lib/supabase'
32

43
export async function getToken() {

0 commit comments

Comments
 (0)