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
Binary file added public/clients/centrifuge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,7 @@
body {
@apply bg-background text-foreground;
}
html {
scroll-behavior: smooth;
}
}
19 changes: 13 additions & 6 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,31 @@ export const metadata: Metadata = {
referrer: "origin",
creator: "Electisec Team",
robots: "follow, index",
icons: {
icon: [
{ url: "/favicon.ico", sizes: "any" },
{ url: "/icon.png", sizes: "32x32", type: "image/png" },
],
apple: "/icon.png",
},
openGraph: {
type: "website",
url: "https://electisec.com",
title: "Electisec",
description:
"Electisec is focused on smart contracts and zero-knowledge security: auditing, research, and increasingly tooling. We launched late 2020 to help make DeFi more secure and have since then secured contracts holding billions in TVL.",
"Electisec is focused on smart contracts and zero-knowledge security: auditing, research, and increasingly tooling. We launched to help make DeFi more secure and have since then secured contracts holding billions in TVL.",
siteName: "Electisec",
images: [
{
url: "https://electisec.com/twitter.png",
width: 1200,
height: 630,
},
// {
// url: "https://electisec.com/icon.png",
// width: 400,
// height: 400,
// },
{
url: "https://electisec.com/icon.png",
width: 400,
height: 400,
},
],
},
twitter: {
Expand Down
18 changes: 17 additions & 1 deletion src/app/team/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,23 @@ export default function MembersPage() {
<ZKResident />
<Core />
<ResidentAlumni />
<h1 className="text-4xl mb-8 sm:text-center">Fellows</h1>
<h1
className="text-4xl mb-8 sm:text-center group relative cursor-pointer"
id="fellows"
onClick={() => {
const url = new URL(window.location.href);
url.hash = 'fellows';
window.history.pushState({}, '', url.toString());
}}
>
Fellows
<span className="inline-block ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
<path d="m14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</span>
</h1>
<ZBlock2 />
<ZBlock1 />
<Block7 />
Expand Down
2 changes: 1 addition & 1 deletion src/app/zBlock1/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default function ZblockPage() {
) : (
<Navbar menuOpen={menuOpen} setMenuOpen={setMenuOpen} />
)}
<div className="lg:mx-[20vw]">
<div className="lg:mx-[20vw] mx-6">
<ZBlock1Modules />
</div>
<Footer />
Expand Down
2 changes: 1 addition & 1 deletion src/app/zBlock2/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function ZblockPage() {
) : (
<Navbar menuOpen={menuOpen} setMenuOpen={setMenuOpen} />
)}
<div className="lg:mx-[20vw]">
<div className="lg:mx-[20vw] mx-6">
<ZBlock2Modules />
</div>
<Footer />
Expand Down
5 changes: 2 additions & 3 deletions src/components/ui/avatar-circles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ const AvatarCircles = ({
</a>
))}
{(numPeople ?? 0) > 0 && (
<a
<span
className="flex h-10 w-10 items-center justify-center rounded-full border-2 border-white bg-black text-center text-xs font-medium text-white hover:bg-gray-600 dark:border-gray-800 dark:bg-white dark:text-black"
href=""
>
+{numPeople}
</a>
</span>
)}
</div>
);
Expand Down
1 change: 1 addition & 0 deletions src/modules/Home/2-Clients/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const clients = [
website: "https://nouns.wtf/",
},
{ name: "Yearn", logo: "yearn.svg", website: "https://yearn.fi/" },
{ name: "Centrifuge", logo: "centrifuge.png", website: "https://centrifuge.io/" },
];

interface EllipticalOrbitProps {
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Home/About/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const About = () => {
</ul>
<br />
<p>
We launched late 2020 to help make DeFi more secure and have since
We launched late 2021 to help make DeFi more secure and have since
then secured contracts holding billions in TVL. <br /> <br />
</p>
<p>
Expand Down
21 changes: 19 additions & 2 deletions src/modules/Members/1-Core/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { core } from "../Data/core";
import Image from "next/image";

export function Template({
title,
members,
Expand All @@ -11,9 +12,25 @@ export function Template({
avatar?: string;
}[];
}) {
const slug = title.toLowerCase().replace(/\s+/g, '-').replace(/[^\w\-]/g, '');

const handleLinkClick = () => {
const url = new URL(window.location.href);
url.hash = slug;
window.history.pushState({}, '', url.toString());
};

return (
<div className="my-24">
<h1 className="text-4xl mb-12 sm:text-center">{title}</h1>
<div className="my-24" id={slug}>
<h1 className="text-4xl mb-12 sm:text-center group relative cursor-pointer" onClick={handleLinkClick}>
{title}
<span className="inline-block ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
<path d="m14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</span>
</h1>
<ul
role="list"
className="grid lg:grid-cols-3 grid-cols-2 lg:gap-x-72 md:gap-x-32 gap-y-12"
Expand Down
20 changes: 18 additions & 2 deletions src/modules/Members/3-Fellows/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,25 @@ export function Template({
promotedToResident: boolean;
}[];
}) {
const slug = title.toLowerCase().replace(/\s+/g, '-').replace(/[^\w\-]/g, '');

const handleLinkClick = () => {
const url = new URL(window.location.href);
url.hash = slug;
window.history.pushState({}, '', url.toString());
};

return (
<div className="my-24">
<h2 className="text-xl font-bold mb-4 sm:text-center">{title}</h2>
<div className="my-24" id={slug}>
<h2 className="text-xl font-bold mb-4 sm:text-center group relative cursor-pointer" onClick={handleLinkClick}>
{title}
<span className="inline-block ml-2 opacity-0 group-hover:opacity-100 transition-opacity">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
<path d="m14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
</svg>
</span>
</h2>
<h3 className={"sm:text-xs italic text-gray-900 hover:underline mb-12"}>
* promoted to Resident
</h3>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/Members/Data/smart-contract-residents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ export const sc_residents = [
},
{
name: "panda",
twitter: "https://twitter.com/pandadfi",
twitter: "https://github.com/pandadefi",
avatar:
"https://pbs.twimg.com/profile_images/1719635873363378176/UrKnU32K_400x400.jpg",
"https://avatars.githubusercontent.com/u/87183122?v=4",
},
{
name: "spalen",
Expand Down
8 changes: 8 additions & 0 deletions src/modules/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export function Navbar({ menuOpen, setMenuOpen }: Props) {
<a href="https://blog.electisec.com/">
<Button text={"Blog"} />
</a>
<a href="https://research.electisec.com/">
<Button text={"Research"} />
</a>
<Link href={"/fellowships"}>
<Button text={"Fellowships"} />
</Link>
Expand Down Expand Up @@ -103,6 +106,11 @@ export function MobileNavbar({ setMenuOpen }: MobileProps) {
Blog
</button>
</a>
<a href="https://research.electisec.com/">
<button className="p-6 rounded-xl w-full text-xl text-zinc-400 hover:text-emeraldlight hover:bg-darkgreen hover:bg-opacity-5 duration-700">
Research
</button>
</a>

<Link href={"/fellowships"}>
<button
Expand Down
4 changes: 2 additions & 2 deletions src/modules/ZK/1-Hero-Section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ export default function HeroSection() {
Get a Boosted Audit
</button>
</Link>
<Link href="/research">
<a href="https://research.electisec.com" target="_blank">
<button className="px-8 py-4 rounded-xl text-green-600 font-bold border-2 border-green-500 hover:bg-green-50 transition-all duration-300">
View Research
</button>
</Link>
</a>
</div>

{/* Trust Indicators */}
Expand Down
2 changes: 1 addition & 1 deletion src/modules/Zblock1/zBlock1/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import Image from "next/image";
function ZBlock1Modules() {
return (
<>
<div className="grid lg:grid-cols-5 gap-8 mt-24">
<div className="grid lg:grid-cols-5 gap-8 lg:mt-24">
<div className="lg:col-span-2 mt-28">
<img
alt=""
Expand Down