Compare commits

...

2 Commits

Author SHA1 Message Date
Timo Knuth e939543f3b . 2025-10-08 19:31:11 +02:00
Timo Knuth 6048a8f613 -our beliefs 2025-10-08 19:28:01 +02:00
15 changed files with 101 additions and 412 deletions

4
.gitignore vendored
View File

@ -142,3 +142,7 @@ temp/
# Local configuration files # Local configuration files
config.local.js config.local.js
config.local.json config.local.json
# Server data files
server/data/events.json
server/uploads/

View File

@ -4,6 +4,8 @@ WORKDIR /app
COPY package.json ./ COPY package.json ./
RUN npm install RUN npm install
COPY . . COPY . .
ARG VITE_API_BASE_URL=https://annavillesda.org
ENV VITE_API_BASE_URL=$VITE_API_BASE_URL
RUN npm run build RUN npm run build
FROM nginx:alpine FROM nginx:alpine

View File

@ -4,8 +4,33 @@ server {
server_name _; server_name _;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html; index index.html;
# API proxy to backend
location /api/ {
proxy_pass http://localhost:3070;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
}
# Uploads proxy to backend
location /uploads/ {
proxy_pass http://localhost:3070;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
# Frontend routes
location / { location / {
try_files $uri /index.html; try_files $uri /index.html;
add_header Cache-Control "public, max-age=31536000, immutable";
} }
add_header Cache-Control "public, max-age=31536000, immutable";
} }

View File

