Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/api/contact/route.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function POST(req) {
// Email options
const mailOptions = {
from: email,
to: process.env.EMAIL_USER, // Your receiving email
to: process.env.EMAIL_USER,
subject: `New Contact Form Submission: ${subject}`,
text: `
Name: ${name}
Expand Down
2 changes: 2 additions & 0 deletions app/components/navbarinner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export default function Navbar() {
Blogs
</span>
</Link>
{/*
<Link
href="https://learn.dsavisualizer.in/"
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"
Expand All @@ -80,6 +81,7 @@ export default function Navbar() {
Start with Basics
</span>
</Link>
*/}
<Link
href="/dashboard"
onClick={closeMenu}
Expand Down
1 change: 0 additions & 1 deletion app/login/page.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use client'

import { useState, useEffect } from 'react'
import { supabase } from '../../lib/supabase'
import { useRouter } from 'next/navigation'
Expand Down
27 changes: 12 additions & 15 deletions app/visualizer/searching/linearsearch/content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,19 @@ const content = () => {
return (
<main className="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-5 md:gap-4">
<div className="col-span-1">
<a
href="https://hw.glich.co/resources/daily"
target="_blank"
className="text-xs"
>
Daily DSA Challenge by Hello, World!
</a>
<iframe
src="https://hw.glich.co/resources/embed/daily/dsa"
width="100%"
height="400"
style={{ marginTop: "8px" }}
title="Daily DSA Challenge"
></iframe>
<div className="hidden md:block">
<iframe
src="https://hw.glich.co/resources/embed/daily/dsa"
width="100%"
height="400"
title="Daily DSA Challenge"
></iframe>
</div>
<div className="flex justify-center">
<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>
</div>
</div>
<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">
<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">
{/* What is Linear Search */}
<section className="p-6 border-b border-gray-100 dark:border-gray-700">
<h1 className="text-2xl font-bold text-gray-900 dark:text-white mb-4 flex items-center">
Expand Down
2 changes: 1 addition & 1 deletion app/visualizer/searching/linearsearch/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function Page() {

<div className="py-20 bg-gray-100 dark:bg-neutral-900 text-gray-800 dark:text-gray-200">
<section className="px-6 md:px-12">
<div className="mt-10 sm:mt-10">
<div className="mt-10 sm:mt-10 mb-4">
<Breadcrumbs paths={paths} />
</div>
<div className="flex items-center flex-col">
Expand Down
2 changes: 1 addition & 1 deletion lib/gtag.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const GA_MEASUREMENT_ID = 'G-N8XGEXJXEM' // your id
export const GA_MEASUREMENT_ID = 'G-N8XGEXJXEM'

export const pageview = (url) => {
window.gtag('config', GA_MEASUREMENT_ID, {
Expand Down
1 change: 0 additions & 1 deletion utils/auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// utils/auth.js
import { supabase } from '../lib/supabase'

export async function getToken() {
Expand Down
Loading