Skip to content

Commit

Permalink
chore: Update sitemap.xml with latest lastmod dates
Browse files Browse the repository at this point in the history
  • Loading branch information
DevSrijit committed Jun 29, 2024
1 parent f9edd58 commit cc0fa31
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 1 deletion.
133 changes: 133 additions & 0 deletions components/hypetree.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
import Draggable from 'react-draggable';
import { useContext } from 'react';
import { DraggableContext } from '../context/DraggableContext';
import {
SiGithub,
SiGooglephotos,
SiInstagram,
SiLinktree,
SiThreads,
SiWikipedia,
SiX,
SiYoutube
} from '@icons-pack/react-simple-icons';

const Hypetree = () => {
const { draggable } = useContext(DraggableContext);

return (
<>
<div className="flex flex-col items-center justify-center py-12 lg:py-0 min-h-screen bg-[#adabe7] gap-y-4 overflow-auto">
<Draggable disabled={!draggable}>
<div className="w-10/12 p-6 border-4 border-black rounded-sm shadow-blocks shadow-gray-800 bg-[#ff686b] lg:w-auto">
<h1 className="text-4xl font-bold text-center sm:text-3xl lg:text-8xl">
CodeDay Kolkata
</h1>
<h3 className="text-center font-medium pt-3">
Find our links down below !
</h3>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://cdkol.live/"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
{' '}
<SiLinktree className="inline-block w-6 h-6 mr-2" /> CodeDay
Kolkata 🌐
</a>
</p>
</div>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://www.codeday.org/"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
<SiLinktree className="inline-block w-6 h-6 mr-2" /> Official
CodeDay Website 🌐
</a>
</p>
</div>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://assets.cdkol.live/CDK%20Assets/what_happens_cdk.jpeg"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
<SiLinktree className="inline-block w-6 h-6 mr-2" /> What
happens at CodeDay? 🤔
</a>
</p>
</div>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://assets.cdkol.live/Singapore%202024%20video.mp4"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
<SiYoutube className="inline-block w-6 h-6 mr-2" /> A sneak
peek into a CodeDay 📹
</a>
</p>
</div>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://cdn.cdkol.live/cdk23-pics"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
<SiGooglephotos className="inline-block w-6 h-6 mr-2" /> Snaps
from CodeDay Kolkata 2023 📸
</a>
</p>
</div>
</div>
</Draggable>
<Draggable disabled={!draggable}>
<div className="w-10/12 mx-auto sm:w-1/2">
<div className="p-4 bg-white border-4 border-black rounded-sm shadow-blocks shadow-gray-800">
<p className="text-lg font-bold sm:text-xl">
<a
href="https://www.instagram.com/codeday_kolkata"
className="transition hover:scale-110 hover:text-[#c32aa3]"
target="_blank"
>
<SiInstagram className="inline-block w-6 h-6 mr-2" />{' '}
Instagram
</a>
</p>
</div>
</div>
</Draggable>
</div>
</>
);
};

export default Hypetree;
47 changes: 47 additions & 0 deletions pages/hype.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import Hypetree from '@/components/hypetree';
import Head from 'next/head';

export default function Links() {
return (
<>
<Hypetree />
<Head>
<title>CodeDay Kolkata Linktree</title>
<meta name="title" content="CodeDay Kolkata" />
<meta
name="description"
content="A 24 hours coding event where students collaborate, learn, and build kick-ass technical projects 💛⚡️"
/>
<meta
name="keywords"
content="codeday, codeday kolkata, code kolkata, codeday in kolkata, kolkata coding, coding in kolkata, coding tutorial in kolkata, events in kolkata, hackathon, teenager coding, coding, hackathon in kolkata, kolkata hackathon, teenager event in kolkata, teenager hackathon, coding for teenagers, high school event, high school coding, high school hackathon, hackathon for high schoolers, coding event for high schoolers"
/>
<meta property="og:site_name" content="CodeDay Kolkata" />
<meta property="og:url" content="https://cdkol.live/" />
<meta property="og:name" content="CodeDay Kolkata" />
<meta property="og:title" content="CodeDay Kolkata" />
<meta property="og:image" content="https://cdkol.live/img/link.png" />
<meta
property="og:description"
content="A 24 hours coding event where students collaborate, learn, and build kick-ass technical projects 💛⚡️"
/>
<meta property="twitter:url" content="https://cdkol.live/" />
<meta property="twitter:title" content="CodeDay Kolkata" />
<meta
property="twitter:description"
content="A 24 hours coding event where students collaborate, learn, and build kick-ass technical projects 💛⚡️"
/>
<meta
property="twitter:image"
content="https://cdkol.live/img/link.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:type" content="website" />
<meta name="robots" content="index, follow" />
<meta httpEquiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="English" />
<meta name="revisit-after" content="2 days" />
</Head>
</>
);
}
20 changes: 19 additions & 1 deletion public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@
<loc>http://cdkol.live/</loc>
<priority>1.0</priority>
<changefreq>daily</changefreq>
<lastmod>2024-04-22</lastmod>
<lastmod>2024-06-29</lastmod>
</url>
<url>
<loc>http://cdkol.live/links</loc>
<priority>1.0</priority>
<changefreq>daily</changefreq>
<lastmod>2024-06-29</lastmod>
</url>
<url>
<loc>http://cdkol.live/hype</loc>
<priority>1.0</priority>
<changefreq>daily</changefreq>
<lastmod>2024-06-29</lastmod>
</url>
<url>
<loc>http://cdkol.live/register</loc>
<priority>1.0</priority>
<changefreq>daily</changefreq>
<lastmod>2024-06-29</lastmod>
</url>
</urlset>

0 comments on commit cc0fa31

Please sign in to comment.