-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
160 lines (149 loc) · 4.72 KB
/
index.html
File metadata and controls
160 lines (149 loc) · 4.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aria Attar - Personal Blog</title>
<style>
* {
transition: background-color 0.2s ease;
}
body {
font-family: "Georgia", "Cambria", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
line-height: 1.6;
color: #ffffff;
background-color: #191919;
max-width: 800px;
margin: 0 auto;
padding: 20px;
font-weight: 300;
}
header {
text-align: center;
margin-bottom: 40px;
}
h1 {
color: #ffffff;
font-weight: normal;
}
h2 {
font-weight: normal;
}
.bio {
background-color: #151515;
padding: 20px;
border-radius: 5px;
margin-bottom: 30px;
}
.blog-posts {
display: grid;
gap: 20px;
}
.post {
border: 1px solid #444;
padding: 15px;
border-radius: 5px;
}
footer {
text-align: center;
margin-top: 40px;
color: #ffffff;
}
body.light-mode {
background-color: #ffffff;
color: #000000;
}
body.light-mode h1,
body.light-mode h2 {
color: #000000;
}
body.light-mode .bio {
background-color: #f4f4f4;
}
body.light-mode .post {
border-color: #ddd;
}
body.light-mode footer {
color: #000000;
}
body.light-mode #theme-toggle {
background-color: #f0f0f0;
color: #000000;
}
body.light-mode a {
color: #000000;
}
#theme-toggle {
position: fixed;
top: 20px;
right: 20px;
padding: 10px;
background-color: #2c2c2c;
color: #ffffff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}
a {
color: #ffffff;
text-decoration: underline;
}
body.dark-mode a {
color: #ffffff;
}
.bio h2 {
font-weight: normal;
}
</style>
</head>
<body>
<button id="theme-toggle">Toggle Light Mode</button>
<header>
<h1>Aria Attar</h1>
<p>Co-founder and CEO of <a href="https://tensorstax.com" target="_blank">TensorStax</a></p>
<nav>
<a href="/">Home</a>
</nav>
</header>
<main>
<section class="bio">
<h2>About Me</h2>
<p>Welcome to my personal blog! I'm Aria Attar, the co-founder and CEO of TensorStax. Here, I share my thoughts on random topics including engineering, entrepreneurship, politics, and more.</p>
</section>
<section class="blog-posts">
<h2>Recent Blog Posts</h2>
<div class="post">
<h3><a href="/LLMCompiler">Building Reliable AI Agents Requires Compiler Like Systems</a></h3>
<p class="post-date">Published on: Apr 7, 2025</p>
<p class="post-excerpt">Why building reliable AI agents requires compiler like systems and how we're implementing this at TensorStax.</p>
</div>
<div class="post">
<h3><a href="https://ariaattar.com/VerticalAgents">Vertical vs. General AI Agents: Where is the value?</a></h3>
<p class="post-date">Published on: Oct 21, 2024</p>
<p class="post-excerpt">On the commoditization of general agents and the unique value of vertical agents</p>
</div>
</section>
</main>
<footer>
<p>
<a href="https://github.com/ariaattar">GitHub</a> |
<a href="https://linkedin.com/in/ariaattar">LinkedIn</a> |
<a href="https://twitter.com/arattml">Twitter</a>
</p>
</footer>
<script>
const themeToggle = document.getElementById('theme-toggle');
const body = document.body;
// Set initial state to dark mode
body.classList.add('dark-mode');
themeToggle.textContent = 'Toggle Light Mode';
themeToggle.addEventListener('click', () => {
body.classList.toggle('dark-mode');
body.classList.toggle('light-mode');
const isDarkMode = body.classList.contains('dark-mode');
themeToggle.textContent = isDarkMode ? 'Toggle Light Mode' : 'Toggle Dark Mode';
});
</script>
</body>
</html>