diff --git a/assets/styles/_colours.scss b/assets/styles/_colours.scss index c77726d..932c410 100644 --- a/assets/styles/_colours.scss +++ b/assets/styles/_colours.scss @@ -1,2 +1,3 @@ -$primary-colour-light: rgb(127, 127, 127); -$bg-colour-light: rgb(187, 187, 187); \ No newline at end of file +$bg-colour-light: rgb(187, 187, 187); +$accent-colour-light: rgb(24, 96, 231); +$filter-accent-colour-light: invert(34%) sepia(96%) saturate(4970%) hue-rotate(216deg) brightness(95%) contrast(91%); \ No newline at end of file diff --git a/assets/styles/globals.scss b/assets/styles/globals.scss index 9cd3ea0..b9b0e92 100644 --- a/assets/styles/globals.scss +++ b/assets/styles/globals.scss @@ -3,17 +3,16 @@ body { font-family: 'Ubuntu', sans-serif !important; - background-color: colours.$bg-colour-light; + background-color: colours.$bg-colour-light; } .container { - min-height: 100vh; + min-height: 80vh; padding: 0 0.5rem; display: flex; flex-direction: column; justify-content: center; align-items: center; - height: 100vh; } .title { diff --git a/assets/styles/index.scss b/assets/styles/index.scss index a992bfb..7959809 100644 --- a/assets/styles/index.scss +++ b/assets/styles/index.scss @@ -21,7 +21,14 @@ color: #eaeaea; } -.grid { +.grid-2 { + display: grid; + align-items: center; + justify-content: center; + grid-template-columns: 1fr 1fr; +} + +.grid-3 { display: grid; align-items: center; justify-content: center; diff --git a/build_number b/build_number index 45a4fb7..ec63514 100644 --- a/build_number +++ b/build_number @@ -1 +1 @@ -8 +9 diff --git a/components/LinkCard.vue b/components/LinkCard.vue index 6a61548..a16254e 100644 --- a/components/LinkCard.vue +++ b/components/LinkCard.vue @@ -34,6 +34,7 @@ export default { diff --git a/pages/index.vue b/pages/index.vue index e221162..f0d3d93 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -6,7 +6,7 @@ spaces.
It's official! There is going to be another season! -+ Your current timezone: + {{ Intl.DateTimeFormat().resolvedOptions().timeZone }} +
+The current time in Unix Epoch: {{ Math.floor(crntTime / 1000) }}
or {{crntTime}}
in Unix millis
+ To format the time for Discord, you can use:
+
+ {{ `
+
+ to get
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ weekday: 'long',
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: '2-digit',
+ month: '2-digit',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+
+
+ {{ `
+
+ to get
+
+ {{
+ Intl.DateTimeFormat(Intl.Locale, {
+ day: 'numeric',
+ month: 'long',
+ year: 'numeric',
+ }).format(crntTime)
+ }}
+