Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
Fix issue with cropped text when using gradient colors (#20)

Minor tweaks

screenshots

Updates

Updates

Updates

Update to Astro v2

New app

Updates

Fix button issue

Fixes #21

Updates

Blog

Tweaks

Tweaks

Remove outdated information about Choosy (#22)

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>

Tweaks

Tweaks

Tweaks

Tweaks

Update supporters

Tweaks

Tweaks
  • Loading branch information
sindresorhus committed Sep 27, 2023
0 parents commit 42a810c
Show file tree
Hide file tree
Showing 282 changed files with 19,949 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.yml]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: withastro/action@v0
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_modules
yarn.lock
/dist
/.output
*.sublime-project
*.sublime-workspace
.astro
44 changes: 44 additions & 0 deletions astro.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import path from 'node:path';
import {fileURLToPath} from 'node:url';
import {defineConfig} from 'astro/config';
import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';
import image from '@astrojs/image';
import {remarkHeadingId} from 'remark-custom-heading-id';
import {SITE} from './source/config.mjs';

const __dirname = path.dirname(fileURLToPath(import.meta.url));

// https://astro.build/config
export default defineConfig({
site: SITE.origin,
srcDir: './source',
output: 'static',
trailingSlash: 'never',
build: {
format: 'file',
},
redirects: {
'/thanks': '/supporters',
'/lock-screen-one': '/any-text',
},
integrations: [
tailwind({
applyBaseStyles: false,
}),
sitemap(),
image(),
],
markdown: {
remarkPlugins: [
remarkHeadingId,
],
},
vite: {
resolve: {
alias: {
'~': path.resolve(__dirname, './source'),
},
},
},
});
9 changes: 9 additions & 0 deletions license
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MIT License

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3 changes: 3 additions & 0 deletions note-to-self.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Note to self

- Use `.not-prose` to avoid prose styles.
Loading

0 comments on commit 42a810c

Please sign in to comment.