Skip to content

Commit 304ada7

Browse files
committed
feat: made responsive, many misc improvements
1 parent 9706d8e commit 304ada7

File tree

3 files changed

+86
-76
lines changed

3 files changed

+86
-76
lines changed

index.pug

Lines changed: 62 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -11,88 +11,100 @@ html
1111
include /templates/navbar.pug
1212

1313
main.bg-white
14-
+section.bg-teal-950.text-white
14+
+section.bg-slate-950.text-white
1515
div.text-center.h-96.flex.flex-col.justify-center
1616
div
17-
div.text-4xl
17+
div.text-2xl
1818
| Turning you into a
19-
div.text-9xl Superuser
19+
div.text-7xl Superuser
2020
div.pt-10
21-
| We build #[b(class="text-yellow-500") free and open-source software] that empowers users.
21+
| We build #[b(class="text-yellow-300") free and open-source software] that empowers users.
2222

2323
+section.bg-gray-100.py-10
24-
div.max-w-4xl.mx-auto
25-
p
26-
div.text-4xl.mb-4.text-center About us
24+
div.p-4.max-w-4xl.mx-auto
25+
p.text-center.text-2xl
26+
| About us
2727
div
28-
p.mb-4
28+
p.my-4
2929
| We are a small team of developers and researchers who are passionate about free and open-source software, and we are building such software to empower users (like you!).
30-
p.mb-4
30+
p.my-4
3131
| Originally based in #[span(class="text-blue-950") 🇸🇪 Sweden], we have been active since 2017, and have experience working with technologies in a wide range of fields,
3232
| including full-stack development, machine learning, algorithmic trading, smart contracts, and decentralized systems.
33-
p.mb-4
33+
p.my-4
3434
| We also offer consulting services in the fields of software development, machine learning, blockchain technology, and computational neuroscience.
3535

3636
+section.max-w-4xl.mx-auto.py-10
3737
mixin project(name, imgname)
38-
div.flex.mb-10
38+
div.flex.flex-col.mb-10.p-6(class="md:flex-row")
3939
// set width to fix image size
40-
div.w-32.flex-shrink-0
41-
img.w-32(src=`/media/${imgname}`)
42-
div.ml-10
40+
div.w-32.shrink-0.mx-auto(class="md:mx-0 md:mr-10")
41+
img(src=`/media/${imgname}`)
42+
div.text-sm
4343
h3.text-3xl.mb-2= name
4444
div&attributes(attributes)
4545
block
4646

47+
mixin github-stars-badge(repo)
48+
a(href=`https://github.com/${repo}`, target="_blank")
49+
img.opacity-80(class="hover:opacity-100" src=`https://img.shields.io/github/stars/${repo}?style=social`)
50+
4751
div.text-4xl.mb-10.text-center Projects
4852

49-
+project("ActivityWatch", "activitywatch-logo.png").text-sm
50-
p
53+
+project("ActivityWatch", "activitywatch-logo.png")
54+
p.mb-4
5155
| The world's best free and open-source automated time-tracker.
5256
br
53-
| Cross-platform, local-first, extensible, and secure.
57+
| Cross-platform, local-first, extensible.
5458

55-
div.flex.text-sm.py-4
56-
+button.bg-green-600.border-green-600.text-white(href="https://activitywatch.net/downloads/", class='hover:bg-green-700')
59+
div.flex.flex-wrap
60+
+button.mb-3.bg-green-600.border-green-600.text-white(href="https://activitywatch.net/downloads/", class='hover:bg-green-700')
5761
| #[i.fas.fa-download.mr-1] Downloads
58-
+button(href="https://activitywatch.net/")
62+
+button.mb-3(href="https://activitywatch.net/")
5963
| #[i.fas.fa-globe] Website
60-
+button.border-gray-300(href="https://github.com/ActivityWatch/activitywatch/")
64+
+button.mb-3.border-gray-300(href="https://github.com/ActivityWatch/activitywatch/")
6165
| #[i.fab.fa-github] GitHub
62-
+button(href="https://docs.activitywatch.net/")
66+
+button.mb-3(href="https://docs.activitywatch.net/")
6367
| #[i.fas.fa-book] Docs
68+
div.flex.flex-wrap
69+
+github-stars-badge('ActivityWatch/activitywatch')
6470

65-
+project("gptme", "gptme-logo.png").text-sm
66-
p
71+
+project("gptme", "gptme-logo.png")
72+
p.mb-4
6773
| A chat-CLI for conveniently interacting with LLMs in your terminal, similar to ChatGPT's "Advanced Data Analysis".
6874
| Has access to tools to run code and modify files on the host machine, to speed up your workflow.
69-
div.flex.text-sm.py-4
70-
+button(href="https://github.com/ErikBjare/gptme")
75+
div.flex.flex-wrap
76+
+button.mb-3(href="https://github.com/ErikBjare/gptme")
7177
| #[i.fab.fa-github] GitHub
72-
+button(href="https://erik.bjareholt.com/gptme/docs/")
78+
+button.mb-3(href="https://erik.bjareholt.com/gptme/docs/")
7379
| #[i.fas.fa-book] Docs
80+
div.flex.flex-wrap
81+
+github-stars-badge('ErikBjare/gptme')
7482

75-
+project("Thankful", "thankful-logo.png").text-sm
76-
p.mb-2.text-sm Donate crypto directly to every content creator that you like. Automatically and without middlemen.
77-
p.text-gray-500
78-
| #[b Note:] Thankful was discontinued in 2019. We've talked about reviving it, but it's not a priority.
83+
+project("Thankful", "thankful-logo.png")
84+
p.mb-1 Donate crypto directly to every content creator that you like. Automatically and without middlemen.
85+
p.mb-4.text-gray-500
86+
| #[b Note:] Thankful was discontinued in 2019. We've talked about reviving it, but it's not a priority.
7987
// TODO: Change URL to actual website once fixed
8088
//+button(href="https://github.com/SuperuserLabs/thankful", class="bg-green-600 hover:bg-green-700 text-white font-bold py-2 px-4 rounded")
8189
| #[i.fas.fa-download] Get the extension
82-
div.flex.text-sm.py-4
83-
+button(href="https://superuserlabs.org/thankful/")
90+
div.flex.flex-wrap
91+
+button.mb-3(href="https://superuserlabs.org/thankful/")
8492
| #[i.fas.fa-globe] Website
85-
+button(href="https://github.com/SuperuserLabs/thankful")
93+
+button.mb-3(href="https://github.com/SuperuserLabs/thankful")
8694
| #[i.fab.fa-github] GitHub
95+
div.flex.flex-wrap
96+
+github-stars-badge('SuperuserLabs/thankful')
8797

88-
+project("uniswap-python", "uniswap-python.png").text-sm
89-
p
98+
+project("uniswap-python", "uniswap-python.png")
99+
p.mb-4
90100
| The unofficial Python library for Uniswap. Funded by #[a(href="https://bounties.gitcoin.co/grants/2631/uniswap-python") Gitcoin] and the Uniswap Grants Program.
91-
div.flex.py-4
92-
+button(href="https://github.com/uniswap-python/uniswap-python")
101+
div.flex.flex-wrap
102+
+button.mb-3(href="https://github.com/uniswap-python/uniswap-python")
93103
| #[i.fab.fa-github] GitHub
94-
+button(href="https://uniswap-python.com/")
104+
+button.mb-3(href="https://uniswap-python.com/")
95105
| #[i.fas.fa-book] Docs
106+
div.flex.flex-wrap
107+
+github-stars-badge('uniswap-python/uniswap-python')
96108

97109
//+section.bg-gray-800.text-white
98110
div(class="flex")
@@ -127,29 +139,26 @@ html
127139
p.font-bold 2023
128140
p First consulting client: University of Ghent
129141

130-
+section.p-10
142+
+section.p-10.max-w-3xl.mx-auto(class="sm:p-20")
131143
h2.text-center.text-4xl.mb-10 Team
132-
div.grid.grid-cols-12.gap-10
133-
div.col-span-6.col-start-1(class="lg:col-span-3 lg:col-start-4")
134-
+teammember("Erik Bjäreholt", "erik.jpg", "CEO, Developer", github="http://github.com/ErikBjare", linkedin="https://www.linkedin.com/in/erikbjareholt/")
135-
div.col-span-6(class="lg:col-span-3")
136-
+teammember("Johan Bjäreholt", "johan.png", "Developer", github="https://github.com/johan-bjareholt", linkedin="https://www.linkedin.com/in/johanbjareholt/")
144+
div.grid.grid-cols-1.gap-10(class="sm:grid-cols-2")
145+
+teammember("Erik Bjäreholt", "erik.jpg", "CEO, Developer", github="http://github.com/ErikBjare", linkedin="https://www.linkedin.com/in/erikbjareholt/")
146+
+teammember("Johan Bjäreholt", "johan.png", "Developer", github="https://github.com/johan-bjareholt", linkedin="https://www.linkedin.com/in/johanbjareholt/")
137147

138148
div.w-full.bg-gray-800.text-white.p-10.pb-20
139149
div(class="xl:w-3/4").mx-auto.text-sm
140-
h2.text-center.text-3xl.mb-10 Past team members
141-
div.grid.grid-cols-12.gap-10
142-
div.col-span-2(class="md:col-span-3")
150+
details
151+
summary.text-center.text-3xl.py-10(class="hover:cursor-pointer")
152+
| Past team members
153+
div.text-xs.text-gray-500
154+
| (click to expand)
155+
156+
div.grid.grid-cols-1.gap-10(class="sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4")
143157
+teammember("Johannes Ahnlide", "johannes.jpg", "Developer", github="https://github.com/ahnlabb")
144-
div.col-span-2(class="md:col-span-3")
145158
+teammember("Jacob Karlsson", "jacob.jpg", "Developer", github="https://github.com/powersource", linkedin="https://www.linkedin.com/in/jacob-karlsson-6a483bb1/")
146-
div.col-span-2(class="md:col-span-3")
147159
+teammember("Patrik Laurell", "patrik.jpg", "Developer", github="https://github.com/patrik-laurell", linkedin="https://www.linkedin.com/in/patrik-laurell-ba5b306b/")
148-
div.col-span-2(class="md:col-span-3")
149160
+teammember("Valthor Halldórsson", "valthor.jpg", "Developer", github="https://github.com/vlthr", linkedin="https://www.linkedin.com/in/valthor-halldorsson-002aaa13a/")
150-
div.col-span-2(class="md:col-span-3")
151161
+teammember("Dwight Lidman", "dwight.jpg", "Developer", github="https://github.com/dwilid", linkedin="https://www.linkedin.com/in/dwight-lidman/", image_style="background-position-y: 10%")
152-
div.col-span-2(class="md:col-span-3")
153162
+teammember("Michael Young", "michael.jpg", "Developer", github="https://github.com/Miyou", linkedin="https://www.linkedin.com/in/michael-young-522148142/")
154163

155164
+footer

templates/mixins.pug

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ mixin section(padding="2em 0em")
66

77

88
mixin button
9-
a.rounded-md.border.mr-4.px-3.py-2.shadow(target="_blank")&attributes(attributes)
9+
a.rounded-md.border.mr-4.px-3.py-2.shadow(class="hover:bg-gray-100" target="_blank")&attributes(attributes)
1010
block
1111

12-
1312
mixin fa(name, group='fas', color='black')
1413
i(class=`${group} fa-${name} fa-8x text-${color}`)
1514

16-
1715
mixin cell(cols)
1816
div(class=`col-span-${cols}`)&attributes(attributes)
1917
block

templates/navbar.pug

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
header.flex.justify-between.items-center.bg-slate-900.p-4(style="font-family: 'Roboto', 'Helvetica', sans-serif;")
2-
div.flex.items-center.flex-grow
3-
span.text-white.text-xl
4-
a.pl-4.pr-10.font-semibold(href='https://superuserlabs.org/', class="hover:underline")
5-
| Superuser Labs
6-
div.flex.text-lg.align-middle.items-center.text-gray-300
7-
a.pr-10(href='https://activitywatch.net/' target="_blank", class="hover:underline")
8-
img.inline-block.mr-2.py-2(src='/media/activitywatch-logo.png', alt='ActivityWatch', width='20px', height='20px')
9-
| ActivityWatch
10-
a.pr-10(href='https://github.com/ErikBjare/gptme' target="_blank", class="hover:underline")
11-
img.inline-block.mr-2.py-2(src='/media/gptme-logo.png', alt='gptme', width='20px', height='20px')
12-
| gptme
13-
a.pr-10(href='https://superuserlabs.org/thankful/', class="hover:underline")
14-
img.inline-block.mr-2.py-2(src='/media/thankful-logo.png', alt='Thankful', width='20px', height='20px')
15-
| Thankful
16-
div.flex
17-
a.text-white.px-2(href='https://github.com/SuperuserLabs/' target="_blank")
18-
i.fab.fa-github.text-2xl
19-
a.text-white.px-2(href='https://twitter.com/SuperusrLabs' target="_blank")
20-
i.fab.fa-twitter.text-2xl
1+
header.flex.p-4.bg-slate-900.text-xl.whitespace-nowrap(style="font-family: 'Roboto', 'Helvetica', sans-serif;")
2+
div.text-white
3+
a.ml-4.font-semibold(href='https://superuserlabs.org/', class="hover:underline")
4+
| Superuser Labs
5+
6+
div.hidden.text-gray-300(class="md:flex")
7+
a.mx-10(href='https://activitywatch.net/' target="_blank", class="hover:underline")
8+
img.inline-block.mr-2(src='/media/activitywatch-logo.png', alt='ActivityWatch', width='20px', height='20px')
9+
| ActivityWatch
10+
a.mr-10(href='https://github.com/ErikBjare/gptme' target="_blank", class="hover:underline")
11+
img.inline-block.mr-2(src='/media/gptme-logo.png', alt='gptme', width='20px', height='20px')
12+
| gptme
13+
a.mr-10(href='https://superuserlabs.org/thankful/', class="hover:underline")
14+
img.inline-block.mr-2(src='/media/thankful-logo.png', alt='Thankful', width='20px', height='20px')
15+
| Thankful
16+
17+
div.flex-1.text-right
18+
a.text-white.mx-2(href='https://github.com/SuperuserLabs/' target="_blank")
19+
i.fab.fa-github
20+
a.text-white.mx-2(href='https://twitter.com/SuperusrLabs' target="_blank")
21+
i.fab.fa-twitter
22+
a.text-white.mx-2(href='https://www.linkedin.com/company/superuser-labs' target="_blank")
23+
i.fab.fa-linkedin

0 commit comments

Comments
 (0)