@ -27,43 +27,21 @@ export function EventCard({ e }) {
const details = [e.time, e.location].filter(Boolean).join(' | ') const details = [e.time, e.location].filter(Boolean).join(' | ')
const getEventImage = (title) => { const imageSrc = resolveEventImage(e.image, '')
const lowerTitle = `${title || ''}`.toLowerCase()
if (lowerTitle.includes('community sabbath lunch')) {
return '/assets/potluck.png'
}
if (lowerTitle.includes('youth vespers')) {
return '/assets/youth_vespers.png'
}
if (lowerTitle.includes('neighborhood food drive')) {
return '/assets/family_entry.png'
}
if (lowerTitle.includes('potluck') || lowerTitle.includes('lunch') || lowerTitle.includes('dinner')) {
return '/assets/potluck.png'
}
if (lowerTitle.includes('family') || lowerTitle.includes('community')) {
return '/assets/family_entry.png'
}
if (lowerTitle.includes('welcome') || lowerTitle.includes('committee')) {
return '/assets/welcome_commite.png'
}
return '/assets/potluck.png'
}
const defaultImage = getEventImage(e.title)
const imageSrc = resolveEventImage(e.image, defaultImage)
return ( return (
<article className="card p-10 flex flex-col" style={{ aspectRatio: '4/3' }}> <article className="card p-10 flex flex-col" style={{ aspectRatio: '4/3' }}>
<div className="flex items-center gap-6 mb-8"> <div className="flex items-center gap-6 mb-8">
<div className="w-20 h-20 rounded-full overflow-hidden bg-primary text-white flex items-center justify-center"> {imageSrc && (
<img <div className="w-20 h-20 rounded-full overflow-hidden bg-primary text-white flex items-center justify-center">
src={imageSrc} <img
alt={`${e.title} event`} src={imageSrc}
className="w-full h-full object-cover" alt={`${e.title} event`}
loading="lazy" className="w-full h-full object-cover"
/> loading="lazy"
</div> />
</div>
)}
<div> <div>
<h3 className="font-heading text-h3">{e.title}</h3> <h3 className="font-heading text-h3">{e.title}</h3>
<div className="text-muted text-small mt-2"> <div className="text-muted text-small mt-2">

View File

@ -37,7 +37,6 @@ export default function Footer() {
<li><Link to="/services" className="text-body hover:text-primary transition-colors">Services</Link></li> <li><Link to="/services" className="text-body hover:text-primary transition-colors">Services</Link></li>
<li><Link to="/resources" className="text-body hover:text-primary transition-colors">Resources</Link></li> <li><Link to="/resources" className="text-body hover:text-primary transition-colors">Resources</Link></li>
<li><Link to="/calendar" className="text-body hover:text-primary transition-colors">Calendar</Link></li> <li><Link to="/calendar" className="text-body hover:text-primary transition-colors">Calendar</Link></li>
<li><Link to="/beliefs" className="text-body hover:text-primary transition-colors">Our Beliefs</Link></li>
<li><Link to="/contact" className="text-body hover:text-primary transition-colors">Contact</Link></li> <li><Link to="/contact" className="text-body hover:text-primary transition-colors">Contact</Link></li>
</ul> </ul>
</div> </div>

View File

@ -9,7 +9,6 @@ const navItems = [
{ to: '/resources', label: 'RESOURCES' }, { to: '/resources', label: 'RESOURCES' },
{ to: '/events', label: 'EVENTS' }, { to: '/events', label: 'EVENTS' },
{ to: '/calendar', label: 'CALENDAR' }, { to: '/calendar', label: 'CALENDAR' },
{ to: '/beliefs', label: 'OUR BELIEFS' },
] ]
export default function Header() { export default function Header() {

View File

@ -22,12 +22,15 @@ export function TextHero() {
} }
return ( return (
<section className="relative bg-gradient-to-br from-sand to-surface"> <section className="relative bg-gradient-to-br from-primary/15 via-sand/20 to-white">
<div className="container py-20"> <div className="container py-20">
<div className="grid lg:grid-cols-2 gap-16 items-center"> <div className="grid lg:grid-cols-2 gap-16 items-center">
{/* Content on the Left */} {/* Content on the Left */}
<div className="order-1 lg:order-1"> <div className="order-1 lg:order-1">
<h1 className="font-heading text-h1 mb-8">Welcome to Annaville Seventh-day Adventist Church</h1> <p className="text-xs uppercase tracking-[0.3em] text-primary font-semibold mb-6">
Welcome to Annaville SDA Church
</p>
<h1 className="font-heading text-h1 mb-8 text-ink">Welcome to Annaville Seventh-day Adventist Church</h1>
<p className="text-ink text-body mb-10">The Annaville SDA Church offers worship services for members, non-members, or anyone interested in learning more about practical Christian living from the Word of God.</p> <p className="text-ink text-body mb-10">The Annaville SDA Church offers worship services for members, non-members, or anyone interested in learning more about practical Christian living from the Word of God.</p>
<div className="mb-10 text-muted text-small">Sabbath School 9:45 AM CT Divine Worship 11:00 AM CT 2710 Violet Rd</div> <div className="mb-10 text-muted text-small">Sabbath School 9:45 AM CT Divine Worship 11:00 AM CT 2710 Violet Rd</div>
<div className="flex flex-wrap gap-6"> <div className="flex flex-wrap gap-6">

View File

@ -6,7 +6,6 @@ const navItems = [
{ to: '/services', label: 'SERVICES' }, { to: '/services', label: 'SERVICES' },
{ to: '/resources', label: 'RESOURCES' }, { to: '/resources', label: 'RESOURCES' },
{ to: '/calendar', label: 'CALENDAR' }, { to: '/calendar', label: 'CALENDAR' },
{ to: '/beliefs', label: 'OUR BELIEFS' },
] ]
export default function SidebarNav() { export default function SidebarNav() {

View File

@ -9,7 +9,6 @@ import About from './pages/About'
import Services from './pages/Services' import Services from './pages/Services'
import Resources from './pages/Resources' import Resources from './pages/Resources'
import Calendar from './pages/Calendar' import Calendar from './pages/Calendar'
import Beliefs from './pages/Beliefs'
import Contact from './pages/Contact' import Contact from './pages/Contact'
import Privacy from './pages/Privacy' import Privacy from './pages/Privacy'
import Terms from './pages/Terms' import Terms from './pages/Terms'
@ -33,7 +32,6 @@ const router = createBrowserRouter([
{ path: 'services', element: <Services /> }, { path: 'services', element: <Services /> },
{ path: 'resources', element: <Resources /> }, { path: 'resources', element: <Resources /> },
{ path: 'calendar', element: <Calendar /> }, { path: 'calendar', element: <Calendar /> },
{ path: 'beliefs', element: <Beliefs /> },
{ path: 'contact', element: <Contact /> }, { path: 'contact', element: <Contact /> },
{ path: 'privacy', element: <Privacy /> }, { path: 'privacy', element: <Privacy /> },
{ path: 'terms', element: <Terms /> }, { path: 'terms', element: <Terms /> },

View File

@ -1,275 +0,0 @@
import React from 'react'
import { Helmet } from 'react-helmet-async'
export default function Beliefs() {
const beliefs = [
{
id: 1,
title: "The Holy Scriptures",
category: "foundation",
summary: "The Holy Scriptures, Old and New Testaments, are the written Word of God, given by divine inspiration through holy men of God who spoke and wrote as they were moved by the Holy Spirit.",
fullText: "The Holy Scriptures, Old and New Testaments, are the written Word of God, given by divine inspiration through holy men of God who spoke and wrote as they were moved by the Holy Spirit. In this Word, God has committed to man the knowledge necessary for salvation. The Holy Scriptures are the infallible revelation of His will. They are the standard of character, the test of experience, the authoritative revealer of doctrines, and the trustworthy record of God's acts in history.",
references: "2 Peter 1:20, 21; 2 Tim. 3:16, 17; Ps. 119:105; Prov. 30:5, 6; Isa. 8:20; John 17:17; 1 Thess. 2:13; Heb. 4:12."
},
{
id: 2,
title: "The Trinity",
category: "foundation",
summary: "There is one God: Father, Son, and Holy Spirit, a unity of three co-eternal Persons.",
fullText: "There is one God: Father, Son, and Holy Spirit, a unity of three co-eternal Persons. God is immortal, all-powerful, all-knowing, above all, and ever present. He is infinite and beyond human comprehension, yet known through His self-revelation. He is forever worthy of worship, adoration, and service by the whole creation.",
references: "Deut. 6:4; Matt. 28:19; 2 Cor. 13:14; Eph. 4:4-6; 1 Peter 1:2; 1 Tim. 1:17; Rev. 14:7."
},
{
id: 3,
title: "The Father",
category: "foundation",
summary: "God the eternal Father is the Creator, Source, Sustainer, and Sovereign of all creation.",
fullText: "God the eternal Father is the Creator, Source, Sustainer, and Sovereign of all creation. He is just and holy, merciful and gracious, slow to anger, and abounding in steadfast love and faithfulness. The qualities and powers exhibited in the Son and the Holy Spirit are also revelations of the Father.",
references: "Gen. 1:1; Rev. 4:11; 1 Cor. 15:28; John 3:16; 1 John 4:8; 1 Tim. 1:17; Ex. 34:6, 7; John 14:9."
},
{
id: 4,
title: "The Son",
category: "foundation",
summary: "God the eternal Son became incarnate in Jesus Christ.",
fullText: "God the eternal Son became incarnate in Jesus Christ. Through Him all things were created, the character of God is revealed, the salvation of humanity is accomplished, and the world is judged. Forever truly God, He became also truly man, Jesus the Christ. He was conceived of the Holy Spirit and born of the virgin Mary. He lived and experienced temptation as a human being, but perfectly exemplified the righteousness and love of God. By His miracles He manifested God's power and was attested as God's promised Messiah. He suffered and died voluntarily on the cross for our sins and in our place, was raised from the dead, and ascended to minister in the heavenly sanctuary in our behalf. He will come again in glory for the final deliverance of His people and the restoration of all things.",
references: "John 1:1-3, 14; Col. 1:15-19; John 10:30; 14:9; Rom. 6:23; 2 Cor. 5:17-19; John 5:22; Luke 1:35; Phil. 2:5-11; Heb. 2:9-18; 1 Cor. 15:3, 4; Heb. 8:1, 2; John 14:1-3."
},
{
id: 5,
title: "The Holy Spirit",
category: "foundation",
summary: "God the eternal Spirit was active with the Father and the Son in Creation, incarnation, and redemption.",
fullText: "God the eternal Spirit was active with the Father and the Son in Creation, incarnation, and redemption. He inspired the writers of Scripture. He filled Christ's life with power. He draws and convicts human beings; and those who respond He renews and transforms into the image of God. Sent by the Father and the Son to be always with His children, He extends spiritual gifts to the church, empowers it to bear witness to Christ, and in harmony with the Scriptures leads it into all truth.",
references: "Gen. 1:1, 2; Luke 1:35; 4:18; Acts 10:38; 2 Peter 1:21; 2 Cor. 3:18; Eph. 4:11, 12; Acts 1:8; John 14:16-18, 26; 15:26, 27; 16:7-13."
},
{
id: 6,
title: "Creation",
category: "foundation",
summary: "God is Creator of all things, and has revealed in Scripture the authentic account of His creative activity.",
fullText: "God is Creator of all things, and has revealed in Scripture the authentic account of His creative activity. In six days the Lord made \"the heaven and the earth\" and all living things upon the earth, and rested on the seventh day of that first week. Thus He established the Sabbath as a perpetual memorial of His completed creative work. The first man and woman were made in the image of God as the crowning work of Creation, given dominion over the world, and charged with responsibility to care for it. When the world was finished it was ``very good,'' declaring the glory of God.",
references: "Gen. 1; 2; Ex. 20:8-11; Ps. 19:1-6; 33:6, 9; 104; Heb. 11:3."
},
{
id: 7,
title: "The Nature of Man",
category: "humanity",
summary: "Man and woman were made in the image of God with individuality, the power and freedom to think and to do.",
fullText: "Man and woman were made in the image of God with individuality, the power and freedom to think and to do. Though created free beings, each is an indivisible unity of body, mind, and spirit, dependent upon God for life and breath and all else. When our first parents disobeyed God, they denied their dependence upon Him and fell from their high position under God. The image of God in them was marred and they became subject to death. Their descendants share this fallen nature and its consequences. They are born with weaknesses and tendencies to evil. But God in Christ reconciled the world to Himself and by His Spirit restores in penitent mortals the image of their Maker. Created for the glory of God, they are called to love Him and one another, and to care for their environment.",
references: "Gen. 1:26-28; 2:7; Ps. 8:4-8; Acts 17:24-28; Gen. 3; Ps. 51:5; Rom. 5:12-17; 2 Cor. 5:19, 20; Ps. 51:10; 1 John 4:7, 8, 11, 20; Gen. 2:15."
},
{
id: 8,
title: "The Great Controversy",
category: "salvation",
summary: "All humanity is now involved in a great controversy between Christ and Satan regarding the character of God, His law, and His sovereignty over the universe.",
fullText: "All humanity is now involved in a great controversy between Christ and Satan regarding the character of God, His law, and His sovereignty over the universe. This conflict originated in heaven when a created being, endowed with freedom of choice, in self-exaltation became Satan, God's adversary, and led into rebellion a portion of the angels. He introduced the spirit of rebellion into this world when he led Adam and Eve into sin. This human sin resulted in the distortion of the image of God in humanity, the disordering of the created world, and its eventual devastation at the time of the worldwide flood. Observed by the whole creation, this world became the arena of the universal conflict, out of which the God of love will ultimately be vindicated. To assist His people in this controversy, Christ sends the Holy Spirit and the loyal angels to guide, protect, and sustain them in the way of salvation.",
references: "Rev. 12:4-9; Isa. 14:12-14; Eze. 28:12-18; Gen. 3; Rom. 1:19-32; 5:12-21; 8:19-22; Gen. 6-8; 2 Peter 3:6; 1 Cor. 4:9; Heb. 1:14."
},
{
id: 9,
title: "The Life, Death, and Resurrection of Christ",
category: "salvation",
summary: "In Christ's life of perfect obedience to God's will, His suffering, death, and resurrection, God provided the only means of atonement for human sin.",
fullText: "In Christ's life of perfect obedience to God's will, His suffering, death, and resurrection, God provided the only means of atonement for human sin, so that those who by faith accept this atonement may have eternal life, and the whole creation may better understand the infinite and holy love of the Creator. This perfect atonement vindicates the righteousness of God's law and the graciousness of His character; for it both condemns our sin and provides for our forgiveness. The death of Christ is substitutionary and expiatory, reconciling and transforming. The resurrection of Christ proclaims God's triumph over the forces of evil, and for those who accept the atonement assures their final victory over sin and death. It declares the Lordship of Jesus Christ, before whom every knee in heaven and on earth will bow.",
references: "John 3:16; Isa. 53; 1 Peter 2:21, 22; 1 Cor. 15:3, 4, 20-22; 2 Cor. 5:14, 15, 19-21; Rom. 1:4; 3:25; 4:25; 8:3, 4; 1 John 2:2; 4:10; Col. 2:15; Phil. 2:6-11."
},
{
id: 10,
title: "The Experience of Salvation",
category: "salvation",
summary: "In infinite love and mercy God made Christ, who knew no sin, to be sin for us, so that in Him we might be made the righteousness of God.",
fullText: "In infinite love and mercy God made Christ, who knew no sin, to be sin for us, so that in Him we might be made the righteousness of God. Led by the Holy Spirit we sense our need, acknowledge our sinfulness, repent of our transgressions, and exercise faith in Jesus as Lord and Christ, as Substitute and Example. This faith which receives salvation comes through the divine power of the Word and is the gift of God's grace. Through Christ we are justified, adopted as God's sons and daughters, and delivered from the lordship of sin. Through the Spirit we are born again and sanctified; the Spirit renews our minds, writes God's law of love in our hearts, and we are given the power to live a holy life. Abiding in Him we become partakers of the divine nature and have the assurance of salvation now and in the judgment.",
references: "2 Cor. 5:17-21; John 3:16; Gal. 1:4; 4:4-7; Titus 3:3-7; John 16:8; Gal. 3:13, 14; 1 Peter 2:21, 22; Rom. 10:17; Luke 17:5; Mark 9:23, 24; Eph. 2:5-10; Rom. 3:21-26; Col. 1:13, 14; Rom. 8:14-17; Gal. 3:26; John 3:3-8; 1 Peter 1:23; Rom. 12:2; Heb. 8:7-12; Eze. 36:25-27; 2 Peter 1:3, 4; Rom. 8:1-4; 5:6-10."
},
{
id: 11,
title: "The Church",
category: "church",
summary: "The church is the community of believers who confess Jesus Christ as Lord and Saviour.",
fullText: "The church is the community of believers who confess Jesus Christ as Lord and Saviour. In continuity with the people of God in Old Testament times, we are called out from the world; and we join together for worship, for fellowship, for instruction in the Word, for the celebration of the Lord's Supper, for service to all mankind, and for the worldwide proclamation of the gospel. The church derives its authority from Christ, who is the incarnate Word, and from the Scriptures, which are the written Word. The church is God's family; adopted by Him as children, its members live on the basis of the new covenant. The church is the body of Christ, a community of faith of which Christ Himself is the Head. The church is the bride for whom Christ died that He might sanctify and cleanse her. At His return in triumph, He will present her to Himself a glorious church, the faithful of all the ages, the purchase of His blood, not having spot or wrinkle, but holy and without blemish.",
references: "Gen. 12:3; Acts 7:38; Eph. 4:11-15; 3:8-11; Matt. 28:19, 20; 16:13-20; 18:18; Eph. 2:19-22; 1:22, 23; 5:23-27; Col. 1:17, 18."
},
{
id: 12,
title: "The Remnant and Its Mission",
category: "church",
summary: "The universal church is composed of all who truly believe in Christ, but in the last days, a time of widespread apostasy, a remnant has been called out.",
fullText: "The universal church is composed of all who truly believe in Christ, but in the last days, a time of widespread apostasy, a remnant has been called out to keep the commandments of God and the faith of Jesus. This remnant announces the arrival of the judgment hour, proclaims salvation through Christ, and heralds the approach of His second advent. This proclamation is symbolized by the three angels of Revelation 14; it coincides with the work of judgment in heaven and results in a work of repentance and reform on earth. Every believer is called to have a personal part in this worldwide witness.",
references: "Rev. 12:17; 14:6-12; 18:1-4; 2 Cor. 5:10; Jude 3, 14; 1 Peter 1:16-19; 2 Peter 3:10-14; Rev. 21:1-14."
},
{
id: 13,
title: "Unity in the Body of Christ",
category: "church",
summary: "The church is one body with many members, called from every nation, kindred, tongue, and people.",
fullText: "The church is one body with many members, called from every nation, kindred, tongue, and people. In Christ we are a new creation; distinctions of race, culture, learning, and nationality, and differences between high and low, rich and poor, male and female, must not be divisive among us. We are all equal in Christ, who by one Spirit has bonded us into one fellowship with Him and with one another; we are to serve and be served without partiality or reservation. Through the revelation of Jesus Christ in the Scriptures we share the same faith and hope, and reach out in one witness to all. This unity has its source in the oneness of the triune God, who has adopted us as His children.",
references: "Rom. 12:4, 5; 1 Cor. 12:12-14; Matt. 28:19, 20; Ps. 133:1; 2 Cor. 5:16, 17; Acts 17:26, 27; Gal. 3:27, 29; Col. 3:10-15; Eph. 4:14-16; 4:1-6; John 17:20-23."
},
{
id: 14,
title: "Baptism",
category: "ordinances",
summary: "By baptism we confess our faith in the death and resurrection of Jesus Christ, and testify of our death to sin and of our purpose to walk in newness of life.",
fullText: "By baptism we confess our faith in the death and resurrection of Jesus Christ, and testify of our death to sin and of our purpose to walk in newness of life. Thus we acknowledge Christ as Lord and Saviour, become His people, and are received as members by His church. Baptism is a symbol of our union with Christ, the forgiveness of our sins, and our reception of the Holy Spirit. It is by immersion in water and is contingent on an affirmation of faith in Jesus and evidence of repentance of sin. It follows instruction in the Holy Scriptures and acceptance of their teachings.",
references: "Rom. 6:1-6; Col. 2:12, 13; Acts 16:30-33; 22:16; 2:38; Matt. 28:19, 20."
},
{
id: 15,
title: "The Lord's Supper",
category: "ordinances",
summary: "The Lord's Supper is a participation in the emblems of the body and blood of Jesus as an expression of faith in Him, our Lord and Saviour.",
fullText: "The Lord's Supper is a participation in the emblems of the body and blood of Jesus as an expression of faith in Him, our Lord and Saviour. In this experience of communion Christ is present to meet and strengthen His people. As we partake, we joyfully proclaim the Lord's death until He comes again. Preparation for the Supper includes self-examination, repentance, and confession. The Master ordained the service of foot washing to signify renewed cleansing, to express a willingness to serve one another in Christlike humility, and to unite our hearts in love. The communion service is open to all believing Christians.",
references: "1 Cor. 10:16, 17; 11:23-30; Matt. 26:17-30; Rev. 3:20; John 6:48-63; 13:1-17."
},
{
id: 16,
title: "Spiritual Gifts and Ministries",
category: "church",
summary: "God bestows upon all members of His church in every age spiritual gifts which each member is to employ in loving ministry for the common good of the church and of humanity.",
fullText: "God bestows upon all members of His church in every age spiritual gifts which each member is to employ in loving ministry for the common good of the church and of humanity. Given by the agency of the Holy Spirit, who apportions to each member as He wills, the gifts provide all abilities and ministries needed by the church to fulfill its divinely ordained functions. According to the Scriptures, these gifts include such ministries as faith, healing, prophecy, proclamation, teaching, administration, reconciliation, compassion, and self-sacrificing service and charity for the help and encouragement of people. Some members are called of God and endowed by the Spirit for functions recognized by the church in pastoral, evangelistic, apostolic, and teaching ministries particularly needed to equip the members for service, to build up the church to spiritual maturity, and to foster unity of the faith and knowledge of God. When members employ these spiritual gifts as faithful stewards of God's varied grace, the church is protected from the destructive influence of false doctrine, grows with a growth that is from God, and is built up in faith and love.",
references: "Rom. 12:4-8; 1 Cor. 12:9-11, 27, 28; Eph. 4:8, 11-16; Acts 6:1-7; 1 Tim. 3:1-13; 1 Peter 4:10, 11."
},
{
id: 17,
title: "The Gift of Prophecy",
category: "church",
summary: "One of the gifts of the Holy Spirit is prophecy. This gift is an identifying mark of the remnant church and was manifested in the ministry of Ellen G. White.",
fullText: "One of the gifts of the Holy Spirit is prophecy. This gift is an identifying mark of the remnant church and was manifested in the ministry of Ellen G. White. As the Lord's messenger, her writings are a continuing and authoritative source of truth which provide for the church comfort, guidance, instruction, and correction. They also make clear that the Bible is the standard by which all teaching and experience must be tested.",
references: "Joel 2:28, 29; Acts 2:14-21; Heb. 1:1-3; Rev. 12:17; 19:10."
},
{
id: 18,
title: "The Law of God",
category: "lifestyle",
summary: "The great principles of God's law are embodied in the Ten Commandments and exemplified in the life of Christ.",
fullText: "The great principles of God's law are embodied in the Ten Commandments and exemplified in the life of Christ. They express God's love, will, and purposes concerning human conduct and relationships and are binding upon all people in every age. These precepts are the basis of God's covenant with His people and the standard in God's judgment. Through the agency of the Holy Spirit they point out sin and awaken a sense of need for a Saviour. Salvation is all of grace and not of works, but its fruitage is obedience to the Commandments. This obedience develops Christian character and results in a sense of well-being. It is an evidence of our love for the Lord and our concern for our fellow men. The obedience of faith demonstrates the power of Christ to transform lives, and therefore strengthens Christian witness.",
references: "Ex. 20:1-17; Ps. 40:7, 8; Matt. 22:36-40; Deut. 28:1-14; Matt. 5:17-20; Heb. 8:8-10; John 15:7-10; Eph. 2:8-10; 1 John 5:3; Rom. 8:3, 4; Ps. 19:7-14."
},
{
id: 19,
title: "The Sabbath",
category: "lifestyle",
summary: "The beneficent Creator, after the six days of Creation, rested on the seventh day and instituted the Sabbath for all people as a memorial of Creation.",
fullText: "The beneficent Creator, after the six days of Creation, rested on the seventh day and instituted the Sabbath for all people as a memorial of Creation. The fourth commandment of God's unchangeable law requires the observance of this seventh-day Sabbath as the day of rest, worship, and ministry in harmony with the teaching and practice of Jesus, the Lord of the Sabbath. The Sabbath is a day of delightful communion with God and one another. It is a symbol of our redemption in Christ, a sign of our sanctification, a token of our allegiance, and a foretaste of our eternal future in God's kingdom. The Sabbath is God's perpetual sign of His eternal covenant between Him and His people. Joyful observance of this holy time from evening to evening, sunset to sunset, is a celebration of God's creative and redemptive acts.",
references: "Gen. 2:1-3; Ex. 20:8-11; Luke 4:16; Isa. 56:5, 6; 58:13, 14; Matt. 12:1-12; Ex. 31:13-17; Eze. 20:12, 20; Deut. 5:12-15; Heb. 4:1-11; Lev. 23:32; Mark 1:32."
},
{
id: 20,
title: "Stewardship",
category: "lifestyle",
summary: "We are God's stewards, entrusted by Him with time and opportunities, abilities and possessions, and the blessings of the earth and its resources.",
fullText: "We are God's stewards, entrusted by Him with time and opportunities, abilities and possessions, and the blessings of the earth and its resources. We are responsible to Him for their proper use. We acknowledge God's ownership by faithful service to Him and our fellow men, and by returning tithes and giving offerings for the proclamation of His gospel and the support and growth of His church. Stewardship is a privilege given to us by God for nurture in love and the victory over selfishness and covetousness. The steward rejoices in the blessings that come to others as a result of his faithfulness.",
references: "Gen. 1:26-28; 2:15; 1 Chron. 29:14; Haggai 1:3-11; Mal. 3:8-12; 1 Cor. 9:9-14; Matt. 23:23; 2 Cor. 8:1-15; Rom. 15:26, 27."
},
{
id: 21,
title: "Christian Behavior",
category: "lifestyle",
summary: "We are called to be a godly people who think, feel, and act in harmony with the principles of heaven.",
fullText: "We are called to be a godly people who think, feel, and act in harmony with the principles of heaven. For the Spirit to recreate in us the character of our Lord we involve ourselves only in those things which will produce Christlike purity, health, and joy in our lives. This means that our amusement and entertainment should meet the highest standards of Christian taste and beauty. While recognizing cultural differences, our dress is to be simple, modest, and neat, befitting those whose true beauty does not consist of outward adornment but in the imperishable ornament of a gentle and quiet spirit. It also means that because our bodies are the temples of the Holy Spirit, we are to care for them intelligently. Along with adequate exercise and rest, we are to adopt the most healthful diet possible and abstain from the unclean foods identified in the Scriptures. Since alcoholic beverages, tobacco, and the irresponsible use of drugs and narcotics are harmful to our bodies, we are to abstain from them as well. Instead, we are to engage in whatever brings our thoughts and bodies into the discipline of Christ, who desires our wholesomeness, joy, and goodness.",
references: "Rom. 12:1, 2; 1 John 2:6; Eph. 5:1-21; Phil. 4:8; 2 Cor. 10:5; 6:14-7:1; 1 Peter 3:1-4; 1 Cor. 6:19, 20; 10:31; Lev. 11:1-47; 3 John 2."
},
{
id: 22,
title: "Marriage and the Family",
category: "lifestyle",
summary: "Marriage was divinely established in Eden and affirmed by Jesus to be a lifelong union between a man and a woman in loving companionship.",
fullText: "Marriage was divinely established in Eden and affirmed by Jesus to be a lifelong union between a man and a woman in loving companionship. For the Christian a marriage commitment is to God as well as to the spouse, and should be entered into only between partners who share a common faith. Mutual love, honor, respect, and responsibility are the fabric of this relationship, which is to reflect the love, sanctity, closeness, and permanence of the relationship between Christ and His church. Regarding divorce, Jesus taught that the person who divorces a spouse, except for fornication, and marries another, commits adultery. Although some family relationships may fall short of the ideal, marriage partners who fully commit themselves to each other in Christ may achieve loving unity through the guidance of the Spirit and the nurture of the church. God blesses the family and intends that its members shall assist each other toward complete maturity. Parents are to bring up their children to love and obey the Lord. By their example and their words they are to teach them that Christ is a loving disciplinarian, ever tender and caring, who wants them to become members of His body, the family of God. Increasing family closeness is one of the earmarks of the final gospel message.",
references: "Gen. 2:18-25; Matt. 19:3-9; John 2:1-11; 2 Cor. 6:14; Eph. 5:21-33; Matt. 5:31, 32; Mark 10:11, 12; Luke 16:18; 1 Cor. 7:10, 11; Ex. 20:12; Eph. 6:1-4; Deut. 6:5-9; Prov. 22:6; Mal. 4:5, 6."
},
{
id: 23,
title: "Christ's Ministry in the Heavenly Sanctuary",
category: "eschatology",
summary: "There is a sanctuary in heaven, the true tabernacle which the Lord set up and not man. In it Christ ministers on our behalf.",
fullText: "There is a sanctuary in heaven, the true tabernacle which the Lord set up and not man. In it Christ ministers on our behalf, making available to believers the benefits of His atoning sacrifice offered once for all on the cross. He was inaugurated as our great High Priest and began His intercessory ministry at the time of His ascension. In 1844, at the end of the prophetic period of 2300 days, He entered the second and last phase of His atoning ministry. It is a work of investigative judgment which is part of the ultimate disposition of all sin, typified by the cleansing of the ancient Hebrew sanctuary on the Day of Atonement. In that typical service the sanctuary was cleansed with the blood of animal sacrifices, but the heavenly things are purified with the perfect sacrifice of the blood of Jesus. The investigative judgment reveals to heavenly intelligences who among the dead are asleep in Christ and therefore, in Him, are deemed worthy to have part in the first resurrection. It also makes manifest who among the living are abiding in Christ, keeping the commandments of God and the faith of Jesus, and in Him, therefore, are ready for translation into His everlasting kingdom. This judgment vindicates the justice of God in saving those who believe in Jesus. It declares that those who have remained loyal to God shall receive the kingdom. The completion of this ministry of Christ will mark the close of human probation before the Second Advent.",
references: "Heb. 8:1-5; 4:14-16; 9:11-28; 10:19-22; 1:3; 2:16, 17; Dan. 7:9-27; 8:13, 14; 9:24-27; Num. 14:34; Eze. 4:6; Lev. 16; Rev. 14:6, 7; 20:12; 14:12; 22:12."
},
{
id: 24,
title: "The Second Coming of Christ",
category: "eschatology",
summary: "The second coming of Christ is the blessed hope of the church, the grand climax of the gospel.",
fullText: "The second coming of Christ is the blessed hope of the church, the grand climax of the gospel. The Saviour's coming will be literal, personal, visible, and worldwide. When He returns, the righteous dead will be resurrected, and together with the righteous living will be glorified and taken to heaven, but the unrighteous will die. The almost complete fulfillment of most lines of prophecy, together with the present condition of the world, indicates that Christ's coming is imminent. The time of that event has not been revealed, and we are therefore exhorted to be ready at all times.",
references: "Titus 2:13; Heb. 9:28; John 14:1-3; Acts 1:9-11; Matt. 24:14; Rev. 1:7; Matt. 24:43, 44; 1 Thess. 4:13-18; 1 Cor. 15:51-54; 2 Thess. 1:7-10; 2:8; Rev. 14:14-20; 19:11-21; Matt. 24; Mark 13; Luke 21; 2 Tim. 3:1-5; 1 Thess. 5:1-6."
},
{
id: 25,
title: "Death and Resurrection",
category: "eschatology",
summary: "The wages of sin is death. But God, who alone is immortal, will grant eternal life to His redeemed.",
fullText: "The wages of sin is death. But God, who alone is immortal, will grant eternal life to His redeemed. Until that day death is an unconscious state for all people. When Christ, who is our life, appears, the resurrected righteous and the living righteous will be glorified and caught up to meet their Lord. The second resurrection, the resurrection of the unrighteous, will take place a thousand years later.",
references: "Rom. 6:23; 1 Tim. 6:15, 16; Eccl. 9:5, 6; Ps. 146:3, 4; John 11:11-14; Col. 3:4; 1 Cor. 15:51-54; 1 Thess. 4:13-17; John 5:28, 29; Rev. 20:1-10."
},
{
id: 26,
title: "The Millennium and the End of Sin",
category: "eschatology",
summary: "The millennium is the thousand-year reign of Christ with His saints in heaven between the first and second resurrections.",
fullText: "The millennium is the thousand-year reign of Christ with His saints in heaven between the first and second resurrections. During this time the wicked dead will be judged; the earth will be utterly desolate, without living human inhabitants, but occupied by Satan and his angels. At its close Christ with His saints and the Holy City will descend from heaven to earth. The unrighteous dead will then be resurrected, and with Satan and his angels will surround the city; but fire from God will consume them and cleanse the earth. The universe will thus be freed of sin and sinners forever.",
references: "Rev. 20; 1 Cor. 6:2, 3; Jer. 4:23-26; Rev. 21:1-5; Mal. 4:1; Eze. 28:18, 19."
},
{
id: 27,
title: "The New Earth",
category: "eschatology",
summary: "On the new earth, in which righteousness dwells, God will provide an eternal home for the redeemed and a perfect environment for everlasting life, love, joy, and learning in His presence.",
fullText: "On the new earth, in which righteousness dwells, God will provide an eternal home for the redeemed and a perfect environment for everlasting life, love, joy, and learning in His presence. For here God Himself will dwell with His people, and suffering and death will have passed away. The great controversy will be ended, and sin will be no more. All things, animate and inanimate, will declare that God is love; and He shall reign forever. Amen.",
references: "2 Peter 3:13; Isa. 35; 65:17-25; Matt. 5:5; Rev. 21:1-7; 22:1-5; 11:15."
}
]
return (
<>
<Helmet>
<title>Our Beliefs - Annaville Seventh-day Adventist Church</title>
<meta name="description" content="Explore the 27 Fundamental Beliefs of the Seventh-day Adventist Church. Learn about our foundational doctrines, salvation, church life, and end-time teachings." />
<meta name="keywords" content="Seventh-day Adventist beliefs, fundamental beliefs, SDA doctrine, Adventist theology, church beliefs" />
</Helmet>
{/* Hero Section */}
<section className="bg-gradient-to-br from-primary to-primaryDeep text-white py-20">
<div className="container">
<div className="max-w-4xl mx-auto text-center">
<h1 className="font-heading text-h1 mb-6">Our Beliefs</h1>
<p className="text-xl text-white/90 leading-relaxed">
The 27 Fundamental Beliefs of the Seventh-day Adventist Church form the foundation
of our faith and guide our understanding of God's Word and His plan for humanity.
</p>
</div>
</div>
</section>
{/* Beliefs Grid */}
<section className="section">
<div className="container">
<div className="max-w-6xl mx-auto">
<div className="grid gap-8">
{beliefs.map((belief) => (
<div key={belief.id} className="bg-white rounded-xl shadow-sm border border-subtle p-8">
<div className="flex items-start gap-6">
<div className="flex-shrink-0 w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
<span className="text-primary font-bold text-lg">{belief.id}</span>
</div>
<div className="flex-1">
<h3 className="font-heading text-h3 text-ink mb-4">{belief.title}</h3>
<p className="text-body text-muted leading-relaxed mb-6">
{belief.fullText}
</p>
<div className="bg-sand rounded-lg p-4">
<h4 className="font-semibold text-ink mb-2">Biblical References:</h4>
<p className="text-sm text-muted font-mono">{belief.references}</p>
</div>
</div>
</div>
</div>
))}
</div>
</div>
</div>
</section>
</>
)
}

View File

@ -31,26 +31,28 @@ export default function Calendar() {
return ( return (
<> <>
<SEOHead <SEOHead
title="Calendar - Annaville Seventh-day Adventist Church" title="Calendar - Annaville Seventh-day Adventist Church"
description="Church events and calendar" description="Church events and calendar"
/> />
<div className="max-w-4xl"> <section className="bg-gradient-to-br from-primary/15 via-sand/20 to-white py-20">
<h1 className="text-3xl font-bold text-blue-600 mb-6 flex items-center"> <div className="container">
Church Events <div className="max-w-4xl mx-auto text-center space-y-6">
<div className="ml-4 flex space-x-1"> <p className="text-xs uppercase tracking-[0.3em] text-primary font-semibold">
<div className="w-2 h-2 bg-blue-400"></div> Stay Connected
<div className="w-2 h-2 bg-blue-400"></div> </p>
<div className="w-2 h-2 bg-blue-400"></div> <h1 className="font-heading text-h1 text-ink">Church Events</h1>
<div className="w-2 h-2 bg-blue-400"></div> <p className="text-xl text-muted leading-relaxed">
<div className="w-2 h-2 bg-blue-400"></div> Join us for upcoming gatherings, worship services, and community activities.
</p>
</div> </div>
</h1> </div>
</section>
<h2 className="text-xl font-semibold text-red-600 mb-6">
Upcoming events: <section className="section">
</h2> <div className="container">
<div className="max-w-4xl mx-auto">
<div className="bg-gray-50 p-8 rounded-lg border border-gray-200"> <div className="bg-gray-50 p-8 rounded-lg border border-gray-200">
{loading && ( {loading && (
@ -79,7 +81,9 @@ export default function Calendar() {
</ul> </ul>
)} )}
</div> </div>
</div> </div>
</div>
</section>
</> </>
) )
} }

View File

@ -35,11 +35,14 @@ export default function Contact() {
</Helmet> </Helmet>
{/* Hero Section */} {/* Hero Section */}
<section className="relative bg-gradient-to-br from-sand to-surface py-24"> <section className="relative bg-gradient-to-br from-primary/15 via-sand/20 to-white py-24">
<div className="container"> <div className="container">
<div className="max-w-4xl mx-auto text-center"> <div className="max-w-4xl mx-auto text-center space-y-6">
<h1 className="font-heading text-h1 mb-8">Get in Touch</h1> <p className="text-xs uppercase tracking-[0.3em] text-primary font-semibold">
<p className="text-body text-lg mb-10"> We're Here to Help
</p>
<h1 className="font-heading text-h1 text-ink mb-8">Get in Touch</h1>
<p className="text-muted text-lg mb-10">
We'd love to hear from you! Whether you have questions, need prayer, We'd love to hear from you! Whether you have questions, need prayer,
or want to get involved, we're here to help. or want to get involved, we're here to help.
</p> </p>

View File

@ -39,11 +39,7 @@ function resolveImageUrl(value, fallback) {
} }
function getFallbackImage(event) { function getFallbackImage(event) {
const title = `${event?.title || ''}`.toLowerCase() return ''
if (title.includes('vespers')) return '/assets/youth_vespers.png'
if (title.includes('food') || title.includes('community')) return '/assets/family_entry.png'
if (title.includes('lunch') || title.includes('dinner') || title.includes('potluck')) return '/assets/potluck.png'
return '/assets/potluck.png'
} }
function formatDate(dateStr) { function formatDate(dateStr) {
@ -168,14 +164,16 @@ export default function EventDetail() {
</Link> </Link>
<div className="grid lg:grid-cols-[2fr,1fr] gap-10 items-start"> <div className="grid lg:grid-cols-[2fr,1fr] gap-10 items-start">
<article className="bg-white rounded-2xl shadow-level1 overflow-hidden"> <article className="bg-white rounded-2xl shadow-level1 overflow-hidden">
<div className="relative h-80 md:h-96 bg-sand"> {coverImage && (
<img <div className="relative h-80 md:h-96 bg-sand">
src={coverImage} <img
alt={`${event.title} hero image`} src={coverImage}
className="absolute inset-0 h-full w-full object-cover" alt={`${event.title} hero image`}
loading="lazy" className="absolute inset-0 h-full w-full object-cover"
/> loading="lazy"
</div> />
</div>
)}
<div className="p-10 space-y-6"> <div className="p-10 space-y-6">
<header className="space-y-3"> <header className="space-y-3">
<p className="text-xs uppercase tracking-[0.2em] text-muted"> <p className="text-xs uppercase tracking-[0.2em] text-muted">

View File

@ -9,24 +9,12 @@ export default function Resources() {
url: "https://www.adventist.org", url: "https://www.adventist.org",
icon: "🌐" icon: "🌐"
}, },
{
title: "General Conference",
description: "Official website of the Seventh-day Adventist Church",
url: "https://www.adventist.org",
icon: "⛪"
},
{ {
title: "SDA Yearbook", title: "SDA Yearbook",
description: "Comprehensive directory of Adventist institutions", description: "Comprehensive directory of Adventist institutions",
url: "https://www.adventistyearbook.org", url: "https://www.adventistyearbook.org",
icon: "📚" icon: "📚"
}, },
{
title: "Adventist Education Net",
description: "Educational resources and institutions",
url: "https://education.adventist.org",
icon: "🎓"
},
{ {
title: "Adventist Plusline", title: "Adventist Plusline",
description: "Professional development and networking", description: "Professional development and networking",
@ -39,57 +27,21 @@ export default function Resources() {
url: "https://whiteestate.org", url: "https://whiteestate.org",
icon: "✍️" icon: "✍️"
}, },
{
title: "TAGnet",
description: "Technology and communication resources",
url: "https://tagnet.org",
icon: "💻"
},
{
title: "Adventist Educational Institutions",
description: "Schools, colleges, and universities worldwide",
url: "https://education.adventist.org",
icon: "🏫"
},
{ {
title: "Fundamental Beliefs", title: "Fundamental Beliefs",
description: "28 Fundamental Beliefs of Seventh-day Adventists", description: "28 Fundamental Beliefs of Seventh-day Adventists",
url: "https://www.adventist.org/beliefs/", url: "https://www.adventist.org/beliefs/",
icon: "📖" icon: "📖"
}, },
{
title: "SDA Institutions Directory",
description: "Global directory of Adventist organizations",
url: "https://www.adventistdirectory.org",
icon: "🗺️"
},
{ {
title: "Churches Directory", title: "Churches Directory",
description: "Find Adventist churches near you", description: "Find Adventist churches near you",
url: "https://www.adventistdirectory.org", url: "https://www.adventistdirectory.org",
icon: "🏛️" icon: "🏛️"
},
{
title: "Open Directory Index",
description: "Comprehensive Adventist resource index",
url: "https://dmoz-odp.org/Society/Religion_and_Spirituality/Christianity/Denominations/Seventh-day_Adventist/",
icon: "📋"
},
{
title: "Yahoo Adventist Index",
description: "Curated Adventist resources and links",
url: "https://dir.yahoo.com/Society_and_Culture/Religion_and_Spirituality/Christianity/Denominations/Seventh_day_Adventist/",
icon: "🔍"
} }
] ]
const bibleStudyResources = [ const bibleStudyResources = [
{
title: "Discover Bible Guides",
description: "Interactive online Bible study courses",
url: "https://www.discoveronline.org",
icon: "🔍"
},
{ {
title: "Bible Information Online", title: "Bible Information Online",
description: "Comprehensive Bible study resources", description: "Comprehensive Bible study resources",
@ -119,12 +71,6 @@ export default function Resources() {
description: "Evangelistic resources and materials", description: "Evangelistic resources and materials",
url: "https://www.aims.org", url: "https://www.aims.org",
icon: "📢" icon: "📢"
},
{
title: "Daniel Prophecy Series",
description: "In-depth study of biblical prophecy",
url: "https://www.amazingfacts.org/media-library/prophecy",
icon: "🔮"
} }
] ]
@ -137,12 +83,15 @@ export default function Resources() {
</Helmet> </Helmet>
{/* Hero Section */} {/* Hero Section */}
<section className="bg-gradient-to-br from-primary to-primaryDeep text-white py-20"> <section className="bg-gradient-to-br from-primary/15 via-sand/20 to-white py-20">
<div className="container"> <div className="container">
<div className="max-w-4xl mx-auto text-center"> <div className="max-w-4xl mx-auto text-center space-y-6">
<h1 className="font-heading text-h1 mb-6">Adventist Resources</h1> <p className="text-xs uppercase tracking-[0.3em] text-primary font-semibold">
<p className="text-xl text-white/90 leading-relaxed"> Grow in Faith
Discover trusted resources, Bible study materials, and educational content </p>
<h1 className="font-heading text-h1 text-ink mb-6">Adventist Resources</h1>
<p className="text-xl text-muted leading-relaxed">
Discover trusted resources, Bible study materials, and educational content
from Seventh-day Adventist organizations worldwide. from Seventh-day Adventist organizations worldwide.
</p> </p>
</div> </div>

View File

@ -56,11 +56,14 @@ export default function Services() {
/> />
</Helmet> </Helmet>
<section className="bg-gradient-to-br from-primary to-primaryDeep text-white py-20"> <section className="bg-gradient-to-br from-primary/15 via-sand/20 to-white py-20">
<div className="container"> <div className="container">
<div className="max-w-4xl mx-auto text-center space-y-6"> <div className="max-w-4xl mx-auto text-center space-y-6">
<h1 className="font-heading text-h1">Worship Services</h1> <p className="text-xs uppercase tracking-[0.3em] text-primary font-semibold">
<p className="text-xl text-white/90 leading-relaxed"> Join Us for Worship
</p>
<h1 className="font-heading text-h1 text-ink">Worship Services</h1>
<p className="text-xl text-muted leading-relaxed">
Join us every Saturday for inspiring worship, meaningful Bible study, and warm fellowship. All are welcome to experience the love of Christ in our community. Join us every Saturday for inspiring worship, meaningful Bible study, and warm fellowship. All are welcome to experience the love of Christ in our community.
</p> </p>
</div> </div>