Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fossify website made with Astro js #6

Merged
merged 48 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
5897a2d
added astro website template and configured github actions
ronniedroid Jan 11, 2024
270ceea
cleaned readme and testing github actions
ronniedroid Jan 11, 2024
909d20b
added styles and brand colors
ronniedroid Jan 11, 2024
fcc1d11
added the header bar
ronniedroid Jan 12, 2024
4a86d11
removed problomatic svg
ronniedroid Jan 12, 2024
5e4c4cc
trying to fix github page not loading css
ronniedroid Jan 12, 2024
d0ce4eb
fixed relatie link after adding base to astro config
ronniedroid Jan 12, 2024
325609b
made header bar responsive
ronniedroid Jan 12, 2024
6abd72c
added hero section
ronniedroid Jan 12, 2024
dd208c4
added profile section
ronniedroid Jan 13, 2024
a2d6e01
fixed call for action button colors
ronniedroid Jan 13, 2024
42fad03
added f-droid badge svg
ronniedroid Jan 13, 2024
753b638
added products section and carousel for apps
ronniedroid Jan 13, 2024
c1c6899
alternative mobile app card
ronniedroid Jan 13, 2024
89911d7
alternative mobile app card update
ronniedroid Jan 13, 2024
9d18ed0
alternative mobile app card second update
ronniedroid Jan 13, 2024
ff2fd05
added app icons to the carousel
ronniedroid Jan 13, 2024
4e16c40
fixed app icons justification
ronniedroid Jan 13, 2024
6200090
fixed some spacing issues
ronniedroid Jan 14, 2024
e44ed59
added contributors section
ronniedroid Jan 14, 2024
cab9cce
fixed scroll padding on the carousel
ronniedroid Jan 15, 2024
d855075
fixed scroll padding on the carousel
ronniedroid Jan 15, 2024
910e6cf
added a footer, dark mode toggle and arabic translations
ronniedroid Jan 16, 2024
04702d1
don't prefix default lang
ronniedroid Jan 16, 2024
3624722
changed app card on mobile devices
ronniedroid Jan 17, 2024
cdbfc4f
fixed carousel icon on mobile devices
ronniedroid Jan 21, 2024
da4c429
added donors section
ronniedroid Jan 22, 2024
7f2459e
added about page and started work on the blogs page
ronniedroid Feb 1, 2024
5a8a81a
added code formatting and changed to new media syntax
ronniedroid Feb 4, 2024
d061ca7
added language selector
ronniedroid Feb 11, 2024
2320463
Working on the apps cards and page
ronniedroid Feb 11, 2024
58b0ac1
added a dialog to show app details on small devices
ronniedroid Feb 12, 2024
fef262e
FIX: app buttons not working on route change
ronniedroid Feb 12, 2024
2adee33
added some apps data for testing
ronniedroid Feb 12, 2024
d01a792
prepare website for merge request
ronniedroid Feb 12, 2024
c117ce1
merge latest changes form upstream
ronniedroid Feb 18, 2024
390e13c
Implemented a blog
ronniedroid Mar 24, 2024
6a5c348
Finished the blog post
ronniedroid Mar 24, 2024
8536ea5
Removed expermental view transitions
ronniedroid Mar 25, 2024
a8d700c
moved to astro assets:image
ronniedroid Mar 25, 2024
a165a3c
fixed image size issue
ronniedroid Mar 25, 2024
da6c6d9
Made the products section better on desktop
ronniedroid Mar 25, 2024
fc26681
Changed blog post title style
ronniedroid Mar 25, 2024
f2a993d
Fixed and added back dark mode toggle
ronniedroid Mar 25, 2024
b969f11
Added fallback for pages that are not available in arabic
ronniedroid Mar 25, 2024
d6b0b71
Added test branch to github actions
ronniedroid Mar 25, 2024
785e210
revereted last action
ronniedroid Mar 25, 2024
8cefd67
Upgraded astrojs and added more string translations
ronniedroid Mar 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy to GitHub Pages

on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Allow this job to clone the repo and create a page deployment
permissions:
contents: read
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
uses: actions/checkout@v3
- name: Install, build, and upload your site
uses: withastro/action@v1
with:
# path: . # The root location of your Astro project inside the repository. (optional)
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

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
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# build output
dist/

# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# environment variables
.env
.env.production

# macOS-specific files
.DS_Store
12 changes: 12 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/** @type {import("prettier").Config} */
export default {
plugins: ['prettier-plugin-astro'],
overrides: [
{
files: '*.astro',
options: {
parser: 'astro',
},
},
],
};
4 changes: 4 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
11 changes: 11 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Fossify.org website files
19 changes: 19 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { defineConfig } from 'astro/config';

import icon from "astro-icon";

// https://astro.build/config
export default defineConfig({
site: 'https://www.fossify.org',
i18n: {
defaultLocale: "en",
locales: ["en", 'ar'],
fallback: {
ar: "en"
},
routing: {
prefixDefaultLocale: false
}
},
integrations: [icon()]
});
5 changes: 0 additions & 5 deletions docs/donate.html

This file was deleted.

40 changes: 0 additions & 40 deletions docs/index.html

This file was deleted.

Loading