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
21 changes: 17 additions & 4 deletions app/[lang]/contact/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,31 @@ export default async function ContactPage({
size="md"
intro={
<p>
{siteConfig.name} is built by {siteConfig.organization.legalName}.
Feedback from people using it on real cases is what shapes the
{siteConfig.name} is built by{" "}
<a href={siteConfig.organization.url} className={LINK}>
{siteConfig.organization.legalName}
</a>
. Feedback from people using it on real cases is what shapes the
roadmap — feature requests, bug reports and questions are all
welcome.
</p>
}
/>
<ul className="grid gap-4 sm:grid-cols-2">
<ul className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<li>
<a href={`mailto:${contactPoint.email}`} className={CARD}>
<span className={CARD_LABEL}>Email</span>
<span className={CARD_VALUE}>{contactPoint.email}</span>
</a>
</li>
<li>
<a href={siteConfig.organization.url} className={CARD}>
<span className={CARD_LABEL}>Company</span>
<span className={CARD_VALUE}>
{siteConfig.organization.url.replace("https://", "")}
</span>
</a>
</li>
<li>
<a href="https://github.com/Cyber-Experts" className={CARD}>
<span className={CARD_LABEL}>
Expand Down Expand Up @@ -155,7 +166,9 @@ export default async function ContactPage({
<br />
{address.postalCode} {address.addressLocality}
<br />
{address.addressCountry}
{address.addressCountry === "FR"
? "France"
: address.addressCountry}
</address>
</>
)}
Expand Down
23 changes: 14 additions & 9 deletions app/[lang]/privacy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ export default async function PrivacyPage({
<p>
{siteConfig.name} is operated by {siteConfig.organization.legalName}{" "}
(
<a href="https://github.com/Cyber-Experts">
github.com/Cyber-Experts
<a href={siteConfig.organization.url}>
{siteConfig.organization.url.replace("https://", "")}
</a>
). This policy explains what data is processed when you use the
site, and what is not.
Expand Down Expand Up @@ -124,11 +124,11 @@ export default async function PrivacyPage({
<p>
To understand how the site is used, we collect aggregate, cookieless
statistics with Vercel Web Analytics and Vercel Speed Insights
(performance metrics): pages viewed,
referrer, country, browser and device type. Two usage events are
recorded: that a file was parsed (with a file-size bucket and the
number of records) and that an export was made (format and number of
rows). These events never include file names or any event content.
(performance metrics): pages viewed, referrer, country, browser and
device type. Two usage events are recorded: that a file was parsed
(with a file-size bucket and the number of records) and that an
export was made (format and number of rows). These events never
include file names or any event content.
</p>

<h2>Hosting</h2>
Expand Down Expand Up @@ -158,8 +158,13 @@ export default async function PrivacyPage({
</p>
</article>
<p>
Pages visited and a few actions on them, with the country, are also measured by Borromic web analytics, with no cookies and no identification of visitors.{" "}
<OptOut stop="Stop measuring my visits" resume="Measure my visits again" />
Pages visited and a few actions on them, with the country, are also
measured by Borromic web analytics, with no cookies and no
identification of visitors.{" "}
<OptOut
stop="Stop measuring my visits"
resume="Measure my visits again"
/>
</p>
</main>
</>
Expand Down
42 changes: 41 additions & 1 deletion app/[lang]/terms/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,50 @@ export default async function TermsPage({
</PageHero>
<article className={PROSE}>
<p>
{siteConfig.name} is provided by {siteConfig.organization.legalName}
{siteConfig.name} is provided by{" "}
<a href={siteConfig.organization.url}>
{siteConfig.organization.legalName}
</a>
. By using the site you agree to these terms.
</p>

<h2 id="legal-notice">Legal notice</h2>
<ul>
<li>
Publisher: {siteConfig.organization.legalName},{" "}
{siteConfig.organization.legal.form} with a share capital of{" "}
{siteConfig.organization.legal.capital}
</li>
<li>
Registered office: {siteConfig.organization.address.streetAddress}
, {siteConfig.organization.address.postalCode}{" "}
{siteConfig.organization.address.addressLocality}, France
</li>
<li>
Registration: {siteConfig.organization.legal.rcs} · SIRET{" "}
{siteConfig.organization.legal.siret} · NAF{" "}
{siteConfig.organization.legal.naf}
</li>
<li>
Director of publication:{" "}
{siteConfig.organization.legal.publicationDirector}
</li>
<li>
Website:{" "}
<a href={siteConfig.organization.url}>
{siteConfig.organization.url.replace("https://", "")}
</a>{" "}
· Email:{" "}
<a href={`mailto:${siteConfig.organization.contactPoint.email}`}>
{siteConfig.organization.contactPoint.email}
</a>
</li>
<li>
Hosting: Vercel Inc., 440 N Barranca Ave #4133, Covina, CA 91723,
United States
</li>
</ul>

<h2>The tool</h2>
<p>
{siteConfig.name} is a free, browser-based viewer for Windows event
Expand Down
33 changes: 27 additions & 6 deletions components/site-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ export function SiteFooter({
tagline: string;
}) {
const year = new Date().getFullYear();
const cols: { title: string; links: { href: string; label: React.ReactNode; external?: boolean }[] }[] = [
const cols: {
title: string;
links: { href: string; label: React.ReactNode; external?: boolean }[];
}[] = [
{
title: "Product",
links: [
Expand All @@ -47,6 +50,11 @@ export function SiteFooter({
{
title: "Company",
links: [
{
href: siteConfig.organization.url,
label: "Cyber Experts",
external: true,
},
{ href: `/${locale}/contact`, label: "Contact" },
{ href: `/${locale}/privacy`, label: "Privacy" },
{ href: `/${locale}/terms`, label: "Terms" },
Expand All @@ -73,12 +81,16 @@ export function SiteFooter({
{tagline}
</p>
<span className="inline-flex items-center gap-2 rounded-full border border-ink-200 px-2.5 py-1 font-mono text-[11px] text-ink-600 dark:border-white/10 dark:text-ink-400">
<span className="h-1.5 w-1.5 rounded-full bg-emerald-500" />
0 bytes uploaded
<span className="h-1.5 w-1.5 rounded-full bg-emerald-500" />0 bytes
uploaded
</span>
</div>
{cols.map((c) => (
<nav key={c.title} aria-label={c.title} className="flex flex-col gap-3 text-sm">
<nav
key={c.title}
aria-label={c.title}
className="flex flex-col gap-3 text-sm"
>
<span className={HEAD}>{c.title}</span>
{c.links.map((l) =>
l.external ? (
Expand All @@ -96,9 +108,18 @@ export function SiteFooter({
</div>
<div className="mx-auto flex max-w-6xl flex-col gap-2 border-t border-ink-200 px-4 py-6 text-xs text-ink-500 sm:flex-row sm:items-center sm:justify-between sm:px-6 dark:border-white/[0.08]">
<span>
© {year} {siteConfig.organization.legalName}. {dict.footer.rights}
© {year}{" "}
<a
href={siteConfig.organization.url}
className="font-medium text-ink-700 underline-offset-4 hover:text-ink-950 hover:underline dark:text-ink-300 dark:hover:text-white"
>
{siteConfig.organization.legalName}
</a>
. {dict.footer.rights}
</span>
<span className="font-mono">
Rust → WebAssembly · Elastic License 2.0
</span>
<span className="font-mono">Rust → WebAssembly · Elastic License 2.0</span>
</div>
{/* Oversized wordmark, cropped by the page edge. */}
<div
Expand Down
41 changes: 39 additions & 2 deletions lib/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,14 @@ const AUTHOR_GIVEN_NAME = "Florian";
const AUTHOR_FAMILY_NAME = "Amette";
const AUTHOR_ALIAS = "F4K";
const AUTHOR_URL = "https://www.f4k.fr";
const AUTHOR_SAME_AS = [AUTHOR_URL];
const AUTHOR_SAME_AS = [
AUTHOR_URL,
`${AUTHOR_URL}/me`,
"https://www.linkedin.com/in/florianamette/",
"https://github.com/florianamette",
"https://x.com/florianamette",
"https://www.youtube.com/@florianamette",
];

const websiteId = (locale: Locale) => `${SITE_URL}/${locale}#website`;
const pageId = (url: string) => `${url}#webpage`;
Expand Down Expand Up @@ -54,10 +61,11 @@ function authorNode(dict: Dict) {
givenName: AUTHOR_GIVEN_NAME,
familyName: AUTHOR_FAMILY_NAME,
alternateName: AUTHOR_ALIAS,
jobTitle: "Cybersecurity entrepreneur",
description: `Author at ${dict.meta.siteName} — DFIR practitioner writing on Windows Event Log forensics.`,
url: AUTHOR_URL,
sameAs: AUTHOR_SAME_AS,
worksFor: { "@id": ORG_ID },
worksFor: { "@id": `${siteConfig.organization.url}/#organization` },
knowsAbout: [
"Windows Event Log",
"EVTX",
Expand All @@ -75,13 +83,42 @@ export const editorialAuthor = {
url: AUTHOR_URL,
};

function companyNode() {
const o = siteConfig.organization;
return {
"@type": "Organization",
"@id": `${o.url}/#organization`,
name: "Cyber Experts",
legalName: o.legalName,
url: o.url,
sameAs: o.sameAs,
foundingDate: o.foundingDate,
address: { "@type": "PostalAddress", ...o.address },
identifier: [
{
"@type": "PropertyValue",
propertyID: "SIREN",
value: o.legal.siren.replace(/ /g, ""),
},
{
"@type": "PropertyValue",
propertyID: "SIRET",
value: o.legal.siret.replace(/ /g, ""),
},
],
};
}

function organizationNode(dict: Dict) {
return {
"@type": "Organization",
"@id": ORG_ID,
name: dict.meta.siteName,
url: SITE_URL,
sameAs: ["https://github.com/omerbenamram/evtx"],
// The company that publishes the site: a backlink + a verifiable legal
// entity (French company register) for the publisher.
parentOrganization: companyNode(),
logo: {
"@type": "ImageObject",
"@id": LOGO_ID,
Expand Down
35 changes: 24 additions & 11 deletions site.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,33 @@ export const siteConfig = {
defaultOgImage: "/opengraph-image",
organization: {
legalName: "Cyber Experts",
/** Company website (the publisher of this site). */
url: "https://www.cyberexperts.io",
logo: "/icon",
foundingDate: "2025-01-01",
foundingDate: "2023-05-30",
founder: "Florian Amette" as string | undefined,
wikidata: undefined as string | undefined,
sameAs: ["https://github.com/Cyber-Experts"] as string[],
sameAs: [
"https://www.cyberexperts.io",
"https://github.com/Cyber-Experts",
] as string[],
address: {
streetAddress: undefined as string | undefined,
addressLocality: undefined as string | undefined,
addressRegion: undefined as string | undefined,
postalCode: undefined as string | undefined,
addressCountry: undefined as string | undefined,
streetAddress: "12 rue de Port-Mahon" as string | undefined,
addressLocality: "Paris" as string | undefined,
addressRegion: "Île-de-France" as string | undefined,
postalCode: "75002" as string | undefined,
addressCountry: "FR" as string | undefined,
},
/** French company register details (legal notice + JSON-LD identifiers). */
legal: {
form: "SASU (société par actions simplifiée unipersonnelle)",
capital: "42 €",
siren: "953 156 791",
siret: "953 156 791 00014",
rcs: "953 156 791 R.C.S. Paris",
naf: "62.02A",
president: "FAKGROUP",
publicationDirector: "Florian Amette",
},
contactPoint: {
email: "[email protected]" as string | undefined,
Expand All @@ -71,10 +87,7 @@ export const siteConfig = {
},
analytics: {
provider: process.env.NEXT_PUBLIC_ANALYTICS_PROVIDER as
| "plausible"
| "umami"
| "ga4"
| undefined,
"plausible" | "umami" | "ga4" | undefined,
domain: process.env.NEXT_PUBLIC_ANALYTICS_DOMAIN,
id: process.env.NEXT_PUBLIC_ANALYTICS_ID,
},
Expand Down