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

A change to our site #100

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
wedding.rampatra.com
travisandlindsey.com
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# todo:
- [ ] Replace the maps feature a more bland "Travel" section that includes a link to the venue on google maps + a list of nearby hotels
- [ ] Add images of us
- [ ] Add a countdown timer
- [ ] Edit our story
- [ ] Add a photo upload applet for guests to upload photos
- [ ] update RSVP to use our preferred style with a modal form that autocompletes their party and lets them rsvp for all events at once
- [ ] Change image to text that reads "Lindsey + Travis \n 2025" in nice cursive font that appears dynamically on the page (hard)

# Wedding Website
A beautiful, feature rich, device friendly wedding website.
_See [wedding.rampatra.com](http://wedding.rampatra.com/) for a demo. Use invite code `271117` to RSVP._
Expand Down Expand Up @@ -38,3 +47,5 @@ Firstly, a big thanks 🙏🏻 for the overwhelming response on [HackerNews](htt
<a href="https://www.buymeacoffee.com/rampatra" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>

_P.S. For any queries or concerns, you can reach out to me on [Twitter](https://twitter.com/ram__patra). I'll try my best to help._


Binary file modified android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion css/styles.min.css

Large diffs are not rendered by default.

Binary file modified favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed favicon-256x256.png
Binary file not shown.
Binary file modified favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed favicon-64x64.png
Binary file not shown.
Binary file modified favicon.ico
Binary file not shown.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 8 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var gulp = require('gulp');
var sass = require('gulp-sass')(require('sass'));
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
var watch = require('gulp-watch');

// compile scss to css
gulp.task('sass', function () {
Expand All @@ -27,4 +28,10 @@ gulp.task('minify-js', function () {
});

// default task
gulp.task('default', gulp.series('sass', 'minify-js'));
gulp.task('default', gulp.series('sass', 'minify-js'));


gulp.task('watch', function() {
gulp.watch('sass/**/*.scss', gulp.series('sass')); // Replace 'sass' with your task name
// Add more watchers for other tasks here
});
Binary file added img/AAD51071-05CF-4EA5-B521-FFC706DBE28C.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/eng_pics/IMG_3483-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/IMG_3483-sm.jpg
Binary file not shown.
Binary file removed img/eng_pics/NGP_4089-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/NGP_4089-sm.jpg
Binary file not shown.
Binary file removed img/eng_pics/NGP_4119-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/NGP_4119-sm.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX2942-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX2942-sm.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX2992-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX2992-sm.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX3064-lg.jpg
Binary file not shown.
Binary file removed img/eng_pics/_RFX3064-sm.jpg
Binary file not shown.
Binary file added img/lindsey_and_i.mp4
Binary file not shown.
Binary file added img/logo-lg-old.png
Binary file modified img/logo-lg.png
Binary file modified img/logo.png
Binary file added img/us_swoop.png
418 changes: 199 additions & 219 deletions index.html

Large diffs are not rendered by default.

42 changes: 33 additions & 9 deletions js/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,30 +184,30 @@ $(document).ready(function () {
},
data: {
// Event title
title: "Ram and Antara's Wedding",
title: "Travis & Lindsey's Wedding",

// Event start date
start: new Date('Nov 27, 2017 10:00'),
start: new Date('June 21, 2025 17:00'),

// Event duration (IN MINUTES)
// duration: 120,

// You can also choose to set an end time
// If an end time is set, this will take precedence over duration
end: new Date('Nov 29, 2017 00:00'),

end: new Date('June 21, 2025 22:00'),
// Event Address
address: 'ITC Fortune Park Hotel, Kolkata',
address: '8475 North CA-1, Little River, CA 95456',

// Event Description
description: "We can't wait to see you on our big day. For any queries or issues, please contact Mr. Amit Roy at +91 9876543210."
description: "We can't wait to see you on our big day. For any queries or issues, please contact Travis Barton at (408) 826-2999"
}
});

$('#add-to-cal').html(myCalendar);


/********************** RSVP **********************/
/* replace this with a zapier integration */
$('#rsvp-form').on('submit', function (e) {
e.preventDefault();
var data = $(this).serialize();
Expand Down Expand Up @@ -237,11 +237,13 @@ $(document).ready(function () {

});



/********************** Extras **********************/

// Google map
function initMap() {
var location = {lat: 22.5932759, lng: 88.27027720000001};
function initMap() { // 39.280920154628745, -123.79108663359153
var location = {lat: 39.280920154628745, lng: -123.79108663359153};
var map = new google.maps.Map(document.getElementById('map-canvas'), {
zoom: 15,
center: location,
Expand All @@ -254,8 +256,30 @@ function initMap() {
});
}

// JavaScript
// function initMaps() {
// // Create the wedding venue map
// var venueMap = new google.maps.Map(document.getElementById('venueMap'), {
// zoom: 10,
// center: {lat: -34.397, lng: 150.644} // Replace with the coordinates of the wedding venue
// });
//
// // Add a marker for the wedding venue
// new google.maps.Marker({
// position: {lat: -34.397, lng: 150.644}, // Replace with the coordinates of the wedding venue
// map: venueMap
// });
//
// // Create the recommended housing map
// var housingMap = new google.maps.Map(document.getElementById('housingMap'), {
// zoom: 10,
// center: {lat: -34.397, lng: 150.644} // Replace with the coordinates of the recommended housing
// });
// }
// Add markers for the recommended housing

function initBBSRMap() {
var la_fiesta = {lat: 20.305826, lng: 85.85480189999998};
var la_fiesta = {lat: 39.280920154628745, lng: -123.79108663359153};
var map = new google.maps.Map(document.getElementById('map-canvas'), {
zoom: 15,
center: la_fiesta,
Expand Down
2 changes: 1 addition & 1 deletion js/scripts.min.js

Large diffs are not rendered by default.

Loading