diff --git a/web/app/themes/solidarityknowsnoborders/assets/fonts/instrument-sans-v1-latin-regular.woff2 b/web/app/themes/solidarityknowsnoborders/assets/fonts/instrument-sans-v1-latin-regular.woff2 new file mode 100644 index 0000000..386a13e Binary files /dev/null and b/web/app/themes/solidarityknowsnoborders/assets/fonts/instrument-sans-v1-latin-regular.woff2 differ diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/arrow-left.svg b/web/app/themes/solidarityknowsnoborders/assets/img/arrow-left.svg new file mode 100644 index 0000000..ffbd036 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/arrow-left.svg @@ -0,0 +1,11 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/arrow-right.svg b/web/app/themes/solidarityknowsnoborders/assets/img/arrow-right.svg new file mode 100644 index 0000000..a6605e5 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/arrow-right.svg @@ -0,0 +1,9 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/background.svg b/web/app/themes/solidarityknowsnoborders/assets/img/background.svg new file mode 100644 index 0000000..496424c --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/background.svg @@ -0,0 +1,12 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/drop-down-icon.svg b/web/app/themes/solidarityknowsnoborders/assets/img/drop-down-icon.svg new file mode 100644 index 0000000..f5ad8e3 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/drop-down-icon.svg @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/menu-close.svg b/web/app/themes/solidarityknowsnoborders/assets/img/menu-close.svg new file mode 100644 index 0000000..334ba0d --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/menu-close.svg @@ -0,0 +1,8 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/menu-open.svg b/web/app/themes/solidarityknowsnoborders/assets/img/menu-open.svg new file mode 100644 index 0000000..c27503e --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/menu-open.svg @@ -0,0 +1,8 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/minus-icon.svg b/web/app/themes/solidarityknowsnoborders/assets/img/minus-icon.svg new file mode 100644 index 0000000..9a1fb37 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/minus-icon.svg @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/plus-icon.svg b/web/app/themes/solidarityknowsnoborders/assets/img/plus-icon.svg new file mode 100644 index 0000000..45c5b13 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/plus-icon.svg @@ -0,0 +1,8 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/search-icon.svg b/web/app/themes/solidarityknowsnoborders/assets/img/search-icon.svg new file mode 100644 index 0000000..7f5ec31 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/assets/img/search-icon.svg @@ -0,0 +1,8 @@ + diff --git a/web/app/themes/solidarityknowsnoborders/assets/img/sknb-logo.png b/web/app/themes/solidarityknowsnoborders/assets/img/sknb-logo.png new file mode 100644 index 0000000..ac1ed2c Binary files /dev/null and b/web/app/themes/solidarityknowsnoborders/assets/img/sknb-logo.png differ diff --git a/web/app/themes/solidarityknowsnoborders/functions.php b/web/app/themes/solidarityknowsnoborders/functions.php new file mode 100644 index 0000000..5a1bd45 --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/functions.php @@ -0,0 +1,23 @@ + __('Solidarity Knows No Borders', 'solidarity-knows-no-borders'), + ) + ); +}); diff --git a/web/app/themes/solidarityknowsnoborders/parts/footer.html b/web/app/themes/solidarityknowsnoborders/parts/footer.html new file mode 100644 index 0000000..7cb37bb --- /dev/null +++ b/web/app/themes/solidarityknowsnoborders/parts/footer.html @@ -0,0 +1,122 @@ + +
+ info@sknb.org +
+ + + +Privacy
+ + + ++ Accessibility +
+ + + +Copyright
+ + + ++ Identity: + Migrants in Culture +
+ + + ++ Site: + Common Knowledge + +
+ +The Fair Immigration Reform Movement (FIRM) unites a call for humane immigration and inclusion policies that can truly reflect our society’s democratic values, and that draws on a distinguished history in Britain of standing for the dignity and justice of all.
+ + + +The Charter emerged as a result of conversations with those who face the sharp end of current policies: with their family and friends, campaigners, politicians, journalists, case workers, volunteers, and many others who support everyone who has been affected by the increasingly careless and brutal immigration policies in Britain.
+ + + +The Charter emerged as a result of conversations with those who face the sharp end of current policies: with their family and friends, campaigners, politicians, journalists, case workers, volunteers, and many others who support everyone who has been affected by the increasingly careless and brutal immigration policies in Britain.
+ + + +Through these discussions, it became clear that a united effort is now required to achieve the transformative change that must take place, as well as a blueprint on exactly how to accomplish these changes through a concerted mobilisation.
+ + + +The FIRM Charter sets out these basic demands, as well as the core principles by which migrant communities, social justice campaigners, and progressive organisations will work together to realise.
+ + + + + + + +We have a number of experienced organisers who can help you to take action and grow the movement. We can link you with others, organise action planning sessions and much more!
+ + + + + + + + + +We have developed campaigning and organising resources for you to use. If you need t-shirts, banners, leaflets, badges and other resources.
+ + + + + + + + + +We have developed campaigning and organising resources for you to use. If you need t-shirts, banners, leaflets, badges and other resources.
+ + + + + + + + + +Highlighted
+ + + + + + + +09.08.2023
+ + + + + + + +09.08.2023
+ + + + + + + +09.08.2023
+ + + + + + + +Highlighted
+ + + + + + + +In order to create the world we want to win, we must build our power as a progressive movement for social justice that does not leave anyone behind.
+ + + + + + + + + ++ As a community, we organise and strategise, share resources to build + collective campaigns and actions. We show up in solidarity with each + other; for both short term and long term change. +
+ ++ Together we are strong! We work to deepen and expand grassroots + organising to share a platform with organisations, groups and + communities around the country, to plan and coordinate actions of + solidarity to reach more people. This is how we believe a powerful + migrant justice movement can be built. +
+ ++ The first version was made in the run up to a week of action in 2021 + where over 60 groups came together across the country to take action + against the hostile environment immigration system. +
+ ++ We welcome groups, organisations, individuals who share in our + commitment for migrant justice. You can join by signing up to the + Charter, contacting us, and joining regular organising meetings. If you + have an idea that you think the SKNB community could help facilitate let + us know. +
+ ++ In order to create the world we want to win, we must build our power as + a progressive movement for social justice that does not leave anyone + behind. +
+ +In order to create the world we want to win, we must build our power as a progressive movement for social justice that does not leave anyone behind.
+ + + + + + + + + + + + +This workbook was originally created as a resource for the Solidarity Knows No Borders Community of Resistance, which is fighting for migrant justice and dignity for all.
The first version was made in the run up to a week of action in 2021 where over 60 groups came together across the country to take action against the hostile environment immigration system.
In order to create the world we want to win, we must build our power as a progressive movement for social justice that does not leave anyone behind.
This toolkit is for you to use, adapt and share with your community. In the spirit of learning together, we recognise that this is not a definitive guide.
We have learned from organisers of the past and continue to learn from comrades, friends and organisers today.
You will find a list of some SKNB members at the back of this guide.
+ info@sknb.org +
+ + + +Privacy
+ + + ++ Accessibility +
+ + + +Copyright
+ + + ++ Identity: + Migrants in Culture +
+ + + ++ Site: + Common Knowledge + +
+ ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
++ +
+ + ++ = $count->publish ?> resources
+ + + calculateDistance($to); + return $distance; +} + + + +Block::make(__('Map display block')) + ->add_fields(array( + // This dummy field just displays the name of the block in the block editor + Field::make('separator', 'crb_separator', __('Map')), + + )) + ->set_render_callback(function ($fields, $attributes, $inner_blocks) { + + + + // Get the ?search= parameter from the URL + // The "?? null" part prevents a PHP error if the parameter is missing + $search_param = $_GET['search'] ?? null; + + // Initialise the search results coordinates to null, in case the location is not found + $results_coordinates = null; + + // If a search parameter is required, use the Mapbox Geocode API to find the coordinates + if ($search_param) { + // Build the URL for the Geocode API query + // The optional parameter "?country=gb" is provided to restrict results to the UK + // The access token is retrieved from an environment variable using the env() function + $geocode_data_url = ('https://api.mapbox.com/geocoding/v5/mapbox.places/' . $search_param . '.json' . + '?country=gb&access_token=' . env('MAPBOX_ACCESS_TOKEN') + ); + + // Get the data from the URL + $geocode_data = file_get_contents($geocode_data_url); + + // Parse the JSON response (a string) into an object + $results = json_decode($geocode_data); + $has_results = count($results->features) > 0; + if ($has_results) { + $results_coordinates = $results->features[0]->geometry->coordinates; + } + } + + // Make a query to find all Location posts + $query = new WP_Query([ + 'post_type' => 'mapster-wp-location', + ]); + + // Create an array to store the Location data + // We are going to iterate through the Location posts to get the data we need, + // then store them in this array + $locations = []; + + // For each Location $post, get the data we need + foreach ($query->posts as $post) { + // Standard WordPress fields + $name = get_the_title($post); + + // Carbon fields + $address = carbon_get_post_meta($post->ID, 'address'); + $city = carbon_get_post_meta($post->ID, 'city'); + $twitter = carbon_get_post_meta($post->ID, 'twitter'); + $website = carbon_get_post_meta($post->ID, 'website'); + $instagram = carbon_get_post_meta($post->ID, 'instagram'); + $facebook = carbon_get_post_meta($post->ID, 'facebook'); + $image_id = carbon_get_post_meta($post->ID, 'org_image'); + + + // Get the image details using WordPress functions + $image_url = wp_get_attachment_image_src($image_id, 'thumbnail'); + $image_alt = carbon_get_post_meta($post->ID, 'alt_text'); + + // Metadata managed by the Mapster plugin + $feature_collection = get_post_meta($post->ID, 'location', true); + + // Parse the JSON features stored by Mapster into an object + // so we can get the coordinates of the location + $parsed_feature_collection = json_decode($feature_collection); + + // Get the coordinates. It is possible to create a Location with no coordinates, + // so this if statement handles that + if ($parsed_feature_collection->features) { + $coordinates = $parsed_feature_collection->features[0]->geometry->coordinates; + } else { + $coordinates = null; + } + + // Calculate the distance between the Location and the search location + if ($coordinates && $results_coordinates) { + $distance = calculate_distance($coordinates, $results_coordinates); + // Convert metres to miles + $distance_miles = $distance->getValue() * 0.00062137; + } else { + $distance_miles = null; + } + + // Create an array to store all the data for the Location + $location_data = [ + "name" => $name, + "coordinates" => $coordinates, + "distance_miles" => $distance_miles, + "address" => $address, + "city" => $city, + "website" => $website, + "instagram" => $instagram, + "facebook" => $facebook, + "image_url" => $image_url, + "image_alt" => $image_alt, + "twitter" => $twitter, + + ]; + + // Add this Location to the list so we can use it later + $locations[] = $location_data; + } + $locations = array_filter($locations, function ($location) { + return $location['distance_miles'] <= 20; + }); + + usort($locations, function ($l1, $l2) { + if ($l1['distance_miles'] < $l2['distance_miles']) { + return -1; + } else { + return 1; + } + }); + + + ?> +Sorry, we can't find any organisations at that location.
+ + + + + ++ We work to deepen and expand grassroots organising to share a platform + with organisations, groups and communities around the country, to plan + and coordinate actions of solidarity. +
+ ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
+ ++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ Highlighted +
+ + + + + + + ++ In order to create the world we want to win, we must build our power as + a progressive movement for social justice that does not leave anyone + behind. +
+ + + + + + + + + ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
+ ++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to end + hostility and racism against migrants and refugees. Together we are + demanding dignity and justice for all. +
+ + + + + + + + + ++ The solidarity movement emerged in response to the current unjust + immigration system and unites us in our call for a new system based on + Dignity, Justice, Solidarity and Welcome as set out in the + Fair Immigration Movement (FIRM) Charter. +
+ + + + + ++ As a community, we organise and strategise, share resources to build + collective campaigns and actions. We show up in solidarity with each + other; for both short term and long term change. +
+ ++ Together we are strong! We work to deepen and expand grassroots + organising to share a platform with organisations, groups and + communities around the country, to plan and coordinate actions of + solidarity to reach more people. This is how we believe a powerful + migrant justice movement can be built. +
+ ++ The first version was made in the run up to a week of action in 2021 + where over 60 groups came together across the country to take action + against the hostile environment immigration system. +
+ ++ We welcome groups, organisations, individuals who share in our + commitment for migrant justice. You can join by signing up to the + Charter, contacting us, and joining regular organising meetings. If you + have an idea that you think the SKNB community could help facilitate let + us know. +
+ ++ In order to create the world we want to win, we must build our power as + a progressive movement for social justice that does not leave anyone + behind. +
+ ++ The Fair Immigration Reform Movement (FIRM) unites a call for humane + immigration and inclusion policies that can truly reflect our society’s + democratic values, and that draws on a distinguished history in Britain + of standing for the dignity and justice of all. +
+ + + ++ The Charter emerged as a result of conversations with those who face the + sharp end of current policies: with their family and friends, + campaigners, politicians, journalists, case workers, volunteers, and + many others who support everyone who has been affected by the + increasingly careless and brutal immigration policies in Britain. +
+ + + ++ The Charter emerged as a result of conversations with those who face the + sharp end of current policies: with their family and friends, + campaigners, politicians, journalists, case workers, volunteers, and + many others who support everyone who has been affected by the + increasingly careless and brutal immigration policies in Britain. +
+ + + ++ Through these discussions, it became clear that a united effort is now + required to achieve the transformative change that must take place, as + well as a blueprint on exactly how to accomplish these changes through a + concerted mobilisation. +
+ + + ++ The FIRM Charter sets out these basic demands, as well as the core + principles by which migrant communities, social justice campaigners, and + progressive organisations will work together to realise. +
+ + + + + + + ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
+ ++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We work to deepen and expand grassroots organising to share a platform + with organisations, groups and communities around the country, to plan and + coordinate actions of solidarity. +
+ + + + + ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
+ ++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ Solidarity Knows No Borders (SKNB) is a community of migrant + organisations, groups and individuals, working in solidarity, to + end hostility and racism against migrants and refugees. +
+ ++ We have a number of experienced organisers who can help you to + take action and grow the movement. We can link you with others, + organise action planning sessions and much more! +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We have developed campaigning and organising resources for you to + use. If you need t-shirts, banners, leaflets, badges and other + resources. +
+ ++ We show up in solidarity with each other; recognising that though we are + involved in different campaigns and different struggles, we are working + towards the same goal: freedom, justice and dignity for all. +
+ ++ Highlighted +
+ + + + + + + ++ In order to create the world we want to win, we must build our power as + a progressive movement for social justice that does not leave anyone + behind. +
+ + + + + + + + + ++ We have a number of experienced organisers who can help you to take + action and grow the movement. We can link you with others, organise + action planning sessions and much more! +
+ + + + + + + + + ++ We have developed campaigning and organising resources for you to use. + If you need t-shirts, banners, leaflets, badges and other resources. +
+ + + + + + + + + ++ We have developed campaigning and organising resources for you to use. + If you need t-shirts, banners, leaflets, badges and other resources. +
+ + + + + + + + + +-
- - - - - -- WordPress' - ) - ?> -
- -- -
- - - diff --git a/web/app/themes/twentytwentythree/patterns/post-meta.php b/web/app/themes/twentytwentythree/patterns/post-meta.php deleted file mode 100644 index ccc1f98..0000000 --- a/web/app/themes/twentytwentythree/patterns/post-meta.php +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - -- -
- - - - - -- -
- - - -- -
- - - -- -
- - - -