4 Commits

14 changed files with 1257 additions and 5304 deletions

View File

@@ -4,3 +4,7 @@ updates:
directory: "/" directory: "/"
schedule: schedule:
interval: "daily" interval: "daily"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'daily'

View File

@@ -18,14 +18,14 @@ jobs:
env: env:
DOCKER_CONFIG: $HOME/.docker DOCKER_CONFIG: $HOME/.docker
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io - name: Login to ghcr.io
uses: docker/login-action@v3 uses: docker/login-action@v1
with: with:
registry: ${{ env.IMAGE_REGISTRY }} registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ env.IMAGE_OWNER }} username: ${{ env.IMAGE_OWNER }}
@@ -33,7 +33,7 @@ jobs:
- name: Build Docker Image - name: Build Docker Image
id: docker_build_x64 id: docker_build_x64
uses: docker/build-push-action@v6 uses: docker/build-push-action@v2
with: with:
push: true push: true
platforms: linux/amd64 platforms: linux/amd64
@@ -47,14 +47,14 @@ jobs:
env: env:
DOCKER_CONFIG: $HOME/.docker DOCKER_CONFIG: $HOME/.docker
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Set up Docker Buildx - name: Set up Docker Buildx
id: buildx id: buildx
uses: docker/setup-buildx-action@v3 uses: docker/setup-buildx-action@v1
- name: Login to ghcr.io - name: Login to ghcr.io
uses: docker/login-action@v3 uses: docker/login-action@v1
with: with:
registry: ${{ env.IMAGE_REGISTRY }} registry: ${{ env.IMAGE_REGISTRY }}
username: ${{ env.IMAGE_OWNER }} username: ${{ env.IMAGE_OWNER }}
@@ -62,7 +62,7 @@ jobs:
- name: Build Docker Image - name: Build Docker Image
id: docker_build_arm64 id: docker_build_arm64
uses: docker/build-push-action@v6 uses: docker/build-push-action@v2
with: with:
push: true push: true
platforms: linux/arm64 platforms: linux/arm64
@@ -74,7 +74,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: Build_x86 needs: Build_x86
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v2
- name: Run Ansible playbook - name: Run Ansible playbook
# uses: dawidd6/action-ansible-playbook@v2.5.0 # uses: dawidd6/action-ansible-playbook@v2.5.0
uses: dawidd6/action-ansible-playbook@671974ed60e946e11964cb0c26e69caaa4b1f559 uses: dawidd6/action-ansible-playbook@671974ed60e946e11964cb0c26e69caaa4b1f559

View File

@@ -14,9 +14,13 @@
name: Snyk Container name: Snyk Container
on: on:
push:
branches: [ main ]
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ main ] branches: [ main ]
schedule:
- cron: '18 21 * * 3'
permissions: permissions:
contents: read contents: read
@@ -28,7 +32,7 @@ jobs:
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v3
- name: Build a Docker image - name: Build a Docker image
run: docker build -t ghcr.io/fluttershub/homepage:snyk . run: docker build -t ghcr.io/fluttershub/homepage:snyk .
- name: Run Snyk to check Docker image for vulnerabilities - name: Run Snyk to check Docker image for vulnerabilities
@@ -45,6 +49,6 @@ jobs:
image: ghcr.io/fluttershub/homepage:snyk image: ghcr.io/fluttershub/homepage:snyk
args: --file=Dockerfile args: --file=Dockerfile
- name: Upload result to GitHub Code Scanning - name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3 uses: github/codeql-action/upload-sarif@v2
with: with:
sarif_file: snyk.sarif sarif_file: snyk.sarif

View File

@@ -1,9 +1,8 @@
FROM node:18.20.7 AS base FROM node:18.6-alpine AS base
LABEL version="4.1.0" LABEL version="4.1.0"
LABEL description="" LABEL description=""
RUN apt-get update && apt-get upgrade -y \ RUN apk --update --no-cache upgrade
&& rm -rf /var/lib/apt/lists/*
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY ["package.json", "./"] COPY ["package.json", "./"]
@@ -14,7 +13,7 @@ RUN yarn install
COPY ["src/", "./src"] COPY ["src/", "./src"]
RUN npm run Prod RUN npm run Prod
FROM nginx:1.29.0-alpine as Web FROM nginx:1.23.0-alpine as Web
RUN apk --update --no-cache upgrade RUN apk --update --no-cache upgrade

View File

@@ -1,7 +1,7 @@
version: "3" version: "3"
services: services:
fluttershub-homepage: fluttershub.com:
image: ghcr.io/fluttershub/homepage:x64-latest image: ghcr.io/fluttershub/homepage:x64-latest
restart: always restart: always
networks: networks:

4125
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@
"author": "HotaruBlaze", "author": "HotaruBlaze",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github.com:Fluttershub/Homepage.git" "url": "git@github.com:github/Fluttershub.git"
}, },
"scripts": { "scripts": {
"preinit": "npx npm-force-resolutions", "preinit": "npx npm-force-resolutions",
@@ -17,12 +17,15 @@
"Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build" "Prod": "npm run Cleanup && npm run Init && parcel build src/index.pug --dist-dir build"
}, },
"devDependencies": { "devDependencies": {
"@parcel/transformer-pug": "2.14.4", "@parcel/transformer-pug": "2.6.2",
"@parcel/transformer-sass": "2.14.4", "@parcel/transformer-sass": "2.6.2",
"parcel": "^2.14.4" "parcel": "^2.6.2"
},
"engines": {
"node": "^18.*"
}, },
"resolutions": { "resolutions": {
"node-forge": "1.3.1" "node-forge": "0.10.0"
}, },
"dependencies": {}, "dependencies": {},
"bugs": { "bugs": {

View File

@@ -1,6 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

View File

@@ -14,7 +14,7 @@ html(lang='en')
.container .container
.pod .pod
.glow .glow
img#profile_pic(src='assets/profile_pic.png', alt='') img#profile_pic(src='https://s3.fluttershub.com/fluttershub-com/public/profile_pic.png', alt='')
h1.welcome_text.text-flicker.text-flicker-1 Phoenix/Hotaru h1.welcome_text.text-flicker.text-flicker-1 Phoenix/Hotaru
p.about_me.standard_text.text-box-glow p.about_me.standard_text.text-box-glow
.pod .pod
@@ -22,7 +22,6 @@ html(lang='en')
a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter a.standard_text.text-flicker-2(href="https://twitter.com/HotaruBlaze") Twitter
a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github a.standard_text.text-flicker-2(href="https://github.com/HotaruBlaze") Github
a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab a.standard_text.text-flicker-2(href="https://gitlab.com/HotaruBlaze") Gitlab
a.standard_text.text-flicker-2(href="mailto:hotarublaze@gmail.com") Email
footer.standard_text.footer-slide footer.standard_text.footer-slide
.creator .creator
a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie? a.build_text(href="https://www.youtube.com/watch?v=5DWFZhAVI3s") Cookie?

View File

@@ -1,3 +1,3 @@
@use "animations/bounce.scss"; @import "animations/bounce.scss";
@use "animations/flicker.scss"; @import "animations/flicker.scss";
@use "animations/slide.scss"; @import "animations/slide.scss";

View File

@@ -1,11 +1,23 @@
// @use "./bounce.scss"; // @import "./bounce.scss";
// Keyframes must be declared at the top level #profile_pic {
@keyframes border-pulsate { width: 256px;
0% { height: 256px;
box-shadow: none; /* Safari 3-4, iOS 1-3.2, Android 1.6- */
-webkit-border-radius: 50%;
/* Firefox 1-3.6 */
-moz-border-radius: 50%;
/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
border-radius: 50%;
}
.glow img{
@keyframes border-pulsate {
0%{
box-shadow:none;
} }
60% { 60%{
box-shadow: box-shadow:
inset 0 0 50px #fff, inset 0 0 50px #fff,
inset 20px 0 80px #f5f, inset 20px 0 80px #f5f,
@@ -16,25 +28,15 @@
-10px 0 80px #f0f, -10px 0 80px #f0f,
10px 0 80px #0ff; 10px 0 80px #0ff;
} }
100% { 100%{
box-shadow: none; box-shadow:none;
} }
} }
// -webkit-animation: bounce-in-fwd 1.1s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;
#profile_pic { // animation: bounce-in-fwd 1.1s cubic-bezier(0.645, 0.045, 0.355, 1.000) both;
width: 256px;
height: 256px;
/* Safari 3-4, iOS 1-3.2, Android 1.6- */
-webkit-border-radius: 50%;
/* Firefox 1-3.6 */
-moz-border-radius: 50%;
/* Modern browsers */
border-radius: 50%;
}
.glow img {
animation: bounce-in 800ms cubic-bezier(0.645, 0.045, 0.355, 1.000) both, border-pulsate 10s infinite; animation: bounce-in 800ms cubic-bezier(0.645, 0.045, 0.355, 1.000) both, border-pulsate 10s infinite;
/* transition:all 4s ease-out;
/*animation-delay: 0s;
animation-play-state: running;
// animation-fill-mode: backwards; */
} }

View File

@@ -1,7 +1,7 @@
@use "components/common.scss"; @import "components/common.scss";
// @use "components/animation.scss"; // @import "components/animation.scss";
@use "components/img.scss"; @import "components/img.scss";
@use "components/footer.scss"; @import "components/footer.scss";
@use "components/animations.scss"; @import "components/animations.scss";
// @use "components/slide.scss"; // @import "components/slide.scss";
// @use "components/links.scss"; // @import "components/links.scss";

2287
yarn.lock

File diff suppressed because it is too large Load Diff