Skip to content

Commit

Permalink
Merge pull request #14 from efergus/analytics
Browse files Browse the repository at this point in the history
Add analytics, we'll see if it is useful
  • Loading branch information
efergus authored Aug 2, 2024
2 parents 34365c6 + 2659e9f commit aef53c4
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 19 deletions.
2 changes: 2 additions & 0 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
--color-contrast-secondary: 255 255 255;
--color-highlight: 129 212 250;
--color-subtle: 223 243 253;
--color-pop: 0 47 108;

--color-confirm: 66 245 69;
@apply bg-theme;
Expand All @@ -28,6 +29,7 @@
--color-contrast-secondary: 255 255 255;
--color-highlight: 129 212 250;
--color-subtle: 12 18 72;
--color-pop: 129 212 250;

@apply bg-theme;
}
Expand Down
32 changes: 23 additions & 9 deletions src/app.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<!-- Google tag (gtag.js) for analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-1TWLFD7YKD"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag("config", "G-1TWLFD7YKD");
</script>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
</body>
</html>
7 changes: 7 additions & 0 deletions src/lib/markdown/experience.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
- Led penetration testing initiatives on various cloud applications, identifying
and mitigating critical OWASP vulnerabilities including stored XSS, unsecured
endpoints, logic flaws, and misconfigurations.
- Worked closely with product managers, designers, and clients to translate
complex technical concepts into user-friendly features.
- Successfully turned around a struggling project by identifying key issues,
implementing effective solutions, and rallying the team, resulting in on-time
delivery and client satisfaction.

### CodeSecure

Expand All @@ -29,6 +34,8 @@
- Designed and implemented a data collection pipeline to automate the
acquisition of ground truth binaries including compiling code with LLVM and
GCC and unpacking system packages, increasing efficiency.
- Collaborated effectively with cross-functional teams to deliver a high-quality
application at light speed.

### Sonnet Software

Expand Down
2 changes: 1 addition & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}

h3 {
@apply text-xl font-semibold font-serif;
@apply text-xl text-pop font-semibold font-serif;
}

input {
Expand Down
14 changes: 5 additions & 9 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
const defaultTheme = require('tailwindcss/defaultTheme')

const colors = ['primary', 'secondary', 'theme', 'contrast', 'contrast-primary', 'contrast-secondary', 'highlight', 'subtle', 'confirm', 'pop'];

const colorDefinitions = Object.fromEntries(colors.map(color=>[color, `rgb(var(--color-${color}) / <alpha-value>)`]))

/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{html,js,ts,svelte}'],
theme: {

colors: {
primary: 'rgb(var(--color-primary) / <alpha-value>)',
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
theme: 'rgb(var(--color-theme) / <alpha-value>)',
contrast: 'rgb(var(--color-contrast) / <alpha-value>)',
'contrast-primary': 'rgb(var(--color-contrast-primary) / <alpha-value>)',
'contrast-secondary': 'rgb(var(--color-contrast-secondary) / <alpha-value>)',
highlight: 'rgb(var(--color-highlight) / <alpha-value>)',
subtle: 'rgb(var(--color-subtle) / <alpha-value>)',
confirm: 'rgb(var(--color-confirm) / <alpha-value>)',
...colorDefinitions,
white: '#ffffff',
black: '#000000',
transparent: '#00000000'
Expand Down

0 comments on commit aef53c4

Please sign in to comment.