tangled
alpha
login
or
join now
ligo.at
/
core
6
fork
atom
decentralized and customizable links page on top of atproto
ligo.at
atproto
link-in-bio
python
uv
6
fork
atom
overview
issues
2
pulls
pipelines
add placeholder home
nauta.one
5 months ago
dac1cc97
d70a6ade
+57
-14
4 changed files
expand all
collapse all
unified
split
src
main.py
static
style.css
templates
index.html
profile.html
+2
-2
src/main.py
···
13
13
14
14
15
15
@app.route("/")
16
16
-
def hello_world():
17
17
-
return "<3"
16
16
+
def page_home():
17
17
+
return render_template("index.html")
18
18
19
19
20
20
@app.route("/<string:handle>")
+24
-12
src/static/style.css
···
1
1
+
:root {
2
2
+
--color-background: #fff;
3
3
+
--color-text: #333;
4
4
+
--color-text-secondary: #aaa;
5
5
+
}
6
6
+
7
7
+
@media (prefers-color-scheme: dark) {
8
8
+
:root {
9
9
+
--color-background: #111;
10
10
+
--color-text: #fff;
11
11
+
}
12
12
+
}
13
13
+
1
14
html {
2
15
font-feature-settings:
3
16
"kern" 1,
···
7
20
}
8
21
9
22
body {
10
10
-
background: #fff;
11
11
-
color: #333;
23
23
+
background: var(--color-background);
24
24
+
color: var(--color-text);
12
25
font-size: 18px;
13
26
line-height: 20px;
14
27
font-family: "Inter", system-ui, sans-serif, ui-sans-serif;
···
20
33
-moz-osx-font-smoothing: grayscale;
21
34
}
22
35
23
23
-
@media (prefers-color-scheme: dark) {
24
24
-
body {
25
25
-
background: #111;
26
26
-
color: #fff;
27
27
-
}
36
36
+
a {
37
37
+
color: inherit;
28
38
}
29
39
30
40
.wrapper {
···
41
51
margin: 0;
42
52
font-size: 1.5em;
43
53
font-weight: inherit;
44
44
-
45
45
-
& a {
46
46
-
color: inherit;
47
47
-
text-decoration: none;
48
48
-
}
49
54
}
50
55
51
56
header .tagline {
···
91
96
padding: 1rem;
92
97
text-decoration: none;
93
98
}
99
99
+
100
100
+
footer {
101
101
+
color: var(--color-text-secondary);
102
102
+
font-size: 14px;
103
103
+
margin-top: 5em;
104
104
+
text-align: center;
105
105
+
}
+28
src/templates/index.html
···
1
1
+
<!doctype html>
2
2
+
<html>
3
3
+
<head>
4
4
+
<meta charset="utf-8" />
5
5
+
<title>atlinks</title>
6
6
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7
7
+
<link rel="stylesheet" href="{{ url_for('static', filename='inter.css') }}" />
8
8
+
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
9
9
+
</head>
10
10
+
<body>
11
11
+
<div class="wrapper">
12
12
+
<header>
13
13
+
<h1>atlinks</h1>
14
14
+
<span class="tagline">name pending</span>
15
15
+
</header>
16
16
+
<p>
17
17
+
Get your own links page for all your social profiles. Decentralized thanks to
18
18
+
<a href="https://atproto.com/">AT Protocol</a>.
19
19
+
</p>
20
20
+
<p>
21
21
+
Coming soon!
22
22
+
</p>
23
23
+
<footer>
24
24
+
Made by <a href="/nauta.one">@nauta.one</a>
25
25
+
</footer>
26
26
+
</div>
27
27
+
</body>
28
28
+
</html>
+3
src/templates/profile.html
···
28
28
</li>
29
29
{% endfor %}
30
30
</ul>
31
31
+
<footer>
32
32
+
made with <a href="/" target="_self">atlinks</a>
33
33
+
</footer>
31
34
</div>
32
35
<!-- .wrapper -->
33
36
</body>