Compare commits
No commits in common. "master" and "service-list" have entirely different histories.
master
...
service-li
|
@ -1,44 +0,0 @@
|
|||
name: Deploy Wishlist
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
env:
|
||||
DEPLOY_DIR: ${{ secrets.DEPLOY_DIR }}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create .env file from secrets
|
||||
run: |
|
||||
echo "$ENV_PROD" > .env
|
||||
if [ ! -s .env ]; then
|
||||
echo "Error: .env file is empty!"
|
||||
exit 1
|
||||
fi
|
||||
env:
|
||||
ENV_PROD: ${{ secrets.ENV_PROD }}
|
||||
|
||||
- name: Install PHP dependencies
|
||||
run: composer install
|
||||
|
||||
- name: Install Node.js dependencies
|
||||
run: npm i
|
||||
|
||||
- name: Build assets
|
||||
run: npm run build
|
||||
|
||||
- name: Copy files to deployment directory
|
||||
run: |
|
||||
chmod -R 777 ./
|
||||
sudo rsync -av ./ ${DEPLOY_DIR}/
|
||||
|
||||
- name: Restart PHP service
|
||||
run: sudo systemctl restart php8.2-fpm
|
||||
|
||||
- name: Restart Nginx
|
||||
run: sudo systemctl restart nginx
|
|
@ -17,5 +17,3 @@ yarn-error.log
|
|||
/.fleet
|
||||
/.idea
|
||||
/.vscode
|
||||
composer.lock
|
||||
package-lock.json
|
||||
|
|
|
@ -43,19 +43,15 @@ export default {
|
|||
<v-skeleton-loader v-if="fetching" class="bg-grey-darken-3" type="card"/>
|
||||
<div class="pt-5 h-100" v-else>
|
||||
<v-row class="ma-0" v-for="n in Math.ceil(links.length / 3)" v-if="isWide">
|
||||
<v-col class="d-flex justify-center align-center w-33" v-for="j in 3">
|
||||
<v-btn v-if="links[(n - 1) * 3 + j - 1]" class="w-100 h-100 pa-5 text-white mt-5 mb-5 bg-btn text-center" :href="links[(n - 1) * 3 + j - 1].link" target="_blank">
|
||||
<template v-slot:default>
|
||||
<span class="txt-wrap">{{ links[(n - 1) * 3 + j - 1].name }}</span>
|
||||
</template>
|
||||
<v-col class="d-flex justify-center align-center" v-for="j in 3">
|
||||
<v-btn v-if="links[(n - 1) * 3 + j - 1]" class="w-100 h-100 pa-5 text-white mt-5 mb-5 bg-btn" :href="links[(n - 1) * 3 + j - 1].link" target="_blank">
|
||||
{{ links[(n - 1) * 3 + j - 1].name }}
|
||||
</v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<div v-else class="ma-0">
|
||||
<v-btn class="w-100 h-100 pa-5 text-white mt-5 mb-5 bg-btn text-center" v-for="link in links" :href="link.link" target="_blank">
|
||||
<template v-slot:default>
|
||||
<span class="txt-wrap">{{ link.name }}</span>
|
||||
</template>
|
||||
<v-btn class="w-100 h-100 pa-5 text-white mt-5 mb-5 bg-btn" v-for="link in links" :href="link.link" target="_blank">
|
||||
{{ link.name }}
|
||||
</v-btn>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -79,8 +75,4 @@ export default {
|
|||
.bg-btn {
|
||||
background-color: #E08E79
|
||||
}
|
||||
|
||||
.txt-wrap {
|
||||
white-space: wrap!important;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -14,10 +14,6 @@ use Illuminate\Support\Facades\Route;
|
|||
*/
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('ServiceLinks/links');
|
||||
});
|
||||
|
||||
Route::get('/schedule', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
|
@ -37,6 +33,10 @@ Route::get('/friday', function () {
|
|||
return view('friday/friday');
|
||||
});
|
||||
|
||||
Route::get('/services_list', function () {
|
||||
return view('ServiceLinks/links');
|
||||
});
|
||||
|
||||
Route::get('/download/{file}', 'App\Http\Controllers\DownloadController@download');
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue