diff --git a/public/wp-content/themes/glific-new-2023/Gruntfile.js b/public/wp-content/themes/glific-new-2023/Gruntfile.js new file mode 100644 index 0000000..3f2e9b4 --- /dev/null +++ b/public/wp-content/themes/glific-new-2023/Gruntfile.js @@ -0,0 +1,66 @@ +module.exports = function (grunt) { + + grunt.initConfig({ + + pkg: grunt.file.readJSON('package.json'), + + uglify: { + options: { + banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' + }, + build: { + src: 'src/js/*.js', + dest: 'main.js' + } + }, + + sass: { + dist: { + options: { + style: 'compressed', + sourcemap: 'none', + }, + files: { + 'style.css': 'src/scss/style.scss', + } + } + }, + + uncss: { + dist: { + options: { + stylesheets : [ 'style.css' ], + ignoreSheets : [/fonts.googleapis/], + urls : [], + }, + files: { + 'style.css': ['**/*.php'] + } + } + }, + + watch: { + scripts: { + files: [ + 'src/js/*.js', + 'src/scss/*/*.scss', + 'src/scss/*.scss', + ], + tasks: ['default'], + options: { + spawn: false, + } + } + } + + }); + + grunt.loadNpmTasks('grunt-contrib'); + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-sass'); + grunt.loadNpmTasks('grunt-uncss'); + + grunt.registerTask('default', ['sass', 'uglify']); + // grunt.registerTask('default', ['sass', 'uncss:dist', 'uglify']); + +}; \ No newline at end of file diff --git a/public/wp-content/themes/glific-new-2023/archive-newsletter.php b/public/wp-content/themes/glific-new-2023/archive-newsletter.php new file mode 100644 index 0000000..a2d09b9 --- /dev/null +++ b/public/wp-content/themes/glific-new-2023/archive-newsletter.php @@ -0,0 +1,68 @@ + + +
+ +
++ +
+