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

Develop #1

Merged
merged 5 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["prettier"]
}
2 changes: 1 addition & 1 deletion .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:

- run: npm ci

- run: npm run format:check
- run: npm run format:check
2 changes: 1 addition & 1 deletion .github/workflows/sentry-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: preview
environment: preview
2 changes: 1 addition & 1 deletion .github/workflows/sentry-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
with:
environment: prod
environment: prod
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.nuxt/
.vscode/
node_modules/
playwright*
test-results/
Empty file added .prettierrc
Empty file.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Roses Live

Every year York SU plays against Lancaster SU in Europe's biggest varsity, 2025 marks 60 years since the first boat race of Roses. This repo contains all the code for the front end for RosesLive, this works in conjunction with our internal tools and a dedicated media platform to allow our media partners to report on the fixtures over the weekend.

## Technologies used
Expand All @@ -21,7 +22,6 @@ Duplicate the .env.example to .env
cp .env.example .env
```


## Development Server

Start the development server on http://localhost:3000
Expand Down Expand Up @@ -71,4 +71,4 @@ by the Free Software Foundation, either version 3 of the License, or

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [License](LICENSE).
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [License](LICENSE).
3 changes: 1 addition & 2 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtWelcome />
<HoldingPage />
</div>
</template>
28 changes: 28 additions & 0 deletions components/HoldingPage.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<template>
<div class="flex h-screen items-center justify-center bg-beige shadow">
<div class="flex w-10/12 flex-col">
<img
class="my-4 w-10/12 md:w-6/12"
src="https://assets-cdn.sums.su/YU/IMG/Website/new_logo_beige.png"
alt="University of York Students' Union"
loading="lazy"
>
<h1 class="my-4 text-xl">
This is a special purpose website, and is currently under construction..
</h1>
<h1 class="my-4 text-xl">
To get in touch with us, you can contact us at
<a
href="mailto:helpdesk@yorksu.org"
class="text-blue-800 underline"
>helpdesk@yorksu.org</a>.
</h1>
</div>
</div>
</template>

<script>
export default {
name: 'HoldingPage',
}
</script>
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import withNuxt from './.nuxt/eslint.config.mjs'

export default withNuxt()
13 changes: 10 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: true },

nitro: {
prerender: {
autoSubfolderIndex: false
}
}
autoSubfolderIndex: false,
},
},
modules: ['@nuxt/eslint', '@sentry/nuxt/module', '@nuxtjs/tailwindcss'],
eslint: {
config: {
stylistic: true,
},
},
})
Loading
Loading