Enhance Next.js configuration and dependencies for improved functionality and localization support. Added support for internationalization with next-intl, updated global styles, and integrated new fonts. Removed default home page and updated README with project details and setup instructions.
This commit is contained in:
1 parent
2911dea00b
commit
44f4fa98e2
320 files changed
+31666
-220
No files matched your search
+285
-14
@@ -1,26 +1,297 @@
|
||||
@import "tailwindcss";
|
||||
@import "tw-animate-css";
|
||||
@import "shadcn/tailwind.css";
|
||||
|
||||
:root {
|
||||
--background: #ffffff;
|
||||
--foreground: #171717;
|
||||
}
|
||||
@custom-variant dark (&:is(.dark *));
|
||||
|
||||
/*
|
||||
AUT Open Education — shadcn/ui theme only
|
||||
Brand identity via CSS variables (primary / accent / muted). No ds-* or --brand-*.
|
||||
*/
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-geist-sans);
|
||||
--font-mono: var(--font-geist-mono);
|
||||
--font-sans: var(--font-iransans);
|
||||
--font-heading: var(--font-iransans);
|
||||
--color-sidebar-ring: var(--sidebar-ring);
|
||||
--color-sidebar-border: var(--sidebar-border);
|
||||
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
||||
--color-sidebar-accent: var(--sidebar-accent);
|
||||
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
||||
--color-sidebar-primary: var(--sidebar-primary);
|
||||
--color-sidebar-foreground: var(--sidebar-foreground);
|
||||
--color-sidebar: var(--sidebar);
|
||||
--color-chart-5: var(--chart-5);
|
||||
--color-chart-4: var(--chart-4);
|
||||
--color-chart-3: var(--chart-3);
|
||||
--color-chart-2: var(--chart-2);
|
||||
--color-chart-1: var(--chart-1);
|
||||
--color-ring: var(--ring);
|
||||
--color-input: var(--input);
|
||||
--color-border: var(--border);
|
||||
--color-destructive: var(--destructive);
|
||||
--color-accent-foreground: var(--accent-foreground);
|
||||
--color-accent: var(--accent);
|
||||
--color-muted-foreground: var(--muted-foreground);
|
||||
--color-muted: var(--muted);
|
||||
--color-secondary-foreground: var(--secondary-foreground);
|
||||
--color-secondary: var(--secondary);
|
||||
--color-primary-foreground: var(--primary-foreground);
|
||||
--color-primary: var(--primary);
|
||||
--color-popover-foreground: var(--popover-foreground);
|
||||
--color-popover: var(--popover);
|
||||
--color-card-foreground: var(--card-foreground);
|
||||
--color-card: var(--card);
|
||||
--radius-sm: 0.375rem;
|
||||
--radius-md: 0.625rem;
|
||||
--radius-lg: 0.875rem;
|
||||
--radius-xl: 1.125rem;
|
||||
--radius-2xl: 1.25rem;
|
||||
--radius-3xl: 1.5rem;
|
||||
--radius-4xl: 1.75rem;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
:root {
|
||||
/* AUT red + gold mapped into standard shadcn tokens */
|
||||
--background: #ffffff;
|
||||
--foreground: #1a1a1a;
|
||||
--card: #ffffff;
|
||||
--card-foreground: #1a1a1a;
|
||||
--popover: #ffffff;
|
||||
--popover-foreground: #1a1a1a;
|
||||
--primary: #a31f34;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #f0efeb;
|
||||
--secondary-foreground: #1a1a1a;
|
||||
--muted: #f7f6f3;
|
||||
--muted-foreground: #5c5c5c;
|
||||
--accent: #d9dee5;
|
||||
--accent-foreground: #16202c;
|
||||
--destructive: oklch(0.577 0.245 27.325);
|
||||
--border: #ebe9e4;
|
||||
--input: #ebe9e4;
|
||||
--ring: #a31f34;
|
||||
--radius: 0.625rem;
|
||||
|
||||
--chart-1: #a31f34;
|
||||
--chart-2: #0c2d5a;
|
||||
--chart-3: #061525;
|
||||
--chart-4: #9aa5b1;
|
||||
--chart-5: #5c5c5c;
|
||||
--sidebar: #ffffff;
|
||||
--sidebar-foreground: #1a1a1a;
|
||||
--sidebar-primary: #a31f34;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #f0efeb;
|
||||
--sidebar-accent-foreground: #1a1a1a;
|
||||
--sidebar-border: #e2e0db;
|
||||
--sidebar-ring: #a31f34;
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #f7f6f3;
|
||||
--card: #141414;
|
||||
--card-foreground: #f7f6f3;
|
||||
--popover: #141414;
|
||||
--popover-foreground: #f7f6f3;
|
||||
--primary: #c43a4e;
|
||||
--primary-foreground: #ffffff;
|
||||
--secondary: #1f1f1f;
|
||||
--secondary-foreground: #f7f6f3;
|
||||
--muted: #1a1a1a;
|
||||
--muted-foreground: #a3a3a3;
|
||||
--accent: #c7ced8;
|
||||
--accent-foreground: #111827;
|
||||
--border: #2a2a2a;
|
||||
--input: #2a2a2a;
|
||||
--ring: #c43a4e;
|
||||
--sidebar: #141414;
|
||||
--sidebar-foreground: #f7f6f3;
|
||||
--sidebar-primary: #c43a4e;
|
||||
--sidebar-primary-foreground: #ffffff;
|
||||
--sidebar-accent: #1f1f1f;
|
||||
--sidebar-accent-foreground: #f7f6f3;
|
||||
--sidebar-border: #2a2a2a;
|
||||
--sidebar-ring: #c43a4e;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border outline-ring/50;
|
||||
}
|
||||
body {
|
||||
@apply bg-background text-foreground antialiased;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
text-align: start;
|
||||
}
|
||||
html {
|
||||
@apply font-sans scroll-smooth;
|
||||
scroll-padding-top: 6rem;
|
||||
}
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
/* Metamorphism dots + lines — soft presence, not noise */
|
||||
@keyframes metamorph-line-pulse {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.35;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes metamorph-dot-breathe {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.55;
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.35);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes metamorph-field-drift {
|
||||
0%,
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
50% {
|
||||
transform: translate3d(1.2%, -0.8%, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes metamorph-dash-flow {
|
||||
from { stroke-dashoffset: 24; }
|
||||
to { stroke-dashoffset: 0; }
|
||||
}
|
||||
|
||||
@keyframes section-reveal {
|
||||
from { opacity: 0; transform: translateY(2rem); }
|
||||
to { opacity: 1; transform: translateY(0); }
|
||||
}
|
||||
|
||||
.metamorph-field__mesh {
|
||||
animation: metamorph-field-drift 18s ease-in-out infinite;
|
||||
}
|
||||
|
||||
.metamorph-field__line {
|
||||
stroke-dasharray: 4 8;
|
||||
animation:
|
||||
metamorph-line-pulse 7s ease-in-out infinite,
|
||||
metamorph-dash-flow 8s linear infinite;
|
||||
}
|
||||
|
||||
.page-hero::after,
|
||||
.home-hero::after {
|
||||
position: absolute;
|
||||
inset-inline: 0;
|
||||
bottom: 0;
|
||||
height: 1px;
|
||||
content: "";
|
||||
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.site-header::before {
|
||||
position: absolute;
|
||||
inset-inline: 0;
|
||||
top: 0;
|
||||
height: 2px;
|
||||
content: "";
|
||||
background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
|
||||
}
|
||||
|
||||
.site-header nav a {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.site-header nav a::after {
|
||||
position: absolute;
|
||||
inset-inline-start: 50%;
|
||||
bottom: 0.15rem;
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
border-radius: 999px;
|
||||
content: "";
|
||||
background: var(--primary);
|
||||
opacity: 0;
|
||||
transform: translateX(50%) scale(0);
|
||||
transition: opacity 200ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
.site-header nav a:hover::after,
|
||||
.site-header nav a:focus-visible::after {
|
||||
opacity: 1;
|
||||
transform: translateX(50%) scale(1);
|
||||
}
|
||||
|
||||
.motion-section[data-tone="muted"] {
|
||||
background-image: radial-gradient(color-mix(in oklab, var(--foreground) 9%, transparent) 0.7px, transparent 0.7px);
|
||||
background-size: 22px 22px;
|
||||
}
|
||||
|
||||
.motion-section[data-tone="dark"] {
|
||||
background-image:
|
||||
radial-gradient(circle at 10% 20%, color-mix(in oklab, var(--primary) 30%, transparent), transparent 28%),
|
||||
radial-gradient(circle at 90% 80%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 25%);
|
||||
}
|
||||
|
||||
@supports (animation-timeline: view()) {
|
||||
.motion-section {
|
||||
animation: section-reveal both cubic-bezier(0.22, 1, 0.36, 1);
|
||||
animation-timeline: view();
|
||||
animation-range: entry 5% cover 28%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (hover: hover) {
|
||||
[data-slot="card"] img {
|
||||
transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
[data-slot="card"]:hover img {
|
||||
transform: scale(1.025);
|
||||
}
|
||||
}
|
||||
|
||||
.metamorph-field__dot {
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
animation: metamorph-dot-breathe 6s ease-in-out infinite;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
html {
|
||||
scroll-behavior: auto;
|
||||
}
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
animation-duration: 0.01ms !important;
|
||||
animation-iteration-count: 1 !important;
|
||||
transition-duration: 0.01ms !important;
|
||||
}
|
||||
.metamorph-field__mesh,
|
||||
.metamorph-field__line,
|
||||
.metamorph-field__dot {
|
||||
animation: none !important;
|
||||
}
|
||||
.metamorph-field animate {
|
||||
display: none;
|
||||
}
|
||||
.motion-section {
|
||||
animation: none !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user