Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit 4e25b25

Browse files
committed
init wip website
0 parents  commit 4e25b25

15 files changed

Lines changed: 284 additions & 0 deletions

File tree

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
indent_size = 4
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on:
2+
push:
3+
branches: [main]
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout your repository using git
16+
uses: actions/checkout@v4
17+
- name: Install, build, and upload your site
18+
uses: withastro/action@v3
19+
20+
deploy:
21+
needs: build
22+
runs-on: ubuntu-latest
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
steps:
27+
id: deployment
28+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.astro/
2+
.vscode/
3+
node_modules/
4+
deno.lock
5+
package-lock.json

astro.config.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { defineConfig } from "astro/config";
2+
import deno from "@deno/astro-adapter";
3+
4+
// https://astro.build/config
5+
export default defineConfig({
6+
site: "https://sindercu.be",
7+
output: "server",
8+
adapter: deno(),
9+
});

package.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"name": "website",
3+
"type": "module",
4+
"version": "1.0.0",
5+
"scripts": {
6+
"dev": "astro dev",
7+
"start": "astro dev",
8+
"build": "astro build",
9+
"preview": "deno run -A ./dist/server/entry.mjs",
10+
"format": "deno fmt && prettier --write ."
11+
},
12+
"dependencies": {
13+
"@deno/astro-adapter": "^0.1.2",
14+
"astro": "^4.9.3",
15+
"simple-icons-astro": "^13.20.0"
16+
},
17+
"devDependencies": {
18+
"prettier": "^3.3.1",
19+
"prettier-plugin-astro": "^0.14.0"
20+
},
21+
"prettier": {
22+
"tabWidth": 2,
23+
"plugins": [
24+
"./node_modules/prettier-plugin-astro/dist/index.js"
25+
],
26+
"overrides": [
27+
{
28+
"files": "*.astro",
29+
"options": {
30+
"parser": "astro"
31+
}
32+
}
33+
]
34+
}
35+
}

public/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sindercu.be

public/favicon.svg

Lines changed: 9 additions & 0 deletions
Loading

src/components/Icon.astro

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
export interface Props {
3+
name: string;
4+
}
5+
6+
const { name } = Astro.props;
7+
const url = `https://raw.githubusercontent.com/simple-icons/simple-icons/refs/heads/develop/icons/${name}.svg`
8+
---
9+
10+
<img src={url}/>
11+
12+
<style>
13+
14+
img {
15+
width: 24px;
16+
}
17+
18+
</style>

src/components/Link.astro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
import Icon from './Icon.astro';
3+
4+
export interface Props {
5+
icon: string;
6+
link: string;
7+
text: string;
8+
}
9+
10+
const { icon, link, text } = Astro.props;
11+
---
12+
13+
<a href={link}><Icon name={icon}/>{text}</a>
14+
15+
<style>
16+
17+
img {
18+
width: 24px;
19+
}
20+
21+
</style>

src/data/default_resources.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
export default [
2+
{
3+
url: "https://deno.land",
4+
title: "Deno",
5+
summary: "A secure runtime for JavaScript and TypeScript.",
6+
},
7+
{
8+
url: "https://deno.land/manual",
9+
title: "Deno Manual",
10+
summary: "Learn more about the Deno runtime.",
11+
},
12+
{
13+
url: "https://deno.com/deploy",
14+
title: "Deno Deploy",
15+
summary: "Global serverless infrastructure for web applications.",
16+
},
17+
{
18+
url: "https://discord.gg/deno",
19+
title: "Deno Discord",
20+
summary: "Join the Deno community on Discord.",
21+
},
22+
];

0 commit comments

Comments
 (0)