diff --git a/app/cite-paper/copy-citation.tsx b/app/cite-paper/copy-citation.tsx new file mode 100644 index 0000000..ee15c90 --- /dev/null +++ b/app/cite-paper/copy-citation.tsx @@ -0,0 +1,16 @@ +'use client' +import { Button } from '@/components/ui/button' + +export function CopyCitation({ citation }: { citation: string }) { + return ( + + ) +} diff --git a/app/cite-paper/page.tsx b/app/cite-paper/page.tsx new file mode 100644 index 0000000..c03f74f --- /dev/null +++ b/app/cite-paper/page.tsx @@ -0,0 +1,69 @@ +import { + Card, + CardHeader, + CardTitle, + CardContent, + CardFooter, +} from '@/components/ui/card' +import { CopyCitation } from './copy-citation' + +const citation = ` +@inproceedings { + karvandi2022hyperdbg, + title = { + HyperDbg: Reinventing Hardware-Assisted Debugging + }, + author = { + Karvandi, Mohammad Sina + and Gholamrezaei, MohammadHosein + and Khalaj Monfared, Saleh + and Meghdadizanjani, Soroush + and Abbassi, Behrooz + and Amini, Ali + and Mortazavi, Reza + and Gorgin, Saeid + and Rahmati, Dara + and Schwarz, Michael + }, + booktitle = { + Proceedings of the 2022 ACM SIGSAC Conference on Computer and + Communications Security + }, + pages = { + 1709--1723 + }, + year = { + 2022 + } +}` + +export default function CitePaper() { + return ( +
+
+

+ Cite Paper +

+

+ If you use HyperDbg in your research, please cite our paper. +

+
+ +
+
+ + + Reinventing Hardware-Assisted Debugging + + +
{citation}
+
+ + + +
+
+
+
+ ) +} diff --git a/components/header.tsx b/components/header.tsx index 78158b5..e82585b 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -2,6 +2,7 @@ import { MainNav } from '@/components/main-nav' import Link from 'next/link' import { cn } from '@/lib/utils' import { buttonVariants } from '@/components/ui/button' +import { Icons } from './icons' export function Header() { return ( @@ -10,13 +11,13 @@ export function Header() { diff --git a/components/icons.tsx b/components/icons.tsx index d2688a8..36c49d6 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -17,6 +17,7 @@ import { MoreVertical, Pizza, Plus, + Quote, Settings, SunMedium, Trash, @@ -30,6 +31,7 @@ export type Icon = LucideIcon export const Icons = { logo: Cat, + citation: Quote, close: X, spinner: Loader2, chevronLeft: ChevronLeft